joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463180
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4631b2
jl 0x4631a5
test ecx, ecx
jne 0x4631b2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x463272
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.00450bf0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x46321e
jg 0x4631dd
test esi, esi
je 0x46321e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x4631f5
mov eax, dword [esp + 0x10]
jl 0x4631ef
cmp eax, esi
jae 0x4631f5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00492730
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x46323f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x46325b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x4631c4
jl 0x46325b
test ecx, ecx
jne 0x4631c4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
lea esi, [ebx + 0x2c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4632b6
mov eax, dword [esi]
mov eax, dword [eax]
test eax, eax
je 0x4632b6
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00492730
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
lea esi, [ebx + 0x2c]
cmp dword [ebx + 0x4c], 0
je 0x463327
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x4632dc
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
cmp edi, 0xfff
jbe 0x463312
nop dword [eax + eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.004a3c9f
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x463327
cmp edi, eax
ja 0x4632f0
test edi, edi
je 0x463327
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.004a3c9f
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x463d50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5787b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x605580]
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 edx, ecx
mov dword [ebp - 0x20], edx
mov eax, dword [ebp + 8]
lea ebx, [edx + 4]
cmp dword [ebp + 0xc], 1
lea esi, [edx + 8]
mov dword [ebp - 0x14], eax
lea edi, [edx + 0x14]
sete al
mov dword [edx + 0xc], ebx
mov byte [edx + 0x48], al
lea ecx, [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov byte [edx + 0x3d], 0
mov dword [edx + 0x10], esi
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], ecx
add edx, 0x24
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x18]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp - 0x14]
mov dword [edi], 0
mov dword [edx], 0
test ebx, ebx
je 0x463e39
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 0
push eax
push ebx
call fcn.004a335e
mov edx, dword [ebp - 0x20]
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], eax
jmp 0x463e3c
mov edx, dword [ebp - 0x20]
mov eax, dword [0x60c144]
mov ecx, dword [0x60c148]
mov dword [edx + 0x4c], ebx
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
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.004883ab
mov esp, ebp
pop ebp
ret 8
Function at 0x465090
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x80
push esi
mov dword [esp + 4], 0x10d040e
xor esi, esi
mov dword [esp + 8], 0x80b0f02
mov dword [esp + 0xc], 0xc060a03
mov dword [esp + 0x10], 0x7000905
mov dword [esp + 0x14], 0xe08010f
mov dword [esp + 0x18], 0x4030b06
mov dword [esp + 0x1c], 0xd020709
mov dword [esp + 0x20], 0xa05000c
mov dword [esp + 0x24], 0xe09000a
mov dword [esp + 0x28], 0x50f0306
mov dword [esp + 0x2c], 0x70c0d01
mov dword [esp + 0x30], 0x802040b
mov dword [esp + 0x34], 0x30e0d07
mov dword [esp + 0x38], 0xa090600
mov dword [esp + 0x3c], 0x5080201
mov dword [esp + 0x40], 0xf040c0b
mov dword [esp + 0x44], 0x1040c02
mov dword [esp + 0x48], 0x60b0a07
mov dword [esp + 0x4c], 0xf030508
mov dword [esp + 0x50], 0x90e000d
mov dword [esp + 0x54], 0xf0a010c
mov dword [esp + 0x58], 0x8060209
mov dword [esp + 0x5c], 0x4030d00
mov dword [esp + 0x60], 0xb05070e
mov dword [esp + 0x64], 0xe020b04
mov dword [esp + 0x68], 0xd08000f
mov dword [esp + 0x6c], 0x7090c03
mov dword [esp + 0x70], 0x1060a05
mov dword [esp + 0x74], 0x408020d
mov dword [esp + 0x78], 0x10b0f06
mov dword [esp + 0x7c], 0xe03090a
mov dword [esp + 0x80], 0x70c0005
nop dword [eax]
mov edx, esi
mov ecx, esi
shr edx, 4
and ecx, 0xf
movzx eax, byte [esp + edx + 4]
shl al, 4
or al, byte [esp + ecx + 0x14]
mov byte [esi + 0x60c450], al
movzx eax, byte [esp + edx + 0x24]
shl al, 4
or al, byte [esp + ecx + 0x34]
mov byte [esi + 0x60c150], al
movzx eax, byte [esp + edx + 0x44]
shl al, 4
or al, byte [esp + ecx + 0x54]
mov byte [esi + 0x60c350], al
movzx eax, byte [esp + edx + 0x64]
shl al, 4
or al, byte [esp + ecx + 0x74]
mov byte [esi + 0x60c250], al
inc esi
cmp esi, 0x100
jl 0x4651a0
pop esi
add esp, 0x80
ret

Function at 0x4666f0
Capabilities:
Get session user name

Disassembly:
sub esp, 0x214
mov eax, dword [0x605580]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
mov esi, ecx
mov dword [esi], 0
cmp dword [0x605010], 0
jne 0x46675b
push 0x20a
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00492cb0
add esp, 0xc
mov dword [esp + 4], 0x104
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, section..data
mov word [esp + 0x20e], ax
lea eax, [esp + 8]
push eax
call fcn.00453a30
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.004883ab
add esp, 0x214
ret
Function at 0x466d00
Capabilities:
Get session user name

Disassembly:
sub esp, 0x218
mov eax, dword [0x605580]
xor eax, esp
mov dword [esp + 0x214], eax
mov eax, dword [0x609340]
push edi
mov edi, ecx
test eax, eax
jle 0x466d3e
inc eax
mov dword [0x609340], eax
mov al, 1
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004883ab
add esp, 0x218
ret
push ebx
push esi
lea eax, [esp + 0x10]
mov byte [esp + 0xf], 0
push eax
mov dword [esp + 0x14], 0
call fcn.00466810
test al, al
je 0x466dfc
push 0x57c404
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x466dfc
push str.ImpersonateLoggedOnUser
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [esp + 0x10]
push esi
call eax
test eax, eax
je 0x466df3
inc dword [0x609340]
mov eax, dword [edi]
test eax, eax
je 0x466d9e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], esi
xor esi, esi
mov byte [esp + 0xf], 1
cmp dword [0x605028], esi
jne 0x466df3
push 0x20a
lea eax, [esp + 0x18]
push esi
push eax
call fcn.00492cb0
add esp, 0xc
mov dword [esp + 0x10], 0x104
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
xor eax, eax
mov ecx, 0x605018
mov word [esp + 0x21a], ax
lea eax, [esp + 0x14]
push eax
call fcn.00453a30
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x466e00
mov esi, dword [esp + 0x10]
test esi, esi
je 0x466e0b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x220]
mov al, byte [esp + 0xf]
pop esi
pop ebx
pop edi
xor ecx, esp
call fcn.004883ab
add esp, 0x218
ret
Function at 0x475870
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
lea eax, [esi + 0x1c]
push eax
call fcn.00492cb0
add esp, 0xc
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
pop esi
ret
Function at 0x47d2e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x47d324
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x47d2f4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47d320
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x47d315.4
movzx eax, byte [eax + 0x47d348]
jmp dword [eax*4 + 0x47d340]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret
push 0
push 0x5e
push str.D:_src_rcfl_develop_vendordepends2022PocoFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0046e440
lea eax, [esi + 4]
push eax
call fcn.0047d360
sbb al, 0xd3
inc edi
add byte [edi], dh
rol dword [edi], cl
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
int3
Function at 0x47d360
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57961d
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x10b
ja 0x47d538
je case.0x47d3ae.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x47d3ae.4
movzx eax, byte [eax + 0x47d5d0]
jmp dword [eax*4 + 0x47d594]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0046b0c0
push 0x6002b0
lea eax, [ebp - 0x38]
push eax
call fcn.00492518
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0046afa0
push 0x600388
lea eax, [ebp - 0x38]
push eax
call fcn.00492518
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0046b070
push 0x600268
lea eax, [ebp - 0x38]
push eax
call fcn.00492518
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0046ac30
push 0x6003d0
lea eax, [ebp - 0x38]
push eax
call fcn.00492518
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0046ad60
push 0x6004a8
lea eax, [ebp - 0x38]
push eax
call fcn.00492518
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0046b810
push 0x600418
lea eax, [ebp - 0x38]
push eax
call fcn.00492518
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.0046b5f0
push 0x600460
lea eax, [ebp - 0x38]
push eax
call fcn.00492518
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.00450530
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.0046aff0
push 0x600224
lea eax, [ebp - 0x64]
push eax
call fcn.00492518
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.00450530
mov dword [ebp - 4], 1
jmp 0x47d47f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.00450530
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.0046b5c0
push 0x600460
jmp 0x47d494
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.00450530
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.0046b7e0
push 0x600418
jmp 0x47d494
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.00450530
mov dword [ebp - 4], 4
jmp 0x47d47f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.0046b500
push 0x60019c
jmp 0x47d494
cmp esi, 0x781
je case.0x47d3ae.3
cmp esi, 0x1779
je 0x47d567
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.0046b020
push 0x600224
lea eax, [ebp - 0x90]
jmp 0x47d497
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.0046b110
push 0x600340
jmp 0x47d494
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.0046b4b0
push 0x6002f8
jmp 0x47d494
Function at 0x47d790
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x47d7b7
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x47d7a4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47d7cd
shr eax, 4
and al, 1
pop esi
ret
push 0
push 0x9f
push str.D:_src_rcfl_develop_vendordepends2022PocoFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.0046e440
lea eax, [esi + 4]
push eax
call fcn.0047d360
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5797b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
push 8
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00488615
mov edi, eax
add esp, 4
test edi, edi
je 0x47e4a0
push 1
mov dword [ebp - 4], 0
call fcn.00481438
add esp, 4
mov dword [edi + 4], eax
jmp 0x47e4a2
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.00451240
mov eax, dword [esi + 0xc]
mov ecx, 0
mov dword [esi + 0x38], 0xffffffff
mov byte [esi + 0x3c], 0
mov edx, dword [ebp + 0xc]
test edx, 1
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
pop edi
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
mov eax, 0x48
cmovne eax, ecx
mov dword [esi], vtable.Poco::Base64EncoderBuf.0
mov ecx, dword [ebp + 8]
mov dword [esi + 0x50], eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__d
mov dword [esi + 0x54], eax
mov eax, 0x57e5f0
cmove eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x58], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x47ecf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57986d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00488615
mov esi, eax
add esp, 4
test esi, esi
je 0x47ed90
push 1
mov dword [ebp - 4], 0
call fcn.00481438
add esp, 4
mov dword [esi + 4], eax
jmp 0x47ed92
xor esi, esi
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.00451240
mov eax, dword [edi + 0xc]
mov dword [edi + 0x38], 0xffffffff
mov byte [edi + 0x3c], 0
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, dword [edi + 0x10]
mov dword [eax], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test esi, 1
mov dword [edi], vtable.Poco::Base64DecoderBuf.0
mov dword [edi + 0x40], esi
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov eax, dword [ecx]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], 0x6095d0
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx + 0x38]
mov ecx, 0x6093c8
mov dword [edi + 0x50], eax
mov eax, 0x6094d0
cmove eax, ecx
mov ecx, 0x6095d0
mov dword [edi + 0x54], eax
call fcn.00475350
test esi, 1
je 0x47ee85
cmp byte [0x6094c9], 0
jne 0x47eed1
push 0x100
push 0xff
push 0x6094d0
call fcn.00492cb0
add esp, 0xc
xor ecx, ecx
movzx eax, byte [ecx + 0x57e5f0]
mov byte [eax + 0x6094d0], cl
inc ecx
cmp ecx, 0x40
jb 0x47ee62
mov byte [0x60950d], 0
mov byte [0x6094c9], 1
jmp 0x47eed1
cmp byte [0x6094c8], 0
jne 0x47eed1
push 0x100
push 0xff
push 0x6093c8
call fcn.00492cb0
add esp, 0xc
xor eax, eax
nop word [eax + eax]
movzx ecx, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789__d]
mov byte [ecx + 0x6093c8], al
inc eax
cmp eax, 0x40
jb 0x47eeb0
mov byte [0x609405], 0
mov byte [0x6094c8], 1
lea ecx, [ebp + 0xc]
call fcn.004752f0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x481c07
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x481c2e
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x481c31
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00481be3
pop esi
leave
ret 8
Function at 0x482b50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579a73
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004866f0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00488615
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
xorps xmm0, xmm0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.00469340
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x78], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x484c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579cdf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], 0
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
call fcn.00488615
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov ebx, dword [ebp + 8]
mov ecx, edi
push ebx
mov dword [ebp - 4], 0
call fcn.00484820
lea esi, [edi + 8]
mov dword [ebp - 4], 1
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00488615
add esp, 4
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
movzx eax, byte [ebx + 0x1c]
mov byte [edi + 0x1c], al
movzx eax, byte [ebx + 0x1d]
mov byte [edi + 0x1d], al
cmp byte [ebx + 0x30], 0
mov byte [ebp - 4], 2
jne 0x484d78
mov esi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
je 0x484d6e
push esi
call fcn.00451de0
add esp, 4
lock inc dword [eax]
lea eax, [ebp - 0x18]
mov ebx, 1
jmp 0x484d89
push 0
lea ecx, [ebp - 0x28]
call fcn.00484c00
mov ebx, 2
mov esi, dword [eax]
mov dword [edi + 0x20], esi
mov ecx, dword [eax + 4]
mov dword [edi + 0x24], ecx
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 4], 4
test bl, 2
je 0x484db6
lea ecx, [ebp - 0x28]
and ebx, 0xfffffffd
call fcn.00484ed0
test bl, 1
je 0x484dc3
lea ecx, [ebp - 0x18]
call fcn.00484ed0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 6
mov al, byte [ecx + 0x30]
mov byte [edi + 0x30], al
lea eax, [ecx + 8]
push eax
mov ecx, edi
call fcn.00485af0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x484e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579cfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
push 0x70
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00488615
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.00488615
mov ecx, dword [ebp + 8]
add esp, 8
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
mov al, cl
and al, 1
shr ecx, 1
mov byte [edi + 0x1c], al
and cl, 1
mov byte [edi + 0x1d], cl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x4897a5
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4897e4
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4897e4
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4897e4
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4897e4
cmp dword [ecx + 0x74], 0xe
jbe 0x4897e4
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret