joyce8/EMBER2024-capa huggingface dataset:
Function at 0x34315802
Capabilities:
Get disk information

Disassembly:
sub esp, 0xc
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x14]
push 4
push eax
call dword [sym.imp.MSVCR90.dll_wcsncpy_s]
add esp, 0x10
lea ecx, [esp + 0xc]
push ecx
call sub.KERNEL32.dll_GetDriveTypeW
xor ebx, ebx
cmp eax, 4
push esi
setne bl
call fcn.341f2ad9
add esp, 4
cmp eax, 3
mov eax, ebx
jb 0x34315869
add esi, 6
mov dword [edi], esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.341f1dd1
add esp, 0xc
ret 8
mov ecx, dword [esp + 0x14]
mov dword [edi], 0
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.341f1dd1
add esp, 0xc
ret 8
Function at 0x34315fdc
Capabilities:
Get hostname

Disassembly:
sub esp, 0x48c
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x488], eax
mov eax, dword [esp + 0x494]
push ebx
mov ebx, dword [esp + 0x4a4]
push ebp
mov ebp, dword [esp + 0x498]
push esi
mov esi, dword [esp + 0x4a8]
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
xor edi, edi
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], 0x32
call sub.KERNEL32.dll_GetComputerNameW
cmp dword [esi], edi
jne 0x3431606a
push 0x1000
call sub.MSO.dll_Ordinal_1880
mov dword [esi], eax
cmp eax, edi
jne 0x3431604c
xor eax, eax
jmp 0x34316140
call fcn.34311461
push ebx
cmp ax, 1
jne 0x34316062
mov eax, dword [esi]
push eax
call fcn.34315a63
jmp 0x3431606a
mov ecx, dword [esi]
push ecx
call fcn.34315edc
cmp eax, edi
je 0x3431613c
cmp dword [esi], edi
je 0x3431613c
cmp dword [ebx], edi
jbe 0x3431613c
mov eax, dword [esi]
mov ecx, dword [eax + edi*4]
push 0x105
lea edx, [esp + 0x290]
push edx
add ecx, 0x209
push ecx
call fcn.34397515
test eax, eax
je 0x34316045
mov eax, dword [esi]
mov ecx, dword [eax + edi*4]
push 0x105
lea edx, [esp + 0x84]
push edx
push ecx
call fcn.34397515
test eax, eax
je 0x34316045
push 1
push ebp
lea edx, [esp + 0x294]
push edx
call fcn.343116ef
test eax, eax
je 0x343160db
inc edi
cmp edi, dword [ebx]
jae 0x3431613c
jmp 0x34316082
lea eax, [esp + 0x80]
push eax
call fcn.341f2ad9
lea ecx, [esp + 0x20]
push ecx
mov esi, eax
call fcn.341f2ad9
lea edx, [esi + eax + 3]
mov esi, dword [esp + 0x4b0]
add esp, 8
cmp edx, esi
ja 0x3431613c
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0x3431615c
push 0xffffffffffffffff
push esi
push edi
call dword [sym.imp.MSVCR90.dll__snwprintf_s]
add esp, 0x18
test esi, esi
je 0x34316134
xor edx, edx
mov word [edi + esi*2 - 2], dx
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x498]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.341f1dd1
add esp, 0x48c
ret 0x14
Function at 0x34316647
Capabilities:
Get hostname

Disassembly:
sub esp, 0x6ec
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x6e8], eax
mov eax, dword [esp + 0x6f4]
push ebp
mov ebp, dword [esp + 0x6f4]
push ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x32
call fcn.3431183a
test eax, eax
jne 0x34316698
pop ebp
mov ecx, dword [esp + 0x6e8]
xor ecx, esp
call fcn.341f1dd1
add esp, 0x6ec
ret 0xc
push ebx
push esi
push edi
lea edi, [ebp + 4]
push 0x5c
push edi
call dword [sym.imp.MSVCR90.dll_wcschr]
mov ebx, dword [sym.imp.MSVCR90.dll_wcsncpy_s]
mov esi, eax
add esp, 8
test esi, esi
je 0x343166d2
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x20]
xor ecx, ecx
push 0x32
push edx
mov word [esi], cx
call ebx
mov eax, 0x5c
add esp, 0x10
mov word [esi], ax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x80]
push edx
call sub.KERNEL32.dll_GetComputerNameW
test eax, eax
je 0x34316710
lea eax, [esp + 0x18]
push eax
call fcn.341f2ad9
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.341fa318
add esp, 0x10
test eax, eax
jne 0x34316821
mov esi, dword [sym.imp.MSVCR90.dll_wcschr]
push 0x5c
push edi
call esi
add esp, 8
test eax, eax
je 0x34316818
add eax, 2
push 0x5c
push eax
call esi
add esp, 8
mov esi, eax
push 0xffffffffffffffff
test esi, esi
je 0x34316770
lea ecx, [esi + 2]
push ecx
lea edx, [esp + 0x4f8]
xor eax, eax
push 0x104
push edx
mov word [esi], ax
call ebx
push 0xffffffffffffffff
push ebp
lea eax, [esp + 0x300]
push 0x104
push eax
call ebx
mov ecx, 0x5c
add esp, 0x20
mov word [esi], cx
jmp 0x3431678d
push ebp
lea edx, [esp + 0x2f0]
push 0x104
push edx
call ebx
add esp, 0x10
xor eax, eax
mov word [esp + 0x4f0], ax
push 0x104
lea ecx, [esp + 0xe4]
push ecx
lea edx, [esp + 0x2f0]
push edx
call fcn.343165cf
test eax, eax
je 0x3431680d
lea eax, [esp + 0xe0]
push eax
call fcn.343114da
test eax, eax
je 0x3431680d
push 0x104
lea ecx, [esp + 0xe4]
push ecx
call fcn.34311520
mov esi, dword [esp + 0x708]
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x4f0]
push edx
lea eax, [esp + 0xe4]
push eax
push 0x342d97c0
push 0xffffffffffffffff
push esi
push edi
call dword [sym.imp.MSVCR90.dll__snwprintf_s]
add esp, 0x18
test esi, esi
je 0x34316806
xor ecx, ecx
mov word [edi + esi*2 - 2], cx
mov eax, 1
jmp 0x34316823
mov eax, dword [esp + 0x10]
xor edx, edx
mov word [eax], dx
jmp 0x34316821
mov edx, dword [esp + 0x10]
xor ecx, ecx
mov word [edx], cx
xor eax, eax
mov ecx, dword [esp + 0x6f8]
pop edi
pop esi
pop ebx
pop ebp
xor ecx, esp
call fcn.341f1dd1
add esp, 0x6ec
ret 0xc
Function at 0x3431afab
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
lea ecx, [edx + 0x10]
push edi
mov dword [esi], 0
mov eax, edx
cmp edx, ecx
jae 0x3431afd1
mov edi, dword [eax]
xor dword [esi], edi
add eax, 4
cmp eax, ecx
jb 0x3431afc6
mov ebx, dword [edx]
mov ebp, dword [esp + 0x18]
or ebx, 1
xor edi, edi
mov eax, dword [esp + 0x14]
push esi
push ebp
push eax
call fcn.34319597
test eax, eax
jne 0x3431b003
add dword [esi], ebx
inc edi
cmp edi, 0x7fffffff
jl 0x3431afdc
pop edi
pop esi
pop ebp
mov eax, 0xffffb1bc
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x34320fd8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x343a3570
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
xor ebx, ebx
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x34]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x5c]
mov dword [esp + 0x18], ebx
mov byte [esi + 0x50], bl
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x7c]
mov byte [esp + 0x18], 1
mov byte [esi + 0x78], bl
call fcn.341f1990
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x343218f5
Capabilities:
Identify system language via api

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, ebx
call edx
mov eax, dword [eax + 0xc]
push eax
call fcn.34207a59
lea edi, [esi + 0x40]
push edi
mov ebp, eax
call fcn.341fcf7f
mov eax, dword [esi + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov eax, dword [esi + 0x38]
push 0x3431ec49
push 2
push 0
push ebx
push edx
push eax
call fcn.342127fb
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
push edi
push ecx
push edx
push ebp
call fcn.3427a5ec
mov dword [esp + 0x28], eax
test eax, eax
jne 0x34321ad3
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c], ecx
mov ecx, eax
mov dword [esp + 0x18], edx
mov edx, dword [edi + 0x10]
and ecx, 0x7fff
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
cmp ecx, 1
je 0x34321a0f
mov eax, dword [esi + 4]
cmp eax, 2
jne 0x343219ca
push eax
call fcn.343559b2
movzx edx, ax
push edx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push edi
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.3439841b
test eax, eax
jge 0x34321a0b
push 0
push eax
call fcn.343558aa
pop edi
pop esi
pop ebp
movzx eax, ax
pop ebx
add esp, 0x14
ret 0xc
push eax
call fcn.3424f8a0
movzx edx, al
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x7fff
cmp edx, ecx
je 0x34321a0f
mov edx, dword [esi + 4]
push edx
call fcn.3424f8a0
movzx ax, al
movzx ecx, ax
push ecx
lea edx, [esp + 0x14]
push edx
push ebp
call fcn.34397ccb
mov dword [esp + 0x28], eax
test eax, eax
jne 0x34321ad3
mov eax, dword [esp + 0x10]
cmp dword [esi + 4], 1
jne 0x34321a43
and eax, 0x7fff
cmp eax, 1
je 0x34321a43
cmp word [esp + 0x1c], 0
je 0x34321a43
mov edi, dword [esp + 0x2c]
push 0
mov ecx, edi
call fcn.3431f3dd
mov ebx, dword [esp + 0x30]
mov byte [eax], 0xff
mov dword [ebx], 1
jmp 0x34321a6f
mov edi, dword [esp + 0x2c]
mov eax, dword [edi + 0x10]
sub eax, dword [edi + 0xc]
jne 0x34321a55
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x30]
mov ecx, dword [edi + 0xc]
mov edx, dword [esi + 4]
push 0
push ebx
push ecx
push edx
lea eax, [esp + 0x20]
push eax
push ebp
call fcn.3427a1c2
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov eax, dword [ebx]
cmp eax, ecx
jbe 0x34321ab7
push 0
push eax
mov ecx, edi
call fcn.342ed07a
mov edx, dword [edi + 0x10]
sub edx, dword [edi + 0xc]
jne 0x34321a93
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 4]
push 1
push ebx
push eax
push ecx
lea edx, [esp + 0x20]
push edx
push ebp
call fcn.3427a1c2
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
mov eax, dword [esp + 0x10]
and eax, 0x7fff
cmp eax, 8
jne 0x34321acf
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.3424e81d
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x34329b5e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x198
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
mov esi, dword [ecx + 4]
push edi
push 0
push 0x6b39dac7
lea ecx, [esp + 0x90]
call fcn.341f6350
add esi, 0x18
mov ecx, 0x20
lea edi, [esp + 8]
push 0x80
lea eax, [esp + 0xc]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x90]
call fcn.341f64e1
fld qword [esp + 0x62]
call fcn.341f64c1
mov edx, 4
lea ecx, [esp + 0x32]
xor dword [ecx], eax
add edx, 4
add ecx, 4
cmp edx, 0x28
jle 0x34329bc6
mov ecx, dword [esp + 0x19c]
xor eax, eax
cmp word [esp + 0x32], ax
pop edi
setne al
pop esi
xor ecx, esp
call fcn.341f1dd1
mov esp, ebp
pop ebp
ret 4

Function at 0x34329bf3
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x220
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x21c], eax
cmp dword [esp + 0x228], 0x28
push ebp
mov eax, ecx
mov ecx, dword [esp + 0x230]
mov ebp, dword [eax + 4]
push edi
mov edi, dword [esp + 0x22c]
jae 0x34329c37
push 1
push 0xfffffbe9
call fcn.341f8dac
jmp 0x34329cd4
push ebx
push esi
push 0
push 0x6b39dac7
lea ecx, [esp + 0x1c]
call fcn.341f6350
push 0
push 0x6b39dac7
lea ecx, [esp + 0x128]
call fcn.341f6350
lea eax, [ebp + 0x18]
push 0x80
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.341f64e1
fld qword [ebp + 0x72]
lea ebx, [ebp + 0x42]
call fcn.341f64c1
mov edx, 4
mov ecx, ebx
sub edx, ebx
xor dword [ecx], eax
add ecx, 4
lea esi, [edx + ecx]
cmp esi, 0x28
jle 0x34329c86
mov ecx, 0xa
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
fld qword [ebp + 0x72]
call fcn.341f64c1
mov edx, 4
mov ecx, ebx
sub edx, ebx
lea ebx, [ebx]
xor dword [ecx], eax
add ecx, 4
lea esi, [edx + ecx]
cmp esi, 0x28
jle 0x34329caf
mov eax, dword [esp + 0x10]
push 0x80
push eax
lea ecx, [esp + 0x128]
call fcn.341f64e1
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
pop edi
pop ebp
xor ecx, esp
call fcn.341f1dd1
add esp, 0x220
ret 0xc
Function at 0x3432a000
Capabilities:
Check for time delay via gettickcount
Encode data using xor

Disassembly:
sub esp, 0x230
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x23c]
mov edx, dword [esp + 0x244]
push ebx
push ebp
mov ebp, dword [ecx + 4]
push esi
mov esi, dword [esp + 0x244]
push 0
mov dword [esp + 0x10], ecx
push 0x6b39dac7
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
call fcn.341f6350
push 0
push 0x6b39dac7
lea ecx, [esp + 0x134]
call fcn.341f6350
lea eax, [ebp + 0x18]
push 0x80
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], eax
call fcn.341f64e1
fld qword [ebp + 0x72]
lea ebx, [ebp + 0x42]
call fcn.341f64c1
mov edx, 4
mov ecx, ebx
sub edx, ebx
push edi
lea esp, [esp]
xor dword [ecx], eax
add ecx, 4
lea edi, [edx + ecx]
cmp edi, 0x28
jle 0x3432a08c
cmp dword [esp + 0x250], 0
je 0x3432a0d1
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0
call fcn.34218f23
mov eax, dword [esp + 0x18]
test eax, eax
je 0x3432a100
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x3432a10e
cmp word [ebp + 0x299], 0
jne 0x3432a0fc
mov ecx, ebx
mov eax, 0x28
sub ecx, esi
mov edx, dword [ecx + esi]
cmp edx, dword [esi]
jne 0x3432a0fc
sub eax, 4
add esi, 4
cmp eax, 4
jae 0x3432a0e4
mov edi, dword [esp + 0x14]
jmp 0x3432a10e
mov edi, dword [esp + 0x14]
push 1
push 0xfffff88f
mov ecx, edi
call fcn.341f8dac
test byte [edi], 8
jne 0x3432a1c7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x3432a17a
mov ecx, dword [esp + 0x10]
push edi
push eax
call fcn.34329e93
test byte [edi], 8
jne 0x3432a1c7
call fcn.341f37b8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
or eax, 0xa0a00000
mov dword [ebp + 0x3e], eax
call fcn.341f37b8
call esi
movzx eax, al
movzx eax, al
imul eax, eax, 0x1010101
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
jmp 0x3432a1c7
mov eax, dword [esp + 0x244]
mov ecx, 0xa
mov esi, eax
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp word [eax], 0
jne 0x3432a1c7
cmp dword [esp + 0x250], 0
je 0x3432a1c7
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x3e], 0
mov eax, dword [edx + 4]
xor ecx, ecx
push 0x800
mov word [eax + 0x299], cx
push ecx
add eax, 0x29b
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
fld qword [ebp + 0x72]
call fcn.341f64c1
mov ecx, 4
sub ecx, ebx
pop edi
xor dword [ebx], eax
add ebx, 4
lea edx, [ecx + ebx]
cmp edx, 0x28
jle 0x3432a1d7
mov eax, dword [esp + 0x1c]
push 0x80
push eax
lea ecx, [esp + 0x134]
call fcn.341f64e1
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.341f1dd1
add esp, 0x230
ret 0x14
Function at 0x3432c2b8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x34234fcc]
xor eax, esp
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x74]
xor eax, eax
push esi
xor esi, esi
push edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
cmp ecx, esi
jne 0x3432c32d
pop edi
pop esi
mov eax, 0xfffffc15
pop ebp
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.341f1dd1
add esp, 0x6c
ret 0xc
lea eax, [esp + 0x20]
push eax
push ebp
mov dword [ecx], 1
call fcn.3432c117
test eax, eax
je 0x3432c314
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.3432c117
test eax, eax
je 0x3432c314
push ebx
mov eax, ebp
jmp 0x3432c358
mov ebp, ecx
cmp esi, 0xc
jae 0x3432c3e7
mov ebx, dword [esp + esi + 0x24]
push 0x1a
mov ecx, eax
lea edx, [esp + 0x48]
push edx
sub ecx, ebp
sar ecx, 1
mov edx, ebx
sub edx, ecx
push edx
push eax
call dword [sym.imp.MSO.dll_Ordinal_1395]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
call dword [sym.imp.MSO.dll_Ordinal_800]
mov ebp, dword [esp + esi + 0x34]
mov eax, edi
sub eax, dword [esp + 0x10]
push 0x1a
lea edx, [esp + 0x48]
sar eax, 1
push edx
mov ecx, ebp
sub ecx, eax
push ecx
push edi
call dword [sym.imp.MSO.dll_Ordinal_1395]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.MSO.dll_Ordinal_800]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp eax, ecx
ja 0x3432c3f1
jb 0x3432c408
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
add esi, 4
lea eax, [ecx + ebx*2 + 2]
lea edi, [edx + ebp*2 + 2]
cmp esi, 0xc
jb 0x3432c356
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
mov ecx, dword [esp + 0x78]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.341f1dd1
add esp, 0x6c
ret 0xc
mov eax, dword [esp + 0x14]
mov dword [eax], 0
jmp 0x3432c3f1

Function at 0x3432f2c9
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebx
push 9
push ebp
mov esi, ecx
mov edi, 1
call fcn.3432ed65
test byte [ebx], 4
jne 0x3432f309
mov ecx, dword [esi + 4]
neg eax
lea ecx, [ecx + ebp + 1]
sbb al, al
lea esp, [esp]
mov dl, byte [ecx + 8]
add ecx, 8
xor dl, al
add edi, 9
inc ecx
cmp dl, 8
ja 0x3432f2f8
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x3433086c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
or eax, 0xffffffff
push ebp
xor ebp, ebp
push esi
mov esi, ecx
mov ecx, 1
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x70], eax
mov dword [esi + 0x88], eax
mov dword [esi + 0xa0], eax
mov dword [esi + 0xa4], ecx
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], ecx
lea ebx, [eax + 0xd]
mov ecx, 5
lea eax, [esi + 0x3c]
push edi
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x64], 2
mov dword [esi + 0x68], ebp
mov dword [esi + 0x6c], ebp
mov dword [esi + 0x74], ebp
mov dword [esi + 0x78], 3
mov dword [esi + 0x7c], 4
mov dword [esi + 0x80], ebp
mov dword [esi + 0x84], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0x90], 5
mov dword [esi + 0x94], 6
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], ebp
mov dword [esi + 0xa8], 7
mov dword [esi + 0xac], 8
mov dword [esi + 0xb0], ebp
mov dword [esi + 0xb4], ebp
mov dword [esi + 0xc0], 9
mov dword [esi + 0xc4], 0xa
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
lea edi, [esi + 0xd4]
lea eax, [ecx - 1]
cdq
sub eax, edx
sar eax, 1
mov dword [edi], eax
mov eax, dword [esp + 0x10]
lea edx, [ebx - 1]
mov dword [edi - 4], ecx
mov dword [edi + 4], edx
mov dword [edi + 8], ebx
mov eax, dword [eax]
mov dword [edi + 0xc], eax
cmp dword [eax + 0x8c], ebp
jne 0x34330989
mov ecx, eax
call fcn.343310bd
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x10], eax
jmp 0x3433098c
mov dword [edi + 0x10], ebp
add dword [esp + 0x10], 4
inc ecx
add ebx, 2
add edi, 0x18
cmp ebx, 0x16
mov dword [esp + 0x14], ecx
jle 0x34330952
cmp dword [esi + 0x68], ebp
jne 0x343309d5
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x60]
push edi
push ecx
mov ecx, esi
call fcn.3433081b
test byte [edi], 8
jne 0x343309d5
mov edx, dword [esi + 0x64]
push edi
push edx
mov ecx, esi
call fcn.3433081b
test byte [edi], 8
jne 0x343309d5
push edi
push ebp
mov ecx, esi
call fcn.343305cb
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4

Function at 0x34331212
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x343a4a44
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edx, edx
mov dword [esp + 0x10], 1
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0xc], edx
lea ecx, [eax + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 8], 0xffc
xor ecx, ecx
mov edx, 0x105
mov word [eax], dx
mov word [eax + 2], cx
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [eax*8]
push ecx
lea ecx, [esp + 0xc]
call fcn.341f2518
test dword [esp + 0x10], 0xfffffffe
mov dword [esp + 0x30], 0xffffffff
je 0x343312a4
lea ecx, [esp + 0x10]
call fcn.341ffba8
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
add esp, 0x30
ret
Function at 0x3433551b
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x343a8714
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x40]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
xor edi, edi
push edi
push eax
push esi
push 1
push ecx
mov ecx, dword [eax + 8]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], 0
call fcn.341fbc18
test byte [esi], 8
jne 0x34335588
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x10]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x3433559a
add eax, 0x6c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret 0xc

Function at 0x343356ba
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x343a881c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x34234fcc]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov edi, dword [ebx + 0xc]
push esi
push 1
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.341fafc8
test byte [esi], 8
jne 0x34335765
mov eax, dword [ebx + 0x40]
mov ecx, dword [esp + 0x2c]
push 0
push 0
push eax
push esi
push ecx
mov ecx, dword [eax + 8]
lea edx, [esp + 0x24]
push edx
call fcn.341f5ba8
test byte [esi], 8
je 0x3433573e
push 0
push esi
mov ecx, edi
call fcn.34263e73
jmp 0x34335765
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x18], eax
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x3433575b
mov edx, dword [esp + 0x14]
push edx
call fcn.341f5f83
push 0
push esi
mov ecx, edi
call fcn.341fdee3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x34335777
add eax, 0x6c
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 0x10