joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452d60
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x486f40
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x20], eax
add eax, 0xb
mov dword [esp + 0x28], eax
mov eax, dword [edi]
mov dword [esp + 0x24], ecx
add ecx, 0xb
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x452dbb
push 0x14
call ebx
push eax
push 0x10
call ebx
push eax
lea eax, [esp + 0x28]
push eax
jmp 0x452dd1
mov eax, dword [edi + 4]
test eax, eax
je 0x452dd8
push 0x10
call ebx
push eax
push 0x14
call ebx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::Draw3dRect
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [esi]
push 0x12
mov ebp, eax
mov dword [esp + 0x44], edx
call ebx
push eax
mov eax, dword [esp + 0x44]
mov ecx, esi
call dword [eax + 0x38]
push 1
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x48c1a0
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x18], 0x48c38c
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x38], 1
mov dword [esp + 0x18], 0x48e238
mov ecx, dword [esi + 8]
push 0x58
push ecx
mov dword [esp + 0x40], 2
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
push ebx
push str.Marlett
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CFont::CreatePointFont
mov edx, dword [esi]
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call dword [edx + 0x30]
push 0x4a9338
lea ecx, [esp + 0x44]
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [eax]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
mov ebx, dword [esi]
mov edi, dword [eax - 8]
add ecx, 2
push edi
add edx, 2
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x48], 3
call dword [ebx + 0x64]
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 2
call fcn.0047e95e
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x38]
or esi, 0xffffffff
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], 0x48e238
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], 0x48c38c
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x38], esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x457160
Capabilities:
Query environment variable

Disassembly:
push 0xffffffffffffffff
push 0x48722f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.00456930
xor ebx, ebx
lea ecx, [esi + 0xf0]
push ebx
push ebx
mov dword [esp + 0x2c], ebx
call fcn.004685b0
lea edi, [esi + 0x148]
mov byte [esp + 0x24], 1
push ebx
mov dword [esp + 0x18], edi
lea ecx, [edi + 0x18]
mov dword [ecx], 0x492e10
mov dword [ecx + 4], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 8], ebx
call fcn.0044d5a0
mov byte [esp + 0x24], 2
mov ecx, edi
mov dword [edi], 0x492e0c
call fcn.00452fe0
push 0xffffffffffffffff
push ebx
push ebx
mov ecx, edi
call fcn.00453000
lea ecx, [esi + 0x180]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CDWordArray::CDWordArray
lea ecx, [esi + 0x598]
mov byte [esp + 0x24], 4
call fcn.00440600
lea edi, [esi + 0xae8]
mov byte [esp + 0x24], 5
mov ecx, edi
call fcn.00440600
lea ebp, [esi + 0x1038]
mov byte [esp + 0x24], 6
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x24], 7
push 0x7d0
lea ecx, [esi + 0xf0]
mov dword [esi], 0x49426c
call fcn.00467d30
push 0xc8
lea ecx, [esi + 0xf0]
call fcn.00468680
push 0x7d0
call fcn.00467ca0
push 0x7d0
mov dword [esi + 0x134], eax
call fcn.00467ca0
add esp, 8
mov dword [esi + 0x140], ebx
lea ecx, [esi + 0x148]
mov dword [esi + 0x138], eax
push 0xffffffffffffffff
push 0x100
push 1
mov dword [esi + 0x144], ebx
call fcn.00453000
cmp dword [esi + 0x154], ebx
jle 0x4572a2
mov eax, dword [esi + 0x15c]
mov eax, dword [eax]
jmp 0x4572a4
xor eax, eax
mov dword [esi + 0x178], ebx
push 1
mov ecx, esi
mov dword [esi + 0x170], eax
mov dword [esi + 0x17c], ebx
call fcn.00458120
lea ecx, [esi + 0xd8]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.TEMP
mov byte [esi + 0x103c], bl
mov byte [esi + 0x103d], bl
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov ecx, ebp
push eax
call fcn.0047e970
lea edx, [esp + 0x10]
push 1
push edx
mov ecx, ebp
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push 0x4a9bd4
push eax
mov byte [esp + 0x2c], 8
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
mov byte [esp + 0x24], 7
call fcn.0047e95e
cmp dword [esp + 0x14], ebx
je 0x457333
push 0x5c
mov ecx, ebp
call fcn.0047eda8
push str._savihost.wav
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
mov ebx, 3
mov edx, dword [edi + 0xc]
cmp word [edi + 8], bx
sete al
xor ecx, ecx
push eax
mov cx, word [edi + 0x16]
push ecx
push 2
push edx
mov ecx, edi
call fcn.004410c0
cmp word [edi + 8], bx
mov edx, dword [edi + 0xc]
sete al
xor ecx, ecx
push eax
mov cx, word [edi + 0xa]
push 0x10
push ecx
push edx
mov ecx, edi
call fcn.004410c0
push 0x3fa030e3
push 0xc0000000
push 0xffffffffffffffff
mov ecx, edi
call fcn.004409b0
mov ebp, dword [ebp]
mov ecx, edi
push ebp
call fcn.004415a0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x1c], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x465da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esp + 0xc]
push edi
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
push eax
push 0x18
push ecx
call edi
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x28]
push edx
push 0x18
mov ecx, dword [eax + 4]
push ecx
call edi
mov eax, dword [esp + 0x70]
xor ebp, ebp
push ebp
lea edx, [esp + 0x14]
push 0x20
push edx
push eax
mov ecx, esi
call fcn.00465c60
mov ebx, eax
mov dword [esp + 0x40], 0x49577c
mov dword [esp + 0x44], ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push eax
push edi
push edx
push ebx
lea ecx, [esp + 0x54]
mov dword [esp + 0x7c], ebp
call fcn.00465840
mov edi, eax
cmp edi, ebp
je 0x465e4f
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
push ecx
push 0x20
lea edx, [esp + 0x30]
push edi
push edx
push eax
mov ecx, esi
call fcn.00465d20
push edi
call fcn.0047e7f0
push ebx
call fcn.0047e7f0
mov eax, dword [esp + 0x4c]
add esp, 8
mov dword [esp + 0x68], 0xffffffff
cmp eax, ebp
mov dword [esp + 0x40], 0x49577c
je 0x465e7f
push eax
call fcn.0047e7f0
add esp, 4
mov eax, dword [esp + 0x58]
cmp eax, ebp
je 0x465e91
push eax
lea ecx, [esp + 0x44]
call fcn.00465070
mov eax, dword [esp + 0x5c]
pop edi
pop esi
cmp eax, ebp
pop ebp
pop ebx
je 0x465ea7
push eax
lea ecx, [esp + 0x34]
call fcn.00465070
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc

Function at 0x46af20
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x84
push ebx
push esi
lea eax, [esp + 8]
push edi
mov esi, ecx
push eax
xor edi, edi
push str.software_asio
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
mov dword [esi + 4], edi
mov dword [esi], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46af8d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov eax, edi
push 0x80
push ecx
push eax
push edx
inc edi
call ebx
test eax, eax
jne 0x46af8d
mov eax, dword [esi]
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push 0
push ecx
push edx
call fcn.0046afd0
add esp, 0x10
mov dword [esi], eax
jmp 0x46af59
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46af9c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi]
test eax, eax
je 0x46afb3
mov edx, dword [esi + 4]
inc edx
mov dword [esi + 4], edx
mov eax, dword [eax + 0x298]
test eax, eax
jne 0x46afa2
mov eax, dword [esi + 4]
test eax, eax
je 0x46afc2
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x84
ret
Function at 0x46afd0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3e4
push ebx
mov ebx, dword [esp + 0x3f8]
test ebx, ebx
jne 0x46b167
mov ecx, dword [esp + 0x3f0]
mov edx, dword [esp + 0x3ec]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46b195
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0xc]
push edi
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
push ebx
push str.clsid
push eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x100
call esi
test eax, eax
jne 0x46b150
lea ecx, [esp + 0x1f0]
push 0x200
lea edx, [esp + 0x2c]
push ecx
push edx
call fcn.0046b1a0
add esp, 0xc
test eax, eax
jne 0x46b150
push 0x29c
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46b150
mov ecx, 0xa7
xor eax, eax
mov edi, ebx
push 0x64
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x400]
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x30]
push 0xffffffffffffffff
push edx
push 0
push 0
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x128]
push eax
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
jne 0x46b0e9
mov eax, dword [esp + 0x18]
lea edx, [ebx + 4]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [edx + 4], ecx
mov eax, dword [esp + 0x20]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x10]
lea eax, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.description
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], 0x100
call esi
test eax, eax
jne 0x46b126
lea edi, [esp + 0x28]
lea edx, [ebx + 0x214]
jmp 0x46b133
mov edi, dword [esp + 0x3f8]
lea edx, [ebx + 0x214]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x3e4
ret
mov eax, dword [esp + 0x3f4]
mov edx, dword [ebx + 0x298]
mov ecx, dword [esp + 0x3f0]
inc eax
push edx
mov edx, dword [esp + 0x3f0]
push eax
push ecx
push edx
call fcn.0046afd0
add esp, 0x10
mov dword [ebx + 0x298], eax
mov eax, ebx
pop ebx
add esp, 0x3e4
ret
Function at 0x46b1a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2a4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2b4]
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
or ebx, 0xffffffff
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ebx
push ecx
push esi
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [esp + 0x10]
push eax
push str.clsid
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x46b366
mov ebx, dword [esp + 0x2bc]
xor ecx, ecx
jmp 0x46b201
mov esi, dword [esp + 0x2b8]
mov ecx, dword [esp + 0x20]
test ebp, ebp
jne 0x46b34c
mov edx, dword [esp + 0x10]
mov eax, ecx
inc ecx
push 0x200
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xb8]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x46b34c
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xb4]
push ecx
push eax
call dword [sym.imp.USER32.dll_CharLowerBuffA]
lea eax, [esp + 0xb4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x46b27a
test cl, cl
je 0x46b276
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x46b27a
add eax, 2
add esi, 2
test cl, cl
jne 0x46b256
xor eax, eax
jmp 0x46b27f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x46b1f6
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0xb4]
push eax
push 0x20019
push 0
push ecx
push edx
call edi
mov esi, eax
test esi, esi
jne 0x46b33f
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push 0x20019
push esi
push str.InprocServer32
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x46b334
mov edx, dword [esp + 0x2c0]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x1c]
push ecx
push esi
push esi
push edx
mov dword [esp + 0x3c], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x46b329
mov ecx, 0x22
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x2c]
push 0x4000
push eax
push ebx
mov byte [esp + 0x38], 0x88
call dword [sym.imp.KERNEL32.dll_OpenFile]
test eax, eax
je 0x46b329
mov dword [esp + 0x1c], esi
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
mov ebp, 1
je 0x46b1f6
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a4
ret
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x2a4
ret
Function at 0x46c7e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4890d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x48c1a0
lea ebx, [esi + 8]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
mov byte [esp + 0x18], 4
push eax
push 0x4a6720
push ebx
mov dword [esi], 0x4963a4
mov dword [esi + 0x1c], 0xffffffff
mov dword [esi + 0x20], 0xbf800000
mov dword [esi + 0x44], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], edi
mov dword [esi + 4], eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
add esp, 0xc
push eax
push ecx
push edx
mov ecx, esi
call fcn.0046c8c0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
mov dword [esp + 0x14], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x46ea00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4895cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [ecx + 4]
push ebx
push ebp
lea edx, [eax + eax*8]
push esi
mov esi, dword [esp + 0x20]
push edi
lea eax, [eax + edx*2]
mov dword [esp + 0x10], 0
mov dword [esi], 0x48c1a0
lea edi, [ecx + eax*4]
lea ebp, [esi + 8]
mov dword [esp + 0x1c], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString
lea ebx, [esi + 0xc]
mov byte [esp + 0x1c], 2
mov ecx, ebx
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x1c], 5
mov dword [esi], 0x4963a4
mov edx, dword [edi + 4]
lea eax, [edi + 8]
push eax
mov ecx, ebp
mov dword [esi + 4], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [edi + 0xc]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x10]
push eax
lea ecx, [esi + 0x10]
mov dword [esi + 0x44], edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [edi + 0x14]
push ecx
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [edi + 0x18]
mov dword [esp + 0x10], 1
mov dword [esi + 0x18], edx
mov eax, dword [edi + 0x48]
mov dword [esi + 0x48], eax
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov edx, dword [edi + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov byte [esp + 0x1c], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x471b10
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x400
push ebx
mov ebx, dword [esp + 0x408]
push esi
push edi
mov esi, ecx
push ebx
call fcn.00473d50
push eax
mov ecx, esi
call fcn.00471a40
mov edi, eax
push 0x4a9338
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov ecx, esi
mov dword [esi + 0x15c], eax
push edi
call fcn.00473d00
cmp edi, ebx
je 0x471b5c
push edi
call fcn.0047e7f0
add esp, 4
mov eax, dword [esi + 0x15c]
test eax, eax
jne 0x471b7c
mov dword [esi + 0x80], 1
pop edi
pop esi
pop ebx
add esp, 0x400
ret 4
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov edi, 1
push eax
push 0x400
lea eax, [esp + 0x14]
push edi
push eax
call ebx
add esp, 0x10
test eax, eax
jle 0x471bd1
test edi, edi
je 0x471be3
push 0
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00473a50
mov edx, dword [esi + 0x15c]
mov edi, eax
push edx
push 0x400
lea eax, [esp + 0x14]
push 1
push eax
call ebx
add esp, 0x10
test eax, eax
jg 0x471b9c
test edi, edi
je 0x471be3
push 1
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, esi
call fcn.00473a50
mov edi, eax
mov edx, dword [esi + 0x15c]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, edi
mov dword [esi + 0x15c], 0
pop edi
pop esi
pop ebx
add esp, 0x400
ret 4

Function at 0x472ee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489ca2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
lea ecx, [esi + 0x14]
call fcn.004727a0
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], 0
call fcn.00472360
mov ebx, 1
push 0x14
mov byte [esp + 0x1c], bl
mov dword [esi], 0x4964fc
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 2
je 0x472f58
mov ecx, eax
call fcn.0046b500
jmp 0x472f5a
xor eax, eax
mov byte [esp + 0x18], bl
push 0x14
mov dword [esi + 4], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 3
je 0x472f81
mov ecx, eax
call fcn.0046b500
jmp 0x472f83
xor eax, eax
mov byte [esp + 0x18], bl
push 0x14
mov dword [esi + 8], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 4
je 0x472faa
mov ecx, eax
call fcn.0046b500
jmp 0x472fac
xor eax, eax
mov byte [esp + 0x18], bl
push 0x14
mov dword [esi + 0xc], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov byte [esp + 0x18], 5
je 0x472fd3
mov ecx, eax
call fcn.0046b500
jmp 0x472fd5
xor eax, eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x18], bl
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esp + 0x18], 0xffffffff
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x473590
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x489d30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ecx, [esi + 0x38]
call fcn.0047dfd0
xor edi, edi
lea ecx, [esi + 0x70]
mov dword [esp + 0x1c], edi
call fcn.004775d0
lea ecx, [esi + 0xb4]
mov byte [esp + 0x1c], 1
call fcn.00472ee0
lea ebp, [esi + 0x11c]
mov byte [esp + 0x1c], 2
mov ecx, ebp
mov dword [esi + 0x118], edi
mov dword [esi + 0x114], edi
call fcn.004727a0
lea ecx, [esi + 0x134]
mov byte [esp + 0x1c], 3
call fcn.004727a0
mov byte [esp + 0x1c], 4
mov dword [esi], 0x496504
mov dword [esi + 4], edi
mov dword [esi + 0x7c], 0x4740e0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x30], esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x9c], edi
xor eax, eax
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0x114], eax
mov dword [esi + 0x118], eax
push 0x100
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0xf8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x104], edi
mov dword [esi + 0x100], edi
mov dword [esi + 0x108], 0x10
call sub.MFC42.DLL_operatornew
push 0x400
mov dword [esi + 0x110], eax
mov dword [esi + 0x10c], edi
call sub.MFC42.DLL_operatornew
mov ebx, dword [esp + 0x30]
add esp, 8
cmp ebx, edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x150], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x5c], edi
je 0x473705
push ebx
mov ecx, ebp
call fcn.00472900
jmp 0x473707
xor eax, eax
mov ecx, dword [esi + 0x110]
mov dword [esi + 0x58], eax
cmp ecx, edi
je 0x473786
mov ecx, dword [esi + 0x28]
cmp ecx, edi
je 0x473786
cmp ebx, edi
je 0x473723
cmp eax, edi
je 0x473786
mov eax, dword [esi + 0xb8]
add ecx, 0x400
cmp eax, edi
mov dword [esi + 0x2c], ecx
je 0x473786
cmp dword [esi + 0xbc], edi
je 0x473786
cmp dword [esi + 0xc0], edi
je 0x473786
cmp dword [esi + 0xc4], edi
je 0x473786
lea ecx, [esi + 0x34]
push edi
push ecx
lea ecx, [esi + 0x38]
call fcn.0047e030
cmp dword [esp + 0x24], edi
je 0x47377f
push str.xmlhttp:__www.w3.org_XML_1998_namespace
mov ecx, esi
mov dword [esi + 0x5c], 1
mov byte [esi + 0x158], 0x21
call fcn.00475170
test eax, eax
je 0x473786
mov dword [esi + 4], 1
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x14], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc