joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3140
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9840
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc0], edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0xaa
movzx esi, ax
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0xbc]
push 0x55
push eax
push 0x59
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c3260
push 0x5c1d30
lea eax, [ebp - 0xbc]
push 0x55
push eax
call fcn.0056f877
lea ecx, [ebp - 0xbc]
add esp, 0xc
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c31d0
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push 0x55
lea eax, [eax + ecx*2]
push eax
push 0x5a
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4c3260
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4c329b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4c3232
movzx eax, ax
mov ecx, edi
push eax
call fcn.00429d90
jmp 0x4c327c
lea ecx, [ebp - 0xbc]
lea edx, [ecx + 2]
jmp 0x4c3240
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c3240
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0042a060
jmp 0x4c327c
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4c32a5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b60
push 0x80004005
call fcn.00429b60
int3
Function at 0x4d0060
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
jne 0x4d026d
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x86
jne 0x4d0115
push dword [edi + 0x30c]
mov dword [edi + 0x304], 1
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4d00ee
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [edi + 0x30]
lea ecx, [edi + 0x308]
push 0
push ecx
mov eax, esp
lea esi, [ebp - 0x14]
push 0
push 0
push 0
push ecx
mov dword [eax], 0
mov eax, esp
push edx
mov dword [eax], esi
call fcn.0044e140
mov esi, dword [ebp - 0x18]
mov dword [esi], 1
cmp dword [edi + 0x304], 0
je 0x4d0142
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 0x18
cmp ebx, 0x4e
jne 0x4d0145
cmp dword [eax + 4], 0x3e8
jne 0x4d0145
push eax
mov dword [edi + 0x304], 1
call fcn.004cf9d0
mov dword [esi], eax
cmp dword [edi + 0x304], 0
jne 0x4d0255
mov eax, dword [ebp - 0x1c]
mov esi, dword [edi + 0x300]
mov ecx, edi
push 0
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push ebx
push dword [ebp + 8]
call fcn.0045f410
mov dword [edi + 0x300], esi
test eax, eax
jne 0x4d0255
cmp ebx, 0x110
jne 0x4d019b
push dword [ebp - 0x1c]
mov dword [edi + 0x304], 1
push ecx
mov ecx, dword [ebp - 0x20]
mov eax, esp
mov dword [eax], ecx
mov ecx, edi
call fcn.004cfbf0
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x4d024c
cmp ebx, 3
jne 0x4d01d4
lea eax, [ebp - 0x14]
mov dword [edi + 0x304], 1
push eax
push dword [edi + 0x30]
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 0x10
lea ecx, [ebp - 0x14]
mov eax, esp
push ecx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea ecx, [edi + 0x308]
call fcn.00465fd0
jmp 0x4d0243
cmp ebx, 0x100
jne 0x4d026d
push dword [edi + 4]
mov dword [edi + 0x304], 1
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4d0243
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
js 0x4d0243
mov eax, dword [ebp - 0x20]
cmp eax, 0x1b
jne 0x4d0215
mov dword [edi + 0x28], 2
jmp 0x4d0226
cmp eax, 0xd
je 0x4d021f
cmp eax, 0x20
jne 0x4d0243
mov dword [edi + 0x28], 1
push 0
push 0
push 0
mov dword [edi + 0x2fc], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
cmp dword [edi + 0x304], 0
je 0x4d026d
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4d2060
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov esi, ecx
push 0x20019
push 0
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x4d20c4
mov dword [ebp - 8], 4
test eax, eax
je 0x4d20cf
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d20c1
cmp dword [ebp - 0xc], 4
jne 0x4d20c1
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d20cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d2320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp eax, dword [esi + 0x14]
je 0x4d238a
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4d237c
mov eax, dword [esi + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d238a
push 4
lea ecx, [ebp - 8]
push ecx
push 4
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4d238a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d2390
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp dword [eax - 0xc], 0
je 0x4d2417
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 4]
jne 0x4d240c
test eax, eax
je 0x4d2417
mov edx, dword [esi + 0x10]
push ebx
lea ebx, [edx + 2]
jmp 0x4d23e0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4d23e0
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [esi + 0x10]
push 1
push 0
push dword [esi + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
pop ebx
test eax, eax
je 0x4d2417
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4d2440
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aae90
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [ebx], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4d253c
xor esi, esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 0x2001f
push esi
push str.SoftwarekingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d249f
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x4d2519
cmp dword [0x6137f4], 8
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push ecx
mov eax, 0x6137e0
cmovae eax, dword [0x6137e0]
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d2535
cmp dword [ebp - 0x1c], 4
jne 0x4d2535
mov ecx, dword [ebx + 4]
cmp dword [ebp - 0x14], ecx
je 0x4d2535
cmp dword [0x6137f4], 8
mov eax, 0x6137e0
push 4
cmovae eax, dword [0x6137e0]
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
push ecx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4d2535
push str.62_tKGlobalInfoCollectReg::unInit_tfail_to_open_HKCU:SoftwarekingsoftOffice6.0Common_reg
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._WARNING_
push 0x641cc8
call fcn.0046b730
add esp, 0x10
test esi, esi
je 0x4d253c
push esi
call edi
mov esi, dword [ebx + 8]
test esi, esi
je 0x4d2564
mov eax, dword [esi]
test eax, eax
je 0x4d2552
push eax
call edi
mov dword [esi], 0
push 0xc
push esi
mov dword [esi + 4], 0
call fcn.0055c524
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d2580
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aaebd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.16_tKGlobalInfoCollectReg::init_tEnableNetworkPrompt
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._INFO_
push 0x641cc8
call fcn.0046b730
xor esi, esi
mov byte [edi], 1
add esp, 0x10
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push 0x2001f
push esi
push str.SoftwarekingsoftOffice6.0Common
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d2600
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
test eax, eax
jne 0x4d2676
cmp dword [0x6137f4], 8
lea ecx, [ebp - 0x10]
push ecx
mov eax, 0x6137e0
mov dword [ebp - 0x10], 4
cmovae eax, dword [0x6137e0]
lea ecx, [ebp - 0x14]
add edi, 4
push edi
push ecx
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [0x6137f8]
test eax, eax
jne 0x4d264c
cmp dword [ebp - 0x14], 4
jne 0x4d264c
cmp dword [edi], ecx
je 0x4d2692
cmp dword [0x6137f4], 8
mov eax, 0x6137e0
push 4
cmovae eax, dword [0x6137e0]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
push 4
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4d2692
push str.35_tKGlobalInfoCollectReg::init_tfail_to_open_HKCU:SoftwarekingsoftOffice6.0Common_reg
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallkglobalinfocollectreg.cpp
push str._WARNING_
push 0x641cc8
call fcn.0046b730
add esp, 0x10
test esi, esi
je 0x4d269d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4d29b0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push esi
push str.189_tKClearDataRemanence::clear_tKClearDataRemanence::Clear
push str.D:pub_bh8h_rc_bug_mas_v12_2409Coding_support_newsetup_srccommonappKUninstallkcleardataremanence.cpp
push str._INFO_
push 0x641cc8
mov esi, ecx
call fcn.0046b730
add esp, 0x10
mov ecx, esi
call fcn.004d29e0
mov ecx, esi
pop esi
jmp fcn.004d2dc0
Function at 0x4d5390
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0x18]
push 0x208
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00560a80
add esp, 0xc
mov dword [ebp - 0x210], 0x208
cmp dword [ebx + 0x14], 8
jb 0x4d53ef
mov ebx, dword [ebx]
cmp dword [edi + 0x14], 8
jb 0x4d53f7
mov edi, dword [edi]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push ebx
push edi
push dword [ebp - 0x218]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, esi
test eax, eax
je 0x4d5439
push dword [ebp - 0x214]
call fcn.0043f520
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov eax, dword [ebp - 0x210]
shr eax, 1
dec eax
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042e330
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret

Function at 0x4df720
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x642360], 0
jne 0x4df72e
call fcn.004f3e30
cmp byte [0x642369], 0
je 0x4df74c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004f4460
add esp, 0x10
ret
jmp fcn.004ddaa0
Function at 0x4df860
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abd7d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov ecx, eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x4df9fa
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
mov edi, eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x3c]
mov ebx, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x24]
mov edi, eax
mov ecx, ebx
mov eax, dword [ebx]
add edi, edi
call dword [eax + 0x20]
mov ebx, dword [esi + 0x14]
add eax, edi
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x64], edi
cmp edi, eax
je 0x4df948
test eax, eax
jne 0x4df8fe
xor ecx, ecx
jmp 0x4df90c
push eax
call fcn.004d8750
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x58]
cmp eax, edi
mov dword [ebp - 0x54], ecx
mov edx, edi
cmovb edx, eax
test ebx, ebx
je 0x4df92d
test ecx, ecx
je 0x4df92d
test edx, edx
je 0x4df92d
push edx
push ebx
push ecx
call fcn.00560500
add esp, 0xc
mov ecx, dword [ebp - 0x64]
xor al, al
mov edi, ebx
rep stosb byte es:[edi], al
push ebx
call fcn.00402ac0
mov ebx, dword [ebp - 0x54]
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x54], ebx
mov edi, dword [ebp - 0x68]
mov dword [esi + 0x14], ebx
mov ebx, dword [ebp - 0x60]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], 0xffffffff
cmp edi, ebx
ja 0x4df970
push edi
push dword [ebp - 0x5c]
push dword [ebp - 0x54]
call fcn.00560500
add esp, 0xc
jmp 0x4df98f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
push edi
push dword [ebp - 0x5c]
mov ecx, eax
mov edx, dword [eax]
push dword [esi + 0x14]
call dword [edx + 0x30]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov edi, eax
mov ecx, ebx
sub ecx, edi
push ecx
mov ecx, dword [esi + 0x14]
add ecx, edi
push 0
push ecx
call fcn.00560a80
add esp, 0xc
xor edi, edi
test ebx, ebx
je 0x4df9dc
nop word [eax + eax]
mov eax, dword [esi + 0x14]
mov ecx, esi
mov bl, byte [eax + edi]
mov eax, dword [esi]
xor bl, 0x5c
call dword [eax + 0x3c]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
mov ecx, dword [esi + 0x14]
add ecx, eax
mov byte [ecx + edi], bl
mov eax, dword [esi + 0x14]
xor byte [eax + edi], 0x36
inc edi
cmp edi, dword [ebp - 0x60]
jb 0x4df9b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 0xc
push 0x5ceca8
lea ecx, [ebp - 0x28]
call fcn.004abb90
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.004ac6a0
push 0x605394
lea eax, [ebp - 0x50]
push eax
call fcn.00560f5e
int3
Function at 0x4f5840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b7b0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
cmp eax, ecx
mov edx, dword [esi + 0x38]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 0
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.00402ac0
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x4f5897
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4f58a8
push 0x3c
push esi
call fcn.0055c524
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4fb3f0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad07e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x40]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [ecx], 0
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0xf
mov byte [esi + 0x58], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0xf
mov byte [esi + 0x70], 0
mov edi, dword [ebp + 8]
mov edx, edi
mov byte [ebp - 4], 3
lea eax, [edx + 1]
mov dword [ebp + 8], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x4fb4e1
sub edx, dword [ebp + 8]
push edx
push edi
call fcn.00438630
mov edi, dword [ebp + 0xc]
mov edx, edi
lea ecx, [edx + 1]
nop word [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4fb500
sub edx, ecx
lea ecx, [esi + 0x58]
push edx
push edi
call fcn.00438630
mov edi, dword [ebp + 0x10]
mov edx, edi
lea ecx, [edx + 1]
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4fb520
sub edx, ecx
lea ecx, [esi + 0x70]
push edx
push edi
call fcn.00438630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad0b8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ecx + 8], 0xffffffff
mov dword [ecx + 4], 0xffffffff
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0xf
mov byte [ecx + 0x20], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x3c], 0
mov dword [ecx], vtable.TiXmlDocument.0
mov dword [ecx + 0x48], 0
mov dword [ecx + 0x58], 0
mov dword [ecx + 0x5c], 0xf
mov byte [ecx + 0x48], 0
mov dword [ecx + 0x68], 0xffffffff
lea edx, [ecx + 0x48]
mov dword [ecx + 0x64], 0xffffffff
mov dword [ecx + 0x60], 4
mov byte [ecx + 0x6c], 0
mov byte [ecx + 0x40], 0
mov dword [ecx + 0x44], 0
cmp dword [ecx + 0x5c], 0x10
jb 0x4fb61d
mov edx, dword [ecx + 0x48]
mov dword [ecx + 0x58], 0
mov eax, ecx
mov byte [edx], 0
mov dword [ecx + 0x68], 0
mov dword [ecx + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x502630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad61c
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], 0
je 0x5026a4
mov dword [ebx], 0x5d0ed0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], 0
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 4]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 8], esi
call fcn.00502440
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0055c4f4
mov esi, eax
add esp, 4
test esi, esi
je 0x5026fe
push 1
mov byte [ebp - 4], 2
call fcn.0055ddcb
add esp, 4
mov dword [esi + 4], eax
jmp 0x502700
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [eax], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4