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

Disassembly:
push 0xffffffffffffffff
push 0x4e883b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
xor eax, eax
xor edx, edx
lea ecx, [esi + 8]
push edi
mov dword [esp + 8], esi
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x14], eax
mov dword [ecx], 0x4f582c
mov dword [ecx + 8], edx
mov dword [ecx + 0x10], edx
mov dword [ecx + 0x18], edx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], edx
mov dword [esi], 0x4f7dd8
sub esp, 0x1c
mov edx, dword [eax + 4]
mov dword [esp + 0x54], esp
mov dword [esi + 4], edx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x24], edx
mov edi, dword [eax + 0xc]
mov edx, esp
mov dword [edx + 4], edi
mov edi, dword [eax + 0x10]
mov dword [edx + 8], edi
mov edi, dword [eax + 0x14]
mov dword [edx + 0xc], edi
mov edi, dword [eax + 0x18]
mov dword [edx + 0x10], edi
mov edi, dword [eax + 0x1c]
mov dword [edx + 0x14], edi
mov eax, dword [eax + 0x20]
mov dword [edx + 0x18], eax
mov dword [edx], 0x4f582c
lea edx, [esp + 0x28]
push edx
call fcn.00443f70
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x2c
ret 4
Function at 0x44d6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e96f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
lea ecx, [esp + 0x30]
call fcn.00456e50
mov ax, word [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov word [esp + 0x40], ax
xor esi, esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x68], esi
dec eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x20], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edx
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
push edi
push edx
push ecx
call fcn.0044d8a0
add esp, 0x24
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
je 0x44d85e
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x28]
push edx
mov edx, dword [ebp + 0xc]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
push ecx
push edx
mov ebx, dword [eax + esi*8 + 0xc]
mov edi, dword [eax + esi*8 + 8]
mov ecx, ebx
mov edx, edi
push ecx
mov ecx, dword [eax + esi*8 + 4]
push edx
mov edx, dword [eax + esi*8]
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
call fcn.0044da20
add esp, 0x24
test eax, eax
je 0x44d75b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
sub esp, 0x30
neg ecx
mov dword [esp + 0x64], edx
lea edx, [esp + 0x64]
sbb ecx, ecx
mov dword [esp + 0x68], eax
and ecx, edx
mov eax, esp
mov dword [esp + 0x44], esp
mov edx, dword [ecx]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov cx, word [esp + 0x70]
mov word [eax + 0x10], cx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x14], edx
mov cx, word [esp + 0x78]
mov word [eax + 0x18], cx
mov dx, word [esp + 0x7a]
mov word [eax + 0x1a], dx
mov cx, word [esp + 0x7c]
mov word [eax + 0x1c], cx
mov dx, word [esp + 0x7e]
mov word [eax + 0x1e], dx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x20], ecx
mov edx, dword [esp + 0x84]
mov dword [eax + 0x24], edx
mov cx, word [esp + 0x88]
mov word [eax + 0x28], cx
mov edx, dword [esp + 0x8c]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x2c], edx
mov dword [eax], 0x4f5588
call fcn.00416960
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
jmp 0x44d736
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push ebx
push edi
push eax
push ecx
call fcn.00434090
fstp qword [esp + 0x24]
add esp, 0x10
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 0xffffffff
call fcn.00456e80
mov ecx, dword [esp + 0x60]
pop edi
fld qword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4560f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ea038
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], ecx
mov ecx, 0x19
push edi
mov eax, 0x14a
push ecx
push eax
push ecx
xor edi, edi
mov ecx, esp
mov dword [esp + 0x14], esp
mov dword [esi + 0x20], edi
push 0x51115c
mov dword [esi + 8], edi
mov dword [esi + 0x24], edi
call sub.MFC42.DLL_CString::CString_2
push edi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
call fcn.00491ce0
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esi + 0x28]
mov edx, dword [eax]
push edx
call fcn.004def30
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x58], edi
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret

Function at 0x456b70
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x4ea147
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.004d3090
push 0
push 0x80000001
lea ecx, [esp + 0x18]
mov dword [esp + 0x68], 1
call fcn.004d3270
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
push str.Volatile_Environment
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 2
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 8]
push 0xf003f
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 3
call fcn.004d3c00
test eax, eax
je 0x456c3a
push str.APPDATA
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 4]
lea ecx, [esp]
push ecx
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 4
call fcn.004d3b20
test eax, eax
jne 0x456c21
push str.C:Temp
lea ecx, [esp + 4]
call fcn.004e28bc
lea ecx, [esp + 0x10]
call fcn.004d3220
lea ecx, [esp + 4]
mov byte [esp + 0x60], 3
call fcn.004e2712
jmp 0x456c48
push str.C:Temp
lea ecx, [esp + 4]
call fcn.004e28bc
push esi
push str.PS_300B
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x50f3ec
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
mov esi, dword [esp + 0x6c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x64], 2
call fcn.004e2712
lea ecx, [esp + 4]
mov byte [esp + 0x64], 1
call fcn.004e2712
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 0
call fcn.004d3130
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret

Function at 0x456cd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0
push 0x27
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [esp + 0x10c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004e28bc
push 0x50f3ec
mov ecx, esi
call sub.MFC42.DLL_CString::operator
pop esi
add esp, 0x104
ret
Function at 0x456dd0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
push 0
push 5
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov esi, dword [esp + 0x10c]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.004e28bc
push 0x50f3ec
mov ecx, esi
call sub.MFC42.DLL_CString::operator
pop esi
add esp, 0x104
ret
Function at 0x45c5f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ea95f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0
call fcn.00456e50
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x74], 1
test eax, eax
jle 0x45c66d
sub esp, 0x30
lea ecx, [esi + 0x54]
mov eax, esp
mov dword [esp + 0x38], esp
push 0
push eax
call fcn.0040b280
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x40]
call fcn.00456e90
lea ecx, [esp + 0x3c]
call fcn.00456e80
lea eax, [esp + 0xc]
lea edx, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edx
push eax
call fcn.00434610
add esp, 4
lea eax, [esp + 0xc]
mov esi, dword [esp + 0x7c]
neg eax
sbb eax, eax
lea ecx, [esp + 0x10]
and eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0xc], ecx
mov cx, word [esp + 0x24]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 4], edx
mov dx, word [esp + 0x1c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x20]
mov word [esi + 0x10], dx
mov dx, word [esp + 0x26]
mov dword [esi + 0x14], eax
mov ax, word [esp + 0x28]
mov word [esi + 0x18], cx
mov cx, word [esp + 0x2a]
mov word [esi + 0x1a], dx
mov edx, dword [esp + 0x2c]
mov word [esi + 0x1c], ax
mov eax, dword [esp + 0x30]
mov word [esi + 0x1e], cx
mov cx, word [esp + 0x34]
mov dword [esi + 0x20], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x24], eax
mov word [esi + 0x28], cx
mov dword [esi + 0x2c], edx
mov dword [esi], 0x4f5588
mov dword [esp + 4], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x74], 0
call fcn.00456e80
mov ecx, dword [esp + 0x6c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x74
ret 4
Function at 0x45c720
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4ea98f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 4], 0
call fcn.00456e50
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x74], 1
test eax, eax
jle 0x45c7a5
add esi, 0x54
mov ecx, esi
call fcn.004272c0
sub esp, 0x30
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
push ecx
mov ecx, esi
call fcn.0040b280
lea edx, [esp + 0x6c]
lea ecx, [esp + 0x3c]
push edx
call fcn.00456e90
lea ecx, [esp + 0x3c]
call fcn.00456e80
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
neg eax
sbb eax, eax
and eax, ecx
push eax
call fcn.00434610
add esp, 4
lea eax, [esp + 0xc]
mov esi, dword [esp + 0x7c]
neg eax
sbb eax, eax
lea edx, [esp + 0x10]
and eax, edx
mov dword [esi], 0x4f5588
mov dword [esp + 4], 1
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x18]
mov dword [esi + 4], ecx
mov cx, word [esp + 0x1c]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0xc], eax
mov ax, word [esp + 0x24]
mov word [esi + 0x10], cx
mov cx, word [esp + 0x26]
mov dword [esi + 0x14], edx
mov dx, word [esp + 0x28]
mov word [esi + 0x18], ax
mov ax, word [esp + 0x2a]
mov word [esi + 0x1a], cx
mov ecx, dword [esp + 0x2c]
mov word [esi + 0x1c], dx
mov edx, dword [esp + 0x30]
mov word [esi + 0x1e], ax
mov ax, word [esp + 0x34]
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x24], edx
mov word [esi + 0x28], ax
mov dword [esi + 0x2c], ecx
lea ecx, [esp + 0xc]
mov byte [esp + 0x74], 0
call fcn.00456e80
mov ecx, dword [esp + 0x6c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x74
ret 4
Function at 0x45d830
Capabilities:
Enumerate pe sections

Disassembly:
push 0xffffffffffffffff
push 0x4eaaa0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x60]
call fcn.00435570
mov ax, word [esi + 6]
xor edi, edi
cmp ax, 3
mov dword [esp + 0x88], edi
jne 0x45d901
add esi, 0x40
lea eax, [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.00416560
cmp eax, edi
je 0x45d886
add eax, 4
jmp 0x45d888
xor eax, eax
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], edx
call fcn.004ba050
lea eax, [esp + 0x24]
push 1
push eax
mov ecx, esi
call fcn.00416560
cmp eax, edi
je 0x45d8b5
add eax, 4
jmp 0x45d8b7
xor eax, eax
mov esi, dword [eax]
mov edi, dword [eax + 4]
lea ecx, [esp + 0x24]
call fcn.004ba050
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push esi
push ecx
push edx
call fcn.00434090
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.00434930
add esp, 0x18
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x14]
lea edx, [eax + ecx]
mov eax, dword [esp + 0x18]
jmp 0x45d9e7
cmp ax, 0x1e
jne 0x45d9db
lea ebp, [esi + 0x40]
lea edx, [esp + 0x4c]
push 2
push edx
mov ecx, ebp
call fcn.00416560
cmp eax, edi
mov byte [esp + 0x88], 1
je 0x45d92b
lea edi, [eax + 4]
lea eax, [esp + 0x38]
push 1
push eax
mov ecx, ebp
call fcn.00416560
test eax, eax
mov byte [esp + 0x88], 2
je 0x45d94a
lea esi, [eax + 4]
jmp 0x45d94c
xor esi, esi
lea ecx, [esp + 0x24]
push 0
push ecx
mov ecx, ebp
call fcn.00416560
test eax, eax
mov byte [esp + 0x88], 3
je 0x45d96b
add eax, 4
jmp 0x45d96d
xor eax, eax
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
push edx
mov edx, dword [edi + 4]
push ecx
mov ecx, dword [edi]
push edx
mov edx, dword [esi + 4]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.00432a80
add esp, 0x20
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 2
call fcn.004ba050
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], 1
call fcn.004ba050
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 0
call fcn.004ba050
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
add edx, ecx
jmp 0x45d9e7
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
xor edi, edi
xor esi, esi
push edi
push esi
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
push 2
lea ecx, [esp + 0x7c]
call fcn.00435600
sub esp, 0x20
lea edx, [esp + 0x80]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004355b0
mov ecx, dword [esp + 0xb0]
call fcn.00472d90
lea ecx, [esp + 0x60]
mov dword [esp + 0x88], 0xffffffff
call fcn.004355f0
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x80
ret 4
Function at 0x45df10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eab10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, 0x4f67d8
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0xa
xor ecx, ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x24], ebx
movsx eax, word [esi + 8]
mov edx, dword [ecx + 4]
lea ecx, [esp + 0x10]
add esi, 0x40
push ecx
mov eax, dword [edx + eax*4]
push esi
push eax
call fcn.004ada50
lea edx, [esp + 0x60]
push edx
call fcn.004346c0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, esp
sub esp, 0x10
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x68]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0xc], edx
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.00475bb0
add esp, 0x28
mov dword [esp + 0x40], eax
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x34], 1
cmp ebp, ebx
je 0x45e012
lea esi, [ebp + 8]
xor edi, edi
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x2c
mov eax, edi
dec edi
test eax, eax
jne 0x45dffa
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x45dff5
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 0x28

Function at 0x45e0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4eab30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [esp + 0xc], 0x4f583c
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
cmp eax, edi
mov dword [esp + 0x28], edi
jne 0x45e100
push 1
lea eax, [esi + 0x54]
push edi
push eax
push edi
push edi
push edi
lea ecx, [esp + 0x24]
push edi
push ecx
push ebx
call fcn.004b53c0
add esp, 0x24
cmp dword [esp + 0x38], edi
jne 0x45e11b
push 1
add esi, 0x54
push edi
lea edx, [esp + 0x14]
push esi
push edx
push ebx
call fcn.004b5700
add esp, 0x14
mov dword [esp + 0xc], 0x4f583c
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 1
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x45e13f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x462df0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4eb0d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], 1
lea ecx, [esp + 0x38]
call fcn.004ba030
xor ebp, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x68], ebp
call fcn.004dc560
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0x80]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x78]
sub esp, 0x14
mov dword [esp + 0x40], ecx
mov ecx, esp
mov dword [esp + 0x94], esp
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x90]
lea ebx, [esi + 0x40]
push ebp
push ecx
mov ecx, ebx
mov byte [esp + 0x84], 1
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
call fcn.00416560
lea edx, [esp + 0x60]
lea ecx, [esp + 0x4c]
push edx
call fcn.004ba0a0
lea ecx, [esp + 0x4c]
call fcn.004ba050
mov ax, word [edi + 6]
cmp ax, 3
jne 0x462f54
lea eax, [esp + 0x4c]
push ebp
push eax
mov ecx, ebx
call fcn.00416560
cmp eax, ebp
je 0x462eb3
add eax, 4
jmp 0x462eb5
xor eax, eax
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x18], edx
call fcn.004ba050
lea eax, [esp + 0x4c]
push 1
push eax
mov ecx, ebx
call fcn.00416560
cmp eax, ebp
je 0x462ee2
add eax, 4
jmp 0x462ee4
xor eax, eax
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], edx
call fcn.004ba050
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
call fcn.004dcae0
test eax, eax
je 0x462f4b
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x28]
call fcn.004dcae0
test eax, eax
je 0x462f4b
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x14]
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x18]
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x44]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x18], ecx
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x20]
mov dword [edx + 0x1c], eax
jmp 0x462fd6
mov dword [esp + 0x10], ebp
jmp 0x462fd6
cmp ax, 0x1e
jne 0x462fd6
mov eax, dword [esi + 0x48]
xor edi, edi
cmp eax, ebp
jle 0x462fd6
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x94], esp
push edi
push ecx
mov ecx, ebx
call fcn.00416560
lea edx, [esp + 0x60]
lea ecx, [esp + 0x4c]
push edx
call fcn.004ba0a0
lea ecx, [esp + 0x4c]
call fcn.004ba050
lea eax, [esp + 0x38]
lea ecx, [esp + 0x3c]
neg eax
sbb eax, eax
and eax, ecx
lea ecx, [esp + 0x24]
push eax
call fcn.004dcae0
test eax, eax
je 0x462fce
mov edx, dword [esi + 0x44]
mov eax, dword [esp + 0x3c]
inc edi
mov dword [edx + ebp + 4], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [esp + 0x40]
mov dword [ecx + ebp + 8], edx
mov eax, dword [esi + 0x48]
add ebp, 0x14
cmp edi, eax
jl 0x462f63
jmp 0x462fd6
mov dword [esp + 0x10], 0
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 0
call fcn.004dc5b0
lea ecx, [esp + 0x38]
mov dword [esp + 0x68], 0xffffffff
call fcn.004ba050
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x5c
ret 0x14
Function at 0x476650
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4ec4e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
sub esp, 0x10
mov ecx, dword [esp + 0x90]
mov eax, esp
mov edx, dword [esp + 0x94]
sub esp, 0x10
mov dword [esp + 0x50], 0
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x68]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.00477460
mov esi, dword [eax]
add esp, 0x1c
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov edi, dword [eax + 4]
mov eax, esp
sub esp, 0x10
mov dword [eax], ebx
mov dword [eax + 4], ebp
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x70]
push eax
lea edx, [esp + 0x9c]
push ecx
push edx
call fcn.00477460
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
push edi
push esi
call fcn.00434090
fstp qword [esp + 0xa4]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
push eax
push ecx
call fcn.00434930
add esp, 0x44
call sub.MSVCRT.dll__ftol
lea ecx, [edi + eax]
lea edx, [eax + esi]
sub edi, eax
push ecx
sub esi, eax
push edx
push edi
lea edx, [esp + 0x24]
push esi
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.GDI32.dll_Ellipse]
lea ecx, [esp + 0x3c]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call fcn.004d9ba0
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x47c750
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ed108
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], ebx
call sub.MFC42.DLL_CFile::CFile
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CByteArray::CByteArray
mov eax, dword [esp + 0x40]
push ebx
push 0x8000
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x47c7eb
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.004e2910
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.004e2940
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
pop edi
pop esi
mov ax, 0xfffd
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFile::GetLength
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x24]
mov esi, eax
call sub.MFC42.DLL_CByteArray::SetSize
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CByteArray::SetSize
mov ecx, dword [esp + 0x20]
push esi
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFile::Close
cmp dword [esp + 0x24], ebx
jne 0x47c870
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 1
call fcn.004e2910
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.004e2940
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
pop edi
pop esi
mov ax, 0xfffb
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 4
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.0047c8d0
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x38], 1
call fcn.004e2910
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.004e2940
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004e2712
mov ecx, dword [esp + 0x30]
mov ax, si
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 4