joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4804c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, 1
mov dword [esp + 0x24], ebx
mov edi, dword [esp + 0x34]
push ebx
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
call fcn.00412250
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x30], 2
mov esi, dword [esp + 0x3c]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebp, esp
push esi
call fcn.00412250
mov ecx, dword [esp + 0x3c]
add eax, 0x10
mov dword [ebp], eax
add esp, 4
mov byte [esp + 0x30], bl
call fcn.0041f0d0
mov ebx, eax
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f5b8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x24], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5d9
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc

Function at 0x420fc0
Capabilities:
Set registry value

Disassembly:
push esi
push edi
push str.Password
mov esi, eax
push esi
push str.SaveValueToHKey__s__s
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 0xc
mov ecx, esi
call fcn.00420e80
mov esi, eax
test esi, esi
je 0x421015
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 3
push 0
push str.Password
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
ret 8
push ebx
push str.SaveValueToHKLM__RegCreateKeyEx_failed
call fcn.00421450
mov ebx, 0x3f3
mov ecx, eax
call fcn.00421ae0
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
ret 8

Function at 0x421040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov esi, eax
push esi
push str.GetValueFromHKey__s__s
mov dword [esp + 0x20], 0
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4210b9
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x24]
push ecx
push 0
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 0xc
push str.GetValueFromHKLM__RegOpenKeyEx_failed
call fcn.00421450
mov ecx, eax
call fcn.00421ae0
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 0xc
Function at 0x421970
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x200c
call fcn.00463e50
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x2008], eax
cmp dword [esp + 0x2010], 0
push ebx
push ebp
push esi
je 0x421aba
push 0x1ffe
lea eax, [esp + 0x16]
push 0
push eax
mov word [esp + 0x1c], 0
call fcn.00461780
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea ecx, [edi + 0x248]
push ecx
push str._s__X_:
lea edx, [esp + 0x1c]
push 0x1000
push edx
call fcn.0045eb08
mov edx, dword [esp + 0x2030]
add esp, 0x14
lea ecx, [esp + 0x2020]
push ecx
push edx
mov ecx, 0x1000
sub ecx, eax
push ecx
lea edx, [esp + eax*2 + 0x1c]
push edx
call fcn.00460057
push 0x4941c4
lea eax, [esp + 0x24]
push 0x1000
push eax
call fcn.0045f406
lea eax, [edi + 0x40]
add esp, 0x1c
lea edx, [eax + 2]
jmp 0x421a20
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421a20
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub eax, edx
sar eax, 1
je 0x421a52
lea esi, [edi + 4]
push esi
call ebx
lea ecx, [esp + 0x10]
push ecx
mov eax, edi
call fcn.004218e0
push esi
call ebp
lea eax, [esp + 0x10]
xor edx, edx
lea esi, [eax + 2]
jmp 0x421a60
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421a60
sub eax, esi
sar eax, 1
add eax, 0xfffffffe
je 0x421aa6
cmp word [esp + edx*2 + 0x10], 0xa
jne 0x421a83
mov word [esp + edx*2 + 0x10], 0x20
lea eax, [esp + 0x10]
add edx, 1
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421a90
sub eax, esi
sar eax, 1
add eax, 0xfffffffe
cmp edx, eax
jb 0x421a74
lea esi, [edi + 4]
push esi
call ebx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call ebp
mov ecx, dword [esp + 0x2014]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045e88c
add esp, 0x200c
ret
Function at 0x4233c0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x198], eax
push edi
push str._StartNetworkConnection__
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
lea eax, [esp + 8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x423429
push str.ERROR:_Could_not_load_Winsock_DLL
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
xor eax, eax
pop edi
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.0045e88c
add esp, 0x1a0
ret
mov ecx, dword [esp + 0x19c]
pop edi
xor ecx, esp
mov eax, 1
call fcn.0045e88c
add esp, 0x1a0
ret
Function at 0x423f20
Capabilities:
Identify system language via api

Disassembly:
push esi
xor ecx, ecx
movzx esi, ax
mov edx, 0x4aaeb8
jmp 0x423f00
cmp dword [edx], esi
je 0x423f11
add ecx, 1
add edx, 0x10
cmp ecx, 0x26
jb 0x423f00
pop esi
ret
shl ecx, 4
mov ax, word [ecx + 0x4aaebc]
pop esi
ret
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ebx, ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp si, di
movzx eax, ax
jne 0x423f5b
cmp si, ax
jne 0x423f5b
pop edi
mov eax, esi
pop esi
pop ebx
jmp 0x423ef0
xor eax, eax
movzx edx, bx
mov ecx, 0x4aaeb8
cmp dword [ecx], edx
je 0x423f7b
add eax, 1
add ecx, 0x10
cmp eax, 0x26
jb 0x423f65
pop edi
pop esi
movzx eax, bx
pop ebx
ret
pop edi
shl eax, 4
movzx eax, word [eax + 0x4aaebc]
pop esi
pop ebx
ret

Function at 0x4244f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x230
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push esi
push edi
mov esi, ecx
push esi
push str.GetPortnameViaDevInstID__s_
mov dword [esp + 0x20], 0x100
mov dword [esp + 0x18], 0
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 8
push esi
lea ebx, [esp + 0x3c]
call fcn.00423ff0
test eax, eax
je 0x424569
push 0
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiCreateDeviceInfoList]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x424570
push str.SetupDiCreateDeviceInfoList_call_returned_INVALID_HANDLE_VALUE
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 4
xor eax, eax
jmp 0x424603
lea eax, [esp + 0x1c]
push eax
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
push ebx
mov dword [esp + 0x30], 0x1c
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDeviceInfoW]
test eax, eax
je 0x4245f8
push 0x20019
push 1
push 0
push 1
lea edx, [esp + 0x2c]
push edx
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
mov esi, eax
cmp esi, 0xffffffff
je 0x4245f8
lea eax, [esp + 0x18]
push eax
push ebp
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.PortName
push esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4245f1
push ebp
push str.Found_PortName___s
call fcn.00421450
mov edi, eax
call fcn.00421970
add esp, 8
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045e88c
add esp, 0x230
ret 4
Function at 0x425460
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
mov esi, eax
mov eax, dword [esp + 0x1c]
mov dword [esi], 0
push ecx
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4254f4
cmp word [ebx + 8], 2
push edi
jne 0x4254c5
cmp word [ebx + 0xa], 4
jne 0x4254c5
mov edi, dword [ebx + 0xc]
mov eax, dword [edi]
test eax, eax
je 0x4254c5
jmp 0x4254a0
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ebp
push eax
push ecx
call fcn.004253f0
test eax, eax
mov dword [esi], eax
je 0x4254e8
add edi, 4
lea esi, [eax + 0x1c]
mov eax, dword [edi]
test eax, eax
jne 0x4254a0
mov edx, dword [ebx]
mov eax, dword [esp + 0x20]
push 0x400
push edx
push 0x401
push eax
call fcn.00460ac3
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
ret 0x10
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd507
cmp eax, 3
ja case.0x425504.11001
jmp dword [eax*4 + 0x42552c]
pop esi
pop ebp
mov eax, 0x2af9
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afa
pop ebx
ret 0x10
pop esi
pop ebp
mov eax, 0x2afb
pop ebx
ret 0x10
Function at 0x425d50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x238
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x234], eax
cmp dword [0x4b13a4], 0
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], str.getaddrinfo
mov dword [esp + 0x14], 0x4257b0
mov dword [esp + 0x18], str.getnameinfo
mov dword [esp + 0x1c], 0x425a90
mov dword [esp + 0x20], str.freeaddrinfo
mov dword [esp + 0x24], fcn.00425760
je 0x425db5
movzx eax, word [esp + 0x24c]
mov eax, dword [eax*8 + 0x4ac1d4]
jmp 0x425ece
push 0x104
lea ecx, [esp + 0x13c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x425eb5
lea edx, [esp + 0x138]
push edx
lea eax, [esp + 0x2c]
push 0x10c
push eax
call fcn.0045f0f6
push str.ws2_32
lea ecx, [esp + 0x38]
push 0x10c
push ecx
call fcn.00460ece
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea edx, [esp + 0x28]
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x425e2c
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x425e78
push esi
call ebp
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x2c]
push 0x10c
push ecx
call fcn.0045f0f6
push str.wship6
lea edx, [esp + 0x38]
push 0x10c
push edx
call fcn.00460ece
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call edi
mov esi, eax
test esi, esi
je 0x425eb5
push str.getaddrinfo
push esi
call ebx
test eax, eax
jne 0x425e78
push esi
call ebp
jmp 0x425eb5
xor edi, edi
lea ebx, [ebx]
mov ecx, dword [esp + edi*8 + 0x10]
push ecx
push esi
call ebx
test eax, eax
mov dword [esp + edi*8 + 0x14], eax
je 0x425e73
add edi, 1
cmp edi, 3
jl 0x425e80
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [0x4ac1d4], edx
mov dword [0x4ac1dc], eax
mov dword [fcn.00425760], ecx
movzx edx, word [esp + 0x24c]
mov eax, dword [edx*8 + 0x4ac1d4]
mov dword [0x4b13a4], 1
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0045e88c
add esp, 0x238
ret 4
Function at 0x42bb40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47f1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x2c]
mov esi, ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
lea edi, [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.00428350
lea ecx, [esp + 0x14]
push ecx
push ecx
push eax
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0xc]
push eax
lea edx, [esp + 0x48]
mov ecx, esi
mov dword [esp + 0x94], 0
call fcn.0042cfd0
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0047c187
fstp qword [esp + 0x3c]
mov dword [esp + 0x90], 0xffffffff
mov edi, dword [esp + 0x34]
add esp, 0x10
test edi, edi
je 0x42bc32
push 0
lea ecx, [esp + 0x2c]
call fcn.0047c246
mov eax, dword [edi + 4]
test eax, eax
jbe 0x42bc10
cmp eax, 0xffffffff
jae 0x42bc10
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x28]
and esi, edi
call fcn.0047c267
test esi, esi
je 0x42bc32
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
cmp byte [ebp + 0x14], 0
mov edi, dword [ebp + 0x10]
jne 0x42bc77
test edi, edi
je 0x42bc71
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x42bc56
mov ecx, dword [edi + 0x30]
cmp dword [ecx], 0
jle 0x42bc56
mov edx, dword [eax]
movzx eax, word [edx]
jmp 0x42bc62
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x42bc71
mov word [ebp + 0x16], ax
jmp 0x42bc73
xor edi, edi
mov byte [ebp + 0x14], 1
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 0x1c]
jne 0x42bcaf
test esi, esi
je 0x42bcad
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x42bc9b
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x42bc9b
mov edx, dword [eax]
movzx eax, word [edx]
jmp 0x42bca7
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
movzx eax, ax
cmp ax, 0xffff
jne 0x42bcaf
xor esi, esi
test edi, edi
jne 0x42bcd8
test esi, esi
je 0x42bcdc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
cmp dword [esp + 0x18], ecx
je 0x42bce5
cmp dword [esp + 0x14], 0
jne 0x42bce5
fld qword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
fstp qword [edx]
jmp 0x42bce8
test esi, esi
je 0x42bcb7
mov eax, dword [esp + 0x10]
or dword [eax], 1
jmp 0x42bcbb
or dword [eax], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0045e88c
mov esp, ebp
pop ebp
ret 0x28
Function at 0x42bd20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47f1e8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x4a97e0]
xor eax, esp
mov dword [esp + 0x64], eax
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x2c]
mov esi, ecx
mov ecx, dword [ebp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x24]
lea edi, [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
call fcn.00428350
lea ecx, [esp + 0x14]
push ecx
push ecx
push eax
lea edx, [ebp + 0x18]
push edx
lea eax, [ebp + 0xc]
push eax
lea edx, [esp + 0x48]
mov ecx, esi
mov dword [esp + 0x94], 0
call fcn.0042cfd0
add esp, 0x10
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0047c279
fstp qword [esp + 0x3c]
mov dword [esp + 0x90], 0xffffffff
mov edi, dword [esp + 0x34]
add esp, 0x10
test edi, edi
je 0x42be12
push 0
lea ecx, [esp + 0x2c]
call fcn.0047c246
mov eax, dword [edi + 4]
test eax, eax
jbe 0x42bdf0
cmp eax, 0xffffffff
jae 0x42bdf0
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x28]
and esi, edi
call fcn.0047c267
test esi, esi
je 0x42be12
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
cmp byte [ebp + 0x14], 0
mov edi, dword [ebp + 0x10]
jne 0x42be57
test edi, edi
je 0x42be51
mov eax, dword [edi + 0x20]
cmp dword [eax], 0
je 0x42be36
mov ecx, dword [edi + 0x30]
cmp dword [ecx], 0
jle 0x42be36
mov edx, dword [eax]
movzx eax, word [edx]
jmp 0x42be42
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
mov ecx, edi
call edx
movzx eax, ax
movzx eax, ax
cmp ax, 0xffff
je 0x42be51
mov word [ebp + 0x16], ax
jmp 0x42be53
xor edi, edi
mov byte [ebp + 0x14], 1
cmp byte [ebp + 0x20], 0
mov esi, dword [ebp + 0x1c]
jne 0x42be8f
test esi, esi
je 0x42be8d
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x42be7b
mov ecx, dword [esi + 0x30]
cmp dword [ecx], 0
jle 0x42be7b
mov edx, dword [eax]
movzx eax, word [edx]
jmp 0x42be87
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, esi
call edx
movzx eax, ax
cmp ax, 0xffff
jne 0x42be8f
xor esi, esi
test edi, edi
jne 0x42beb8
test esi, esi
je 0x42bebc
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x34]
cmp dword [esp + 0x18], ecx
je 0x42bec5
cmp dword [esp + 0x14], 0
jne 0x42bec5
fld qword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
fstp qword [edx]
jmp 0x42bec8
test esi, esi
je 0x42be97
mov eax, dword [esp + 0x10]
or dword [eax], 1
jmp 0x42be9b
or dword [eax], 2
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.0045e88c
mov esp, ebp
pop ebp
ret 0x28
Function at 0x42c100
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47e33b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0047b6f6
push 4
mov dword [esp + 0x20], 0
call fcn.0044201f
mov edi, eax
add esp, 4
test edi, edi
je 0x42c180
call fcn.0047b95c
mov dword [edi], eax
call fcn.0047b790
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0047c246
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x42c175
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.0047c267
jmp 0x42c182
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x42e7f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47e768
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.00401d60
mov eax, 0x495d44
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x42e847
sub eax, edx
sar eax, 1
push eax
push 0x495d44
lea ecx, [esp + 0x14]
call fcn.0040e7c0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.00401d60
cmp dword [esp + 0x24], 8
jb 0x42e891
mov eax, dword [esp + 0x10]
push eax
call fcn.0044204a
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x438530
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47e4ba
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00412250
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00412250
add eax, 0x10
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 1
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00412250
add eax, 0x10
mov dword [esi + 8], eax
mov byte [esp + 0x20], 2
mov eax, dword [edi + 0xc]
sub eax, 0x10
push eax
call fcn.00412250
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x24], 3
mov eax, dword [edi + 0x10]
sub eax, 0x10
push eax
call fcn.00412250
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x28], 4
mov eax, dword [edi + 0x14]
sub eax, 0x10
push eax
call fcn.00412250
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x2c], 5
mov eax, dword [edi + 0x18]
sub eax, 0x10
push eax
call fcn.00412250
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x30], 6
mov edi, dword [edi + 0x1c]
sub edi, 0x10
push edi
call fcn.00412250
add esp, 0x20
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x438e20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47f844
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a97e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
xor esi, esi
push esi
push eax
mov ecx, edi
call fcn.00442119
lea ebx, [edi + 0x2ac]
mov dword [edi], vtable.IDLCDialog.0
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
lea ebp, [edi + 0x2bc]
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov edx, dword [0x4afa94]
mov ecx, dword [0x4aac0c]
mov eax, dword [0x4afa98]
mov dword [edi + 0x2d0], esi
mov dword [edi + 0x2d4], esi
mov dword [edi + 0x2d8], esi
push 0x200
mov dword [edi + 0x7c], edx
mov dword [edi + 0x78], ecx
mov ecx, dword [0x4afaa0]
lea edx, [edi + 0x9c]
push esi
push edx
mov dword [edi + 0x74], esi
mov dword [edi + 0x80], eax
mov dword [edi + 0x94], ecx
mov dword [edi + 0x2a0], esi
mov dword [edi + 0x2a4], esi
mov dword [edi + 0x2a8], esi
mov dword [edi + 0x88], esi
mov dword [edi + 0x84], esi
mov dword [edi + 0x90], esi
mov dword [edi + 0x8c], esi
mov dword [edi + 0x29c], esi
call fcn.00461780
mov esi, dword [edi + 0x2d4]
add esp, 0xc
cmp dword [edi + 0x2d0], esi
mov dword [esp + 0x18], esi
jbe 0x438f18
call fcn.0045eccb
mov eax, dword [edi + 0x2d0]
cmp eax, dword [edi + 0x2d4]
mov dword [esp + 0x30], eax
jbe 0x438f33
call fcn.0045eccb
mov eax, dword [esp + 0x30]
cmp eax, esi
je 0x438f4c
mov esi, dword [edi + 0x2d4]
mov ecx, dword [esp + 0x18]
call fcn.00439bb0
mov dword [edi + 0x2d4], eax
mov eax, dword [ebx + 8]
cmp dword [ebx + 4], eax
mov dword [esp + 0x30], eax
jbe 0x438f5d
call fcn.0045eccb
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x438f6a
call fcn.0045eccb
mov eax, dword [esp + 0x30]
push eax
push ebx
push esi
push ebx
lea ecx, [esp + 0x28]
push ecx
call fcn.00439b50
mov esi, dword [ebp + 8]
cmp dword [ebp + 4], esi
jbe 0x438f89
call fcn.0045eccb
mov ebx, dword [ebp + 4]
cmp ebx, dword [ebp + 8]
jbe 0x438f96
call fcn.0045eccb
push esi
push ebp
push ebx
push ebp
lea edx, [esp + 0x28]
push edx
mov ebx, ebp
call fcn.00439b50
mov eax, dword [esp + 0x34]
push eax
call fcn.00430410
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8