joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ea80
Capabilities:
Get file version info

Disassembly:
sub esp, 0x30
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [str.mshtml.dll]
mov ecx, dword [0x535eb8]
mov edx, dword [0x535ebc]
push ebx
push ebp
mov dword [esp + 0x1c], eax
mov eax, dword [0x535ec0]
push esi
mov dword [esp + 0x24], ecx
mov ecx, dword [0x535ec4]
push edi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], edx
mov dx, word [0x535ec8]
push eax
lea ecx, [esp + 0x28]
xor edi, edi
push ecx
mov word [esp + 0x40], dx
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
je 0x41eb67
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x41eb67
mov edx, dword [esp + 0x20]
push eax
push esi
push edx
lea eax, [esp + 0x30]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41eb5c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x535e54
xor esi, esi
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x41eb5c
cmp dword [esp + 0x18], esi
je 0x41eb5c
mov eax, dword [esp + 0x10]
movzx ecx, word [eax + 0xc]
movzx edi, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx ebp, word [eax + 0xe]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [esp + 0x1c]
push eax
push ebp
push ebx
push edi
push str.mshtml.dll_VersionInfo:__n_tMajorVersion_d_n_tMinorVersion_d_n_tBuildNumber_d_n_tRevisionNumber_d_n
call fcn.0050c56f
mov ecx, dword [esp + 0x50]
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050a231
add esp, 0x30
ret
Function at 0x41eba0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x218
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [esp + 0x21c]
push eax
push str.SOFTWAREMicrosoftInternet_ExplorerAdvancedOptionsBROWSE_
lea eax, [esp + 0x14]
push str._s_s
push eax
call fcn.0050a7b8
add esp, 0x10
lea ecx, [esp]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x18]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ed14
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
push 3
push 0x535f78
push 1
push eax
mov eax, dword [esp + 0x18]
push str.CheckedValue
push eax
call esi
mov ecx, dword [esp + 8]
push 3
push 0x535f78
push 1
push 0
push str.DefaultValue
push ecx
call esi
mov edx, dword [esp + 8]
push 2
push 0x535f9c
push 1
push 0
push str.UncheckedValue
push edx
call esi
mov edx, dword [esp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x11c]
push ecx
push 0
push 0
push str.ValueName
push edx
mov byte [esp + 0x130], 0
mov byte [esp + 0x2c], 0
mov dword [esp + 0x28], 0x104
call edi
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push str.RegPath
push edx
mov dword [esp + 0x28], 0x104
call edi
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41eca3
sub eax, edx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41ed0b
lea eax, [esp + 0x118]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41ecc0
sub eax, edx
je 0x41ed0b
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
lea ecx, [esp + 0x20]
push ecx
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ed0b
push 3
push 0x535f78
push 1
push eax
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x128]
push edx
push eax
call esi
mov ecx, dword [esp + 0xc]
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0050a231
add esp, 0x218
ret 4
Function at 0x41eff0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x52cce8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
mov ecx, str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl_
mov edi, 1
call fcn.0041f0f0
mov dword [esp + 0x1c], 0
test esi, esi
jne 0x41f03b
xor eax, eax
jmp 0x41f04f
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41f040
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x18]
push ecx
call fcn.0041afd0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x41f076
xor edi, edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
push 4
lea ecx, [esp + 0x28]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x41f0a4
mov ecx, dword [esp + 0xc]
push ecx
call esi
xor edi, edi
mov edx, dword [esp + 0xc]
push edx
call esi
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f0d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 8

Function at 0x41f260
Capabilities:
Create thread

Disassembly:
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x41f280
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
ret
Function at 0x41fdb0
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1004
call fcn.0051fea0
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x1000], eax
push 0xfff
lea eax, [esp + 5]
push 0
push eax
mov byte [esp + 0xc], 0
call fcn.0050e6a0
mov edx, dword [esp + 0x1014]
lea ecx, [esp + 0x1018]
push ecx
push edx
lea eax, [esp + 0x14]
push 0xfff
push eax
call fcn.0050ac96
add esp, 0x1c
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x1000]
xor ecx, esp
call fcn.0050a231
add esp, 0x1004
ret

Function at 0x41fe20
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x52c338
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
push 0x44
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push eax
mov esi, ecx
mov edi, edx
call fcn.0050e6a0
add esp, 0xc
mov eax, 0x14
push 0xffffffffffffffff
mov ecx, 5
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, 0xc8
push ebx
mov word [esp + 0x5c], cx
push esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], 1
mov dword [esp + 0x94], 0xf
mov dword [esp + 0x90], ebx
mov byte [esp + 0x80], bl
call fcn.004037d0
mov dword [esp + 0x98], ebx
cmp dword [esp + 0x84], ebx
je 0x41feeb
push 1
push 0x536d4c
lea eax, [esp + 0x78]
call fcn.00408890
push 0xffffffffffffffff
push ebx
push edi
lea esi, [esp + 0x7c]
call fcn.004089a0
mov eax, dword [esp + 0x74]
mov edi, 0x10
cmp dword [esp + 0x88], edi
jae 0x41ff0e
lea eax, [esp + 0x74]
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41ff4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x88], edi
jb 0x41ff46
mov edx, dword [esp + 0x74]
push edx
call fcn.0050a226
add esp, 4
or eax, 0xffffffff
jmp 0x41ff87
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
cmp dword [esp + 0x88], edi
jb 0x41ff82
mov eax, dword [esp + 0x74]
push eax
call fcn.0050a226
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.0050a231
add esp, 0x8c
ret
Function at 0x41ffb0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [0x6210b0]
push esi
push eax
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x6210b0]
push esi
push ecx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, ebp
mov dword [esp + 0xc], eax
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41fff6
mov eax, ebp
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x420003
mov edx, dword [str.Bookmark.db]
mov dword [eax], edx
mov ecx, dword [0x5346e0]
mov dword [eax + 4], ecx
mov edx, dword [0x5346e4]
push 0x533d34
push ebp
mov dword [eax + 8], edx
call fcn.0050abcc
mov esi, eax
add esp, 8
test esi, esi
je 0x42006b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc]
push esi
push 1
push eax
push ecx
call fcn.0050ae15
push esi
call fcn.0050af0e
add esp, 0x14
push ebx
mov esi, 1
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov esi, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x420be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52b6ce
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
lea eax, [esi + 0x1254]
lea ebp, [esi + 4]
push eax
mov dword [esi], vtable.CXWebBrowser.0
mov dword [ebp], vtable.CXWebBrowser.1.0
mov dword [esi + 8], vtable.CXWebBrowser.2.0
mov dword [esi + 0xc], vtable.CXWebBrowser.3.0
mov dword [esi + 0x10], vtable.CXWebBrowser.4.0
mov dword [esi + 0x14], vtable.CXWebBrowser.5.0
mov dword [esi + 0x18], vtable.CXWebBrowser.6.0
mov dword [esi + 0x1c], vtable.CXWebBrowser.7.0
call fcn.00422de0
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x124a], eax
lea edi, [esi + 0x24]
lea ebx, [esi + 0x20]
mov dword [esi + 0x124e], eax
push 0x8ff
mov dword [esi + 0x1242], eax
push eax
lea edx, [esi + 0x126c]
mov dword [esi + 0x1246], eax
push edx
mov dword [esi + 0x40], ecx
call fcn.0050e6a0
add esp, 0xc
push ebx
push 0
push 0x1012
push 0
call dword [sym.imp.ole32.dll_StgCreateDocfile]
mov eax, dword [ebx]
push edi
push eax
push ebp
push 0
push 1
push 0x53085c
push 0x53090c
call dword [sym.imp.ole32.dll_OleCreate]
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x28]
push edx
push 0x5308ac
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [edi]
mov ecx, dword [eax]
lea edx, [esi + 0x3c]
push edx
push 0x53088c
push eax
mov eax, dword [ecx]
call eax
mov edi, dword [edi]
mov ecx, dword [edi]
mov edx, dword [ecx]
lea ebx, [esi + 0x2c]
push ebx
push 0x5308ec
push edi
call edx
mov ecx, dword [ebx]
push esi
call fcn.00422000
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x424800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x52c268
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
mov ebx, 1
cmp esi, eax
ja 0x42486a
cmp dword [edi + 0x18], eax
je 0x42486a
push ebx
push eax
call fcn.00403c30
test al, al
je 0x42486a
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x424863
mov eax, dword [edi + 4]
jmp 0x424866
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
mov dword [esp + 0x18], ecx
cmp esi, ecx
je 0x424a3c
jmp 0x424886
mov ecx, dword [esp + 0x18]
mov al, byte [esi]
add esi, ebx
mov byte [esp + 0x20], al
cmp al, 0x22
je 0x424a3c
cmp al, 0x5c
jne 0x42498a
cmp esi, ecx
je 0x4249a5
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
mov dword [esp + 0x8c], esi
cmp eax, 0x53
ja case.0x4248c7.35
movzx eax, byte [eax + 0x424a7c]
jmp dword [eax*4 + 0x424a54]
push 0x22
jmp 0x42498f
push 0x2f
jmp 0x42498f
push 0x5c
jmp 0x42498f
push 8
jmp 0x42498f
push 0xc
jmp 0x42498f
push 0xa
jmp 0x42498f
push 0xd
jmp 0x42498f
push 9
jmp 0x42498f
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x1c]
push edx
push ecx
push ebp
push eax
lea ecx, [esp + 0x9c]
call fcn.00424ad0
test al, al
je 0x4249e0
mov ecx, dword [esp + 0x1c]
push ecx
lea esi, [esp + 0x44]
call fcn.00423000
add esp, 4
push 0xffffffffffffffff
push 0
push eax
mov esi, edi
mov dword [esp + 0x8c], ebx
call fcn.004089a0
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x58], 0x10
jb 0x42496c
mov edx, dword [esp + 0x44]
push edx
call fcn.0050a226
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jmp 0x424996
mov eax, dword [esp + 0x20]
push eax
mov eax, ebx
call fcn.0041b0a0
cmp esi, dword [esp + 0x18]
jne 0x424882
jmp 0x424a3c
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x60]
call fcn.004036c0
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x88], 0
call fcn.00424d80
cmp dword [esp + 0x74], 0x10
mov bl, al
jb 0x424a3c
mov ecx, dword [esp + 0x60]
push ecx
jmp 0x424a34
xor al, al
jmp 0x424a3e
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.00403ac0
mov edx, dword [esp + 0x88]
push esi
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x88], 2
call fcn.00424d80
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0x424a3c
mov edx, dword [esp + 0x28]
push edx
call fcn.0050a226
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0x437e00
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x40
push edi
xor edi, edi
cmp dword [0x625ffc], 0x40
jae 0x437f1a
mov ecx, dword [esp + 0x48]
push esi
lea esi, [ecx + eax]
cmp esi, 0x80000000
jae 0x437e28
lea esi, [edi + 1]
jmp 0x437e2e
sub esi, 0x7fff0000
mov edx, dword [esp + 0x54]
push ebp
lea ebp, [edx + eax]
cmp ebp, 0x80000000
jae 0x437e46
add ebp, 0x7ff80000
jmp 0x437e4b
mov ebp, 0xfff80000
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, ebp
jae 0x437f18
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
jmp 0x437e90
push 0x1c
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x437ee9
cmp dword [esp + 0x20], 0x10000
jne 0x437eda
mov eax, dword [esp + 0x1c]
cmp eax, 0x6c
jb 0x437ede
mov ecx, dword [esp + 0x48]
cmp eax, ecx
jb 0x437ede
lea eax, [ecx + esi - 1]
xor edx, edx
div ecx
push 0x20
push 0x3000
push 0x6c
imul eax, ecx
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x437eed
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
lea esi, [edx + eax]
cmp esi, ebp
jb 0x437e90
test edi, edi
je 0x437f17
xor eax, eax
nop
cmp dword [eax*4 + 0x61ee70], 0
je 0x437f0a
inc eax
cmp eax, 0x40
jb 0x437ef0
pop ebx
pop ebp
pop esi
mov eax, edi
pop edi
add esp, 0x40
ret
inc dword [0x625ffc]
mov dword [eax*4 + 0x61ee70], edi
pop ebx
pop ebp
pop esi
mov eax, edi
pop edi
add esp, 0x40
ret
Function at 0x437f30
Capabilities:
Resume thread
Suspend thread

Disassembly:
sub esp, 0x2d0
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x2cc], eax
mov eax, dword [esp + 0x2d4]
push esi
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
cmp esi, 0xffffffff
je 0x437ff8
test esi, esi
je 0x437ff8
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x438019
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetThreadContext]
push edi
lea ecx, [esp + 0xc]
push ecx
push esi
mov dword [esp + 0x14], 0x10001
xor edi, edi
call ebp
test eax, eax
je 0x438038
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x437fb0
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0x2e8]
cmp eax, ecx
jb 0x437ff3
mov edx, dword [esp + 0x2ec]
add ecx, edx
cmp eax, ecx
jae 0x437ff3
push esi
call ebx
cmp edi, 3
jge 0x43800e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [esp + 0x10]
push eax
push esi
inc edi
call ebp
test eax, eax
jne 0x437fb0
mov eax, esi
pop ebx
pop edi
pop ebp
pop esi
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.0050a231
add esp, 0x2d0
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x437ff5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2cc]
xor ecx, esp
call fcn.0050a231
add esp, 0x2d0
ret
mov ecx, dword [esp + 0x2d8]
pop edi
pop ebp
mov eax, esi
pop esi
xor ecx, esp
call fcn.0050a231
add esp, 0x2d0
ret

Function at 0x438060
Capabilities:
Resume thread

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [esp + 0xc], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x626004], esi
jbe 0x4380c2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [esp]
mov eax, dword [0x626000]
mov ecx, dword [eax + esi*4]
push ecx
call ebx
mov edx, dword [0x626000]
mov eax, dword [edx + esi*4]
push eax
call ebp
inc esi
cmp esi, dword [0x626004]
jb 0x4380a0
pop ebp
pop ebx
mov ecx, dword [0x626000]
push ecx
call fcn.0050a8b9
mov edx, dword [esp + 0xc]
add esp, 4
xor eax, eax
push edx
mov dword [0x626000], eax
mov dword [0x626004], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
pop ecx
ret
Function at 0x4385b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [0x625ff8], ebx
jne 0x4385e4
push 0x61ee58
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x100
push ebx
push 0x61ee70
call fcn.0050e6a0
add esp, 0xc
mov dword [0x625ff8], 1
push 0x61ee58
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
mov ecx, dword [eax*4 + 0x61ee70]
cmp ecx, ebx
je 0x438607
mov edx, dword [esp + 0xc]
add ecx, 0x2c
cmp ecx, dword [edx]
je 0x43861d
inc eax
cmp eax, 0x40
jb 0x4385f1
push 0x61ee58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
pop ebx
pop ecx
ret
push esi
mov esi, dword [eax*4 + 0x61ee70]
cmp esi, ebx
je 0x4386da
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push ebp
push edi
push eax
push ecx
call fcn.004380f0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edx, [esp + 0x10]
push edx
mov edi, eax
mov eax, dword [esi + 4]
push 0x40
push eax
push ecx
push edi
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
je 0x4386d3
mov ecx, dword [esi]
xor eax, eax
cmp dword [esi + 4], ebx
jbe 0x43867d
mov edi, edi
mov dl, byte [esi + eax + 0x4c]
mov byte [eax + ecx], dl
inc eax
cmp eax, dword [esi + 4]
jb 0x438670
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esi]
push eax
push ecx
push edx
push edi
call ebp
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov ebx, 1
xor eax, eax
mov edi, edi
cmp dword [eax*4 + 0x61ee70], esi
je 0x4386c2
add eax, ebx
cmp eax, 0x40
jb 0x4386b0
jmp 0x4386d3
sub dword [0x625ffc], ebx
mov dword [eax*4 + 0x61ee70], 0
call fcn.00438060
pop edi
pop ebp
pop esi
push 0x61ee58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x43d700
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xc]
mov dword [ebp], 0
cmp dword [0x55d8c8], 0
push esi
je 0x43d762
mov eax, dword [0x6261c0]
test eax, eax
je 0x43d72e
push eax
call dword [0x55d91c]
add esp, 4
lea eax, [esp + 0x10]
push eax
mov eax, 0x14
call fcn.0043b350
mov eax, dword [0x6261c0]
add esp, 4
test eax, eax
je 0x43d753
push eax
call dword [0x55d924]
add esp, 4
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x43d771
lea eax, [esi + 7]
pop esi
pop ebp
pop ebx
ret
push 0x14
call dword [0x55d8ec]
add esp, 4
mov esi, eax
jmp 0x43d757
cmp dword [0x55d8cc], 0
je 0x43d79e
lea ecx, [esi + 4]
push ecx
push 0
push esi
push 0x43d6d0
push 0
push 0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
call fcn.0050c4bf
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x43d7ae
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
cmp dword [esi + 8], 0
jne 0x43d7c6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push edi
mov dword [esi + 4], eax
call ebx
add esp, 4
mov dword [esi + 0x10], eax
mov dword [ebp], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret

Function at 0x43f530
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x43f55d
push esi
lea esp, [esp]
movzx ecx, cl
movzx ecx, byte [ecx + 0x5387b8]
lea esi, [eax*8]
xor ecx, esi
inc edx
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x43f540
pop esi
ret