joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.0041a660
call fcn.004316c0
mov dword [ebp - 4], eax
push 5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041a880
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x431844
push 0xf0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041a880
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x1c], 0
je 0x431784
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
xor eax, eax
jne 0x43176f
xor ecx, ecx
jne 0x43176f
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43182b
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x431820
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.0041a8a0
add esp, 8
mov dword [ebp - 0x24], eax
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_DialogBoxIndirectParamW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004316d0
add esp, 4
movzx edx, al
test edx, edx
jne 0x431805
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x20]
je 0x43181e
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x431829
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
jmp 0x431834
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x431844
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4327e0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x487b30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x202
mov word [ebp - 0x19c], ax
lea ecx, [ebp - 0x198]
push ecx
movzx edx, word [ebp - 0x19c]
push edx
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 0x1a0], eax
cmp dword [ebp - 0x1a0], 0
je 0x432827
xor al, al
jmp 0x432829
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004567ae
mov esp, ebp
pop ebp
ret
Function at 0x433180
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dff0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x487b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
push 0x477160
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx], 0
jne 0x4331dd
xor eax, eax
jmp 0x43335d
lea ecx, [ebp - 0x18]
call fcn.004053b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004053b0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
mov edx, dword [ebp + 8]
push edx
call fcn.004053d0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x38]
call fcn.004336a0
push 0
push 0
push 3
push 0
push 0
push 0x50
lea ecx, [ebp - 0x18]
call fcn.00419920
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [ebp - 0x38]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jne 0x43326e
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00443990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00443990
mov eax, dword [ebp - 0x28]
jmp 0x43335d
mov dword [ebp - 0x20], 0x477220
mov dword [ebp - 0x1c], 0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.00419920
push eax
push 0x477228
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 8], 0
jne 0x4332d9
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00443990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00443990
mov eax, dword [ebp - 0x2c]
jmp 0x43335d
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x433316
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00443990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00443990
mov eax, dword [ebp - 0x30]
jmp 0x43335d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00443990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.00443990
jmp 0x43334a
mov dword [ebp - 4], 0xffffffff
jmp 0x433358
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x433380
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d350
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x487b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
je 0x4333f1
push 0
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0x18
push edx
push 0x20000005
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x4333f1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x18]
jmp 0x43341d
jmp 0x43340d
mov dword [ebp - 4], 0xffffffff
jmp 0x43341b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433430
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d330
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x487b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 8], 0
je 0x433498
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x433498
mov eax, dword [ebp - 0x14]
jmp 0x4334c4
jmp 0x4334b4
mov dword [ebp - 4], 0xffffffff
jmp 0x4334c2
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4346c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e28b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x487b30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
push 0
push 0x1c
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x220]
call fcn.004053d0
mov dword [ebp - 4], 0
push 0x476de4
lea ecx, [ebp - 0x220]
call fcn.00405450
push 0x476de8
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0040dd50
add esp, 0xc
mov ecx, dword [ebp - 0x224]
or ecx, 1
mov dword [ebp - 0x224], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00443990
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004567ae
mov esp, ebp
pop ebp
ret
Function at 0x434790
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ee38
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x487b30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x476e04
push 0x87
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4348da
mov eax, dword [ebp - 0x10]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4348da
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4348da
mov edx, dword [ebp - 0x10]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x4348da
lea eax, [ebp - 0x20]
push eax
call fcn.004346c0
add esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
push 0
push 0x82
push 2
push 0
push 2
push 0x40000000
lea ecx, [ebp - 0x20]
call fcn.00419920
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x434885
push 0
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43488e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
call fcn.00419920
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4348cb
push 0x476e14
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x4348c1
call dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00443990
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x436df0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x436df9
xor ecx, ecx
jne 0x436df9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x436e1a
mov eax, 0xd
jmp 0x436e75
xor eax, eax
jne 0x436e01
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x436e2b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x4376f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x487b30]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00437850
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00437680
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43775b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004378d0
mov eax, dword [ebp - 0x224]
jmp 0x4377ec
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4377c1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004376f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4377b8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004378d0
mov eax, dword [ebp - 0x228]
jmp 0x4377ec
mov dword [ebp - 4], 0x100
jmp 0x437762
lea ecx, [ebp - 0x14]
call fcn.00437880
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00437920
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004378d0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004567ae
mov esp, ebp
pop ebp
ret 4
Function at 0x43d430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x48ddb4]
mov dword [ebp - 4], eax
jmp 0x43d449
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x43d466
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 0x43d440
mov esp, ebp
pop ebp
ret

Function at 0x43d530
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x43d5f3
cmp dword [ebp - 4], 0x50000000
jb 0x43d56c
cmp dword [ebp - 4], 0x80000000
ja 0x43d56c
mov dword [ebp - 4], 0x80010000
jmp 0x43d545
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x43d599
jmp 0x43d5f3
cmp dword [ebp - 0x10], 0x10000
jne 0x43d5dc
cmp dword [ebp - 0x14], 0x10000
jb 0x43d5dc
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43d5cf
mov eax, dword [ebp - 0x24]
jmp 0x43d5f5
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x43d5ee
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0043d500
add esp, 4
mov dword [ebp - 4], eax
jmp 0x43d545
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x43d600
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0043d4d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x43d6cb
cmp dword [ebp - 4], 0x50000000
jb 0x43d641
cmp dword [ebp - 4], 0x80000000
ja 0x43d641
mov dword [ebp - 4], 0x4fff0000
jmp 0x43d61a
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x43d66e
jmp 0x43d6cb
cmp dword [ebp - 0x10], 0x10000
jne 0x43d6b1
cmp dword [ebp - 0x14], 0x10000
jb 0x43d6b1
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x43d6a4
mov eax, dword [ebp - 0x24]
jmp 0x43d6cd
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x43d6c6
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0043d4d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x43d61a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43da00
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 0x43da15
xor eax, eax
jmp 0x43da8a
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 0x43da42
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x43da85
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x43da83
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 0x43da7f
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 0x43da83
xor eax, eax
jmp 0x43da8a
jmp 0x43da39
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x43db90
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x48ddc4], eax
je 0x43dbae
mov eax, 0x10dd
jmp 0x43dc8f
mov eax, dword [0x48ddd4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dc2c
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 0x43dc0a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x43dc0a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.0043d9c0
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.0044c54d
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x43dbb6
mov dword [0x48ddd4], 0
call fcn.0043d470
mov ecx, dword [0x48ddd0]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x43dc79
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.0044c54d
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x43dc44
mov dword [0x48ddd0], 0
mov dword [0x48ddc4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x43e120
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x48ddc8], 0
je 0x43e139
mov eax, dword [0x48ddc8]
jmp 0x43e1d9
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x43e14b
xor eax, eax
jmp 0x43e1d9
push 8
call fcn.0044c513
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43e1a1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x43e18a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0044c54d
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x48ddc8], eax
mov dword [0x48ddcc], 0
mov eax, dword [ebp - 4]
jmp 0x43e1d9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x43e1bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x43e16b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x48ddd0]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x48ddd0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x43f460
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 0x43f481
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x43f493
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x43f5db
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 0x43f5d8
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 0x43f5bc
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.0045c020
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.0045c020
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x43f599
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 0x43f597
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.0045c020
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 0x43f5a0
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