joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a0d0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x4bb1e8
jmp fcn.0042a0e0

Function at 0x42b6a0
Capabilities:
Parse pe header

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
mov edi, dword [esp + 0x1c]
push 0x40
push edi
push 0
push 0
push ebp
call fcn.0042b850
add esp, 0x14
test eax, eax
je 0x42b83f
cmp word [edi], 0x5a4d
je 0x42b6dd
push 0x4b456c
push 1
push 0x197
jmp 0x42b832
lea eax, [esp + 0x10]
push 4
push eax
mov eax, dword [edi + 0x3c]
cdq
push edx
push eax
push ebp
call fcn.0042b850
add esp, 0x14
test eax, eax
je 0x42b83f
cmp dword [esp + 0x10], 0x4550
je 0x42b716
push 0x4b456c
push 1
push 0x19c
jmp 0x42b832
mov esi, dword [edi + 0x3c]
xor ebx, ebx
push 0x14
add esi, 4
push edi
push ebx
push esi
push ebp
call fcn.0042b850
add esp, 0x14
test eax, eax
je 0x42b83f
add esi, 0x14
lea ecx, [esp + 0x1c]
adc ebx, ebx
push 2
push ecx
push ebx
push esi
push ebp
call fcn.0042b850
add esp, 0x14
test eax, eax
je 0x42b83f
mov ax, word [esp + 0x1c]
cmp ax, 0x10b
jne 0x42b783
mov ax, word [edi + 0x10]
cmp ax, 0x78
jae 0x42b779
push 0x4b4558
push 1
push 0x1a9
jmp 0x42b832
mov dword [esp + 0x18], 1
jmp 0x42b7b0
cmp ax, 0x20b
jne 0x42b826
mov ax, word [edi + 0x10]
cmp ax, 0x88
jae 0x42b7a8
push 0x4b4558
push 1
push 0x1af
jmp 0x42b832
mov dword [esp + 0x18], 0
and eax, 0xffff
push eax
push edi
push ebx
push esi
push ebp
call fcn.0042b850
add esp, 0x14
test eax, eax
je 0x42b83f
mov eax, dword [esp + 0x18]
lea edx, [esi + 0x40]
test eax, eax
mov eax, dword [esp + 0x20]
mov dword [eax], edx
je 0x42b7f1
add esi, 0x80
mov dword [eax + 4], esi
mov ecx, dword [edi + 0x80]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x84]
jmp 0x42b809
add esi, 0x90
mov dword [eax + 4], esi
mov ecx, dword [edi + 0x90]
mov dword [eax + 0xc], ecx
mov edx, dword [edi + 0x94]
mov dword [eax + 0x14], edx
mov edx, dword [eax + 4]
mov ecx, dword [edi + 0x40]
add edx, 4
pop edi
pop esi
mov dword [eax + 0x10], ecx
mov dword [eax + 8], edx
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
push 0x4b4540
push 1
push 0x1b3
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.00426da0
add esp, 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x42b850
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x42b88c
push str.SetFilePointerEx__
push eax
push 0xcf
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.004269e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42b8c5
push str.ReadFile__
push eax
push 0xd2
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.004269e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x42b8e9
push 0x4b4584
push 1
push 0xd4
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.00426da0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x42ba10
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x42ba3f
push str.GetFileSizeEx__
push eax
push 0xf4
push str.D:_root.ddev360C360PubSrc360Base360BaseQHImageHlp.c
call fcn.004269e0
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x431070
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], ecx
mov dword [eax + 0x14], ecx
ret

Function at 0x4341a0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x4341d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x434200
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x434320
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x43bad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ec38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov al, byte [esp + 0x48]
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov byte [esp + 0x20], al
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0xc], esi
call fcn.00444450
lea ecx, [esp + 0x20]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push ecx
mov ecx, eax
call dword [edx + 0x34]
mov eax, dword [esp + 0x30]
cmp eax, esi
jbe 0x43bbe9
push ebp
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x24]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edi
lea eax, [edx + esi]
mov ecx, eax
shr ecx, 9
mov ebp, ecx
shl ebp, 9
sub eax, ebp
mov dword [esp + 0x54], eax
mov eax, dword [edi + 8]
cmp eax, ecx
ja 0x43bb77
sub ecx, eax
mov dword [esp + 0x14], edx
add edx, esi
mov eax, edx
lea edi, [esp + 0x24]
shr eax, 9
mov ebp, eax
shl ebp, 9
sub edx, ebp
mov dword [esp + 0x14], edx
mov edx, dword [edi + 8]
cmp edx, eax
ja 0x43bb9a
sub eax, edx
mov ebp, dword [esp + 0x58]
mov edx, dword [ebx]
push ebp
mov ebp, dword [esp + 0x24]
mov ebp, dword [ebp + 4]
mov ecx, dword [ebp + ecx*4]
mov ebp, dword [esp + 0x58]
lea ecx, [ecx + ebp*8]
push ecx
mov ecx, dword [edi + 4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x1c]
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push eax
push ecx
mov ecx, ebx
call dword [edx + 4]
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jb 0x43bb4b
xor esi, esi
pop ebp
cmp eax, esi
je 0x43bc2a
mov edx, dword [esp + 0x2c]
lea ecx, [edx + eax - 1]
mov edx, dword [esp + 0x28]
mov eax, ecx
shr eax, 9
cmp edx, eax
ja 0x43bc02
sub eax, edx
mov edx, dword [esp + 0x24]
and ecx, 0x1ff
mov eax, dword [edx + eax*4]
lea ecx, [eax + ecx*8]
call fcn.0043cfa0
mov eax, dword [esp + 0x30]
dec eax
mov dword [esp + 0x30], eax
jne 0x43bc26
mov dword [esp + 0x2c], esi
cmp eax, esi
jne 0x43bbeb
mov edi, dword [esp + 0x28]
cmp edi, esi
jbe 0x43bc47
mov ecx, dword [esp + 0x24]
dec edi
mov edx, dword [ecx + edi*4]
push edx
call sub.MFC42u.DLL_operatordelete
add esp, 4
cmp edi, esi
ja 0x43bc32
mov eax, dword [esp + 0x24]
push eax
call sub.MFC42u.DLL_operatordelete
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 0x14
Function at 0x442230
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.00441f10
add esp, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4422a3
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4422a3
test edi, edi
je 0x4422a3
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call fcn.00441fb0
add esp, 4
lea edx, [esi + 8]
lea ecx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 1
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x4422f2
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4422f2
test edi, edi
je 0x4422f2
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.00442050
add esp, 4
lea ecx, [esi + 4]
mov dword [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x442341
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x442341
test edi, edi
je 0x442341
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.004420f0
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 3
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x4423a8
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x4423a8
test edi, edi
je 0x4423a8
mov eax, dword [edi]
test eax, eax
je 0x44238f
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x44239f
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.00442190
add esp, 4
add esi, 0x10
lea ecx, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x28], 4
call fcn.00445b10
mov esi, dword [esp + 0x14]
test esi, esi
je 0x442403
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x442403
test esi, esi
je 0x442403
mov eax, dword [esi]
test eax, eax
je 0x4423ea
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x4423fa
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x442b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f6d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.00442780
add esp, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.00445b50
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ebx
je 0x442bfc
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x442bfc
test edi, edi
je 0x442bfc
push 1
mov ecx, edi
call fcn.00412860
lea ecx, [esp + 0x10]
push ecx
call fcn.00442820
add esp, 4
lea edx, [esi + 4]
lea ecx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 1
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x442c4b
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x442c4b
test edi, edi
je 0x442c4b
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.004428c0
add esp, 4
lea ecx, [esi + 8]
mov dword [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x442c9a
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x442c9a
test edi, edi
je 0x442c9a
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.00442960
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 3
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x442ce9
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x442ce9
test edi, edi
je 0x442ce9
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.00442a00
add esp, 4
lea ecx, [esi + 0x10]
mov dword [esp + 0x20], 4
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x442d38
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x442d38
test edi, edi
je 0x442d38
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.00442aa0
add esp, 4
add esi, 0x14
lea ecx, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x28], 5
call fcn.00445b10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x442d83
mov esi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x442d83
test esi, esi
je 0x442d83
mov ecx, esi
call fcn.0040f940
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x4449c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fb78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov esi, ecx
push eax
call fcn.00444490
add esp, 4
push esi
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call fcn.00445b50
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
or ebx, 0xffffffff
test eax, eax
mov dword [esp + 0x20], ebx
je 0x444a33
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x444a33
test edi, edi
je 0x444a33
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
push ecx
call fcn.00444530
add esp, 4
lea edx, [esi + 4]
lea ecx, [esp + 0x28]
push edx
push eax
mov dword [esp + 0x28], 1
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x444a82
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x444a82
test edi, edi
je 0x444a82
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x10]
push eax
call fcn.004445d0
add esp, 4
lea ecx, [esi + 8]
mov dword [esp + 0x20], 2
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
test eax, eax
je 0x444ad1
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x444ad1
test edi, edi
je 0x444ad1
mov ecx, edi
call fcn.0040f940
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x10]
push edx
call fcn.00444670
add esp, 4
lea ecx, [esi + 0xc]
mov dword [esp + 0x20], 3
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00445b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x444b38
mov edi, eax
add eax, 8
push eax
call ebp
test eax, eax
jne 0x444b38
test edi, edi
je 0x444b38
mov eax, dword [edi]
test eax, eax
je 0x444b1f
push eax
call ebx
mov eax, dword [edi + 4]
test eax, eax
je 0x444b2f
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push edi
call sub.MFC42u.DLL_operatordelete
add esp, 4
lea edx, [esp + 0x14]
push edx
call fcn.00444710
add esp, 4
add esi, 0x10
lea ecx, [esp + 0x28]
push esi
push eax
mov dword [esp + 0x28], 4
call fcn.00445b10
mov esi, dword [esp + 0x14]
test esi, esi
je 0x444b93
lea eax, [esi + 8]
push eax
call ebp
test eax, eax
jne 0x444b93
test esi, esi
je 0x444b93
mov eax, dword [esi]
test eax, eax
je 0x444b7a
push eax
call ebx
mov eax, dword [esi + 4]
test eax, eax
je 0x444b8a
push eax
call sub.MFC42u.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42u.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x44743e
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x30]
push ebp
push esi
mov esi, ecx
push ebx
lea ecx, [esp + 0x10]
call fcn.0045a0a0
mov eax, dword [esi + 0x88]
lea ebp, [esi + 0x88]
mov dword [esp + 0x30], 0
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4474ec
mov ecx, dword [esi - 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x31
push ecx
call edi
push eax
call sub.MFC42u.DLL_CGdiObject::FromHandle
test eax, eax
je 0x4474af
mov edx, dword [esi - 0x20]
push 0
push 0
push 0x31
push edx
call edi
push eax
call sub.MFC42u.DLL_CGdiObject::FromHandle
test eax, eax
je 0x4474af
mov eax, dword [eax + 4]
test eax, eax
je 0x4474af
push eax
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
mov ecx, ebx
call sub.MFC42u.DLL_CDC::SetBkMode
lea ecx, [esi - 0x40]
call fcn.00447a90
test ebx, ebx
pop edi
jne 0x4474c9
xor eax, eax
jmp 0x4474cc
mov eax, dword [ebx + 4]
lea ecx, [esi + 0x124]
lea edx, [esi + 0x128]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push ecx
push ebp
push eax
lea ecx, [esi + 0x8c]
call fcn.00460e00
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.0045a120
mov ecx, dword [esp + 0x28]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8
Function at 0x4492f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490792
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 0
call fcn.00448e30
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call sub.MFC42u.DLL_CString::CString_3
mov ebp, dword [esp + 0x30]
mov byte [esp + 0x24], 2
mov ecx, ebp
call fcn.00444430
mov eax, dword [eax]
test eax, eax
je 0x449347
mov eax, dword [eax]
jmp 0x449349
xor eax, eax
mov esi, dword [esp + 0x34]
push eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4b623c
push ecx
call sub.MFC42u.DLL_CString::Format
mov edx, dword [esp + 0x28]
push edx
call fcn.004492a0
add esp, 0x20
test eax, eax
jne 0x4493de
push 0x50
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
mov byte [esp + 0x24], 3
je 0x44939f
mov ecx, eax
call fcn.0044a530
mov edi, eax
jmp 0x4493a1
xor edi, edi
mov ecx, dword [esi]
mov edx, dword [esi + 4]
sub esp, 0x10
mov byte [esp + 0x34], 2
mov eax, esp
push edi
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov ecx, ebp
mov dword [eax + 0xc], edx
call fcn.00444450
mov ecx, eax
call fcn.0044ad80
mov eax, dword [esp + 0xc]
push edi
push eax
call fcn.004492c0
add esp, 8
mov ecx, dword [esp + 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00448fd0
mov esi, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00448e80
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 0
call fcn.00448ed0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x1c
ret

Function at 0x449f50
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49084e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
push esi
lea eax, [esp + 0x210]
push edi
push eax
push 0x104
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x214]
push ecx
push 0
push 0x4b62f4
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xc
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
test esi, esi
mov dword [esp + 0x424], 0
je 0x449ff4
lea eax, [esp + 0xc]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esi], eax
jne 0x449ff6
lea ecx, [esp + 0xc]
test ecx, ecx
je 0x449ff6
push 0x8007000e
call fcn.00436b27
jmp 0x449ff6
xor esi, esi
mov edi, dword [esp + 0x42c]
mov dword [esp + 0x424], 0xffffffff
test esi, esi
mov dword [edi], esi
jne 0x44a018
push 0x8007000e
call fcn.00436b27
mov ecx, dword [esp + 0x41c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x420
ret
Function at 0x4503e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490edc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
push edi
mov esi, ecx
push 0xc
mov dword [esp + 0x18], esi
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x30], 0
je 0x450428
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, eax
call fcn.0041bb20
jmp 0x45042a
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x30], edi
jne 0x450443
push 0x8007000e
call fcn.00436b27
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x38], 1
call fcn.00450b90
mov ecx, dword [esp + 8]
mov dword [esp + 0x30], edi
test ecx, ecx
je 0x45046d
call fcn.00413a00
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x10]
cmp eax, ecx
je 0x4504c3
mov ecx, dword [eax + 0x10]
lea esi, [eax + 0x10]
test ecx, ecx
je 0x45048d
call fcn.00413a00
mov dword [esi], 0
push 0xc
call sub.MFC42u.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x30], 2
je 0x4504ba
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.0041bb20
mov dword [esi], eax
jmp 0x4505ef
xor eax, eax
mov dword [esi], eax
jmp 0x4505ef
push ebp
push 0xc
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x34], 3
test esi, esi
je 0x450514
mov edi, dword [esp + 0x40]
mov dword [esi + 4], 0
push edi
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x45050f
test edi, edi
je 0x45050f
push 0x8007000e
call fcn.00436b27
or edi, 0xffffffff
jmp 0x450516
xor esi, esi
test esi, esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x10], esi
jne 0x45052c
push 0x8007000e
call fcn.00436b27
push 0xc
mov dword [esp + 0x38], 4
call sub.MFC42u.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x40], esi
test esi, esi
mov byte [esp + 0x34], 5
je 0x450578
mov edi, dword [esp + 0x3c]
mov dword [esi + 4], 0
push edi
mov dword [esi + 8], 1
call ebp
test eax, eax
mov dword [esi], eax
jne 0x45057a
test edi, edi
je 0x45057a
push 0x8007000e
call fcn.00436b27
jmp 0x45057a
xor esi, esi
test esi, esi
mov byte [esp + 0x34], 4
mov dword [esp + 0x40], esi
pop ebp
jne 0x450592
push 0x8007000e
call fcn.00436b27
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.0043a320
lea edx, [esp + 0xc]
lea ecx, [esp + 0x1c]
push edx
call fcn.00412840
lea eax, [esp + 0x18]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x38], 7
call fcn.00450960
lea ecx, [esp + 0x1c]
call fcn.0043cfa0
lea ecx, [esp + 0x18]
call fcn.0043cfa0
test esi, esi
je 0x4505e2
mov ecx, esi
call fcn.00413a00
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4505ef
call fcn.00413a00
mov ecx, dword [esp + 0x28]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8