joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c7c0
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00412b00
push 0x47cf00
mov dword [esi + 0x80], 0x1e
mov dword [esi + 0x90], 4
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
call fcn.00412970
push 0
push 0
push 0
push ecx
mov ecx, dword [0x4969b4]
push 0x84
call fcn.00411810
add esp, 8
push 1
push 0
push ecx
mov ecx, dword [0x4969b4]
push 0x83
mov edi, eax
call fcn.00411810
add esp, 8
push eax
mov ecx, edi
mov ebx, esi
call fcn.00412c10
mov eax, dword [esi + 0x3d8]
cmp dword [eax - 0xc], 0
jle 0x41c98e
push 0x32
lea edi, [esi + 0x3dc]
push str.http:__client.5054399.com_update_ConfigZt58501.htm
mov ecx, edi
call fcn.00406dd0
mov ecx, dword [esi + 0x3d8]
push ecx
push str.Zt58501
push edi
call fcn.004057e0
lea edi, [esi + 0x3e4]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [esi + 0x3d8]
push edx
push 0x104
push edi
call fcn.0044e6be
add esp, 0xc
push str..exe
push 0x104
push edi
call fcn.0044e6be
add esp, 0xc
push 0
push 0
push esi
push 0x41ca90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ebx, [esi + 0x684]
push 0
mov ecx, ebx
mov dword [esi + 0x5fc], eax
call fcn.0042b876
push 1
push ecx
mov ecx, dword [0x4969b4]
push 0x85
call fcn.00411810
add esp, 8
push eax
call fcn.00411ef0
push 1
push ecx
mov ecx, dword [0x4969b4]
push 0x85
call fcn.00411810
add esp, 8
push eax
lea ebx, [esi + 0x780]
call fcn.00411ef0
push 0
push 0x47927c
lea ecx, [esi + 0x8d0]
call fcn.00406dd0
mov eax, dword [esi + 0x89c]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esi + 0x8f0], 0x565148
mov dword [esi + 0x8dc], 0x10
mov ecx, dword [0x4969b4]
push 0x99
call fcn.00411810
mov ecx, dword [0x4969b4]
add esp, 4
push 0x98
mov edi, eax
call fcn.00411810
add esp, 4
add esi, 0x600
mov ecx, edi
call fcn.00414840
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d7a4
Capabilities:
Get common file path
Write file on windows

Disassembly:
sub esp, 0x910
mov eax, dword [0x491830]
xor eax, esp
mov dword [esp + 0x90c], eax
push esi
mov esi, ecx
call fcn.0042a4dc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x112]
push ecx
mov dword [esp + 0x10], 0
mov word [esp + 0x114], ax
call fcn.00451520
xor edx, edx
push 0xfe
push edx
lea eax, [esp + 0x1e]
push eax
mov word [esp + 0x20], dx
call fcn.00451520
mov ecx, dword [esi + 0x78]
push ecx
mov edx, ecx
push edx
push str._DEFAULT__r_nBASEURL_s_r_n_000214A0_0000_0000_C000_000000000046__r_n19_2_r_n_InternetShortcut__r_nURL_s_r_nIDList_r_n
lea eax, [esp + 0x534]
push 0x200
push eax
call fcn.0044e767
add esp, 0x2c
push 0
push 0
push 0x200
lea ecx, [esp + 0x31c]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x524]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x108]
push eax
push 0
push 0
push 6
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x80
lea ecx, [esp + 0xc]
push ecx
push 0x3fa
mov ecx, esi
call fcn.0042b652
push 0x47a28c
lea edx, [esp + 0x10c]
push 0x104
push edx
call fcn.0044e6be
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x118]
push 0x104
push ecx
call fcn.0044e6be
push str..url
lea edx, [esp + 0x124]
push 0x104
push edx
call fcn.0044e6be
push 0x478f7c
lea eax, [esp + 0x130]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.0044f8f6
add esp, 0x30
lea eax, [esp + 0x310]
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x41d8c4
sub eax, edx
mov edx, dword [esp]
push edx
push 1
push eax
lea eax, [esp + 0x318]
push eax
call fcn.0044faab
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044fba4
mov ecx, dword [esp + 0x920]
add esp, 0x14
xor ecx, esp
call fcn.0044e3af
add esp, 0x910
ret
Function at 0x423884
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4238cc
call fcn.0042ecd3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4238cc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42390f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4238f8
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4238f8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x42390c
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42a33d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x42a384
call fcn.0042ecd3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a384
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x42a3a0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00429eb4
mov esi, eax
test edi, edi
je 0x42a39e
test ebx, ebx
je 0x42a39e
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42ad15
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0042ecd3
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42ad4e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0042a961
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8
Function at 0x42adac
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x42add0
cmp dword [edi + 0x54], 0
jne 0x42add0
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0042ecd3
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042ad6d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42bdf7
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x46a6ed
call fcn.00451339
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42be1c
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x42be62
lea ecx, [ebp - 0x10]
call fcn.00406640
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004217f4
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00406c30
mov eax, esi
call fcn.00451411
ret 8

Function at 0x43973d
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 1
mov ecx, esi
test al, 1
je 0x439761
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x43976f
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x43975b
xor eax, eax
inc eax
pop esi
ret

Function at 0x4416d8
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x46aeb9
call fcn.00451339
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00406f00
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x44173a
call fcn.0042e5ad
cmp eax, 1
jne 0x44173a
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x4700c0
push eax
call fcn.0040bf90
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004068d0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00406c30
mov dword [ebp + 8], reloc.DSOUND.dll_DirectSoundCreate
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00406c30
mov eax, esi
call fcn.00451411
ret 0x10
Function at 0x441763
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x46aeb9
call fcn.00451339
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00406f00
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x4417c5
call fcn.0042e5ad
cmp eax, 1
jne 0x4417c5
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push 0x4700c0
push eax
call fcn.0040bf90
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.004068d0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00406c30
mov dword [ebp + 8], reloc.DSOUND.dll_DirectSoundCreate
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00406c30
mov eax, esi
call fcn.00451411
ret 0x14

Function at 0x44e3af
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x491830]
jne 0x44e3b9
repz ret
jmp fcn.00453462

Function at 0x45cc8d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00452e71
and dword [ebp - 4], 0
cmp dword [0x49650c], 0
mov ebx, eax
jne 0x45cd3e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45cdef
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45cdef
push eax
call fcn.00452dff
mov dword [esp], 0x475ab8
push edi
mov dword [0x49650c], eax
call esi
push eax
call fcn.00452dff
mov dword [esp], 0x475aa4
push edi
mov dword [0x496510], eax
call esi
push eax
call fcn.00452dff
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x496514], eax
call esi
push eax
call fcn.00452dff
pop ecx
mov dword [0x49651c], eax
test eax, eax
je 0x45cd3e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00452dff
pop ecx
mov dword [0x496518], eax
mov eax, dword [0x496518]
cmp eax, ebx
je 0x45cd96
cmp dword [0x49651c], ebx
je 0x45cd96
push eax
call fcn.00452e7a
push dword [0x49651c]
mov esi, eax
call fcn.00452e7a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45cd96
test edi, edi
je 0x45cd96
call esi
test eax, eax
je 0x45cd8d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45cd8d
test byte [ebp - 0xc], 1
jne 0x45cd96
or dword [ebp + 0x10], 0x200000
jmp 0x45cdcf
mov eax, dword [0x496510]
cmp eax, ebx
je 0x45cdcf
push eax
call fcn.00452e7a
pop ecx
test eax, eax
je 0x45cdcf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45cdcf
mov eax, dword [0x496514]
cmp eax, ebx
je 0x45cdcf
push eax
call fcn.00452e7a
pop ecx
test eax, eax
je 0x45cdcf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49650c]
call fcn.00452e7a
pop ecx
test eax, eax
je 0x45cdef
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45cdf1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x464070
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48a2c0
push 0x4518a0
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x491830]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x4640ba
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x4640f0
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x46427b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x464128
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x46427b
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x464154
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x46427b
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x464177
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x464226
push str..detour
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
push eax
call fcn.00453d50
add esp, 8
test eax, eax
jne 0x464221
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x4641c2
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x10], 0
jne 0x4641c4
jmp 0x464226
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x40
jb 0x4641f1
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0x727444
je 0x4641f3
jmp 0x464226
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x464207
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x46427b
jmp 0x46416e
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44]
jmp 0x46427b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x464530
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x464551
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x464563
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4646ab
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4646a8
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x46468c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.00453600
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call fcn.00453600
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x464669
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x464667
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.00453600
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x464670
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x4649c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4965bc]
mov dword [ebp - 4], eax
jmp 0x4649d9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x4649f6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x4649d0
mov esp, ebp
pop ebp
ret

Function at 0x464a00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4965cc], eax
je 0x464a1e
mov eax, 0x10dd
jmp 0x464aff
mov eax, dword [0x4965dc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x464a9c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x464a7a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x464a7a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00464b70
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00421790
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x464a26
mov dword [0x4965dc], 0
call fcn.00464b10
mov ecx, dword [0x4965d8]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x464ae9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00421790
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x464ab4
mov dword [0x4965d8], 0
mov dword [0x4965cc], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x465070
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x465085
xor eax, eax
jmp 0x4650fa
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x4650b2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x4650f5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x4650f3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x4650ef
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x4650f3
xor eax, eax
jmp 0x4650fa
jmp 0x4650a9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4651a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4965d0], 0
je 0x4651b9
mov eax, dword [0x4965d0]
jmp 0x465259
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x4651cb
xor eax, eax
jmp 0x465259
push 8
call fcn.00421756
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x465221
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x46520a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00421790
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x4965d0], eax
mov dword [0x4965d4], 0
mov eax, dword [ebp - 4]
jmp 0x465259
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x46523b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4651eb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x4965d8]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x4965d8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4