joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10090d20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x10090d30
xor eax, eax
jmp 0x10090ecd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x10090e8e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x102248b0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x102248b0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x102248b0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x102248b0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x102248b0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x102248b0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x102248b0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x102248b0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x10090d39
cmp dword [ebp + 0x10], 0
je 0x10090ec7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x102248b0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x10090e94
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x100bca40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x69c], 0
je 0x100bcaed
cmp dword [ebp + 8], 0x100
jne 0x100bcabd
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x100bcabd
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x6a2]
test eax, eax
je 0x100bca96
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x100bcabd
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x6a3]
test eax, eax
jne 0x100bcabd
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x100bcab9
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
call fcn.1007e670
xor eax, eax
jmp 0x100bcaf2
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x69c]
call fcn.100b92a0
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x100bcaf2
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100e5150
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x102c6100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x100e5175
xor eax, eax
jmp 0x100e523c
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x100e5185
xor eax, eax
jmp 0x100e523c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.10107310
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x100e51b8
xor eax, eax
jmp 0x100e523c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
add ecx, 0x1c8
call fcn.10081850
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.1007e670
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.10077620
movzx ecx, al
test ecx, ecx
je 0x100e523a
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
call fcn.10087650
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101064d2
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100eaf50
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x102c6100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x202
mov word [ebp - 0x29c], ax
lea ecx, [ebp - 0x294]
push ecx
movzx edx, word [ebp - 0x29c]
push edx
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x100eaf8e
xor eax, eax
jmp 0x100eb031
push 0xff
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.1012de20
add esp, 0xc
push 0xff
lea ecx, [ebp - 0x104]
push ecx
call sub.WS2_32.dll_gethostname
lea edx, [ebp - 0x104]
push edx
call sub.WS2_32.dll_gethostbyname
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0
jne 0x100eafd4
xor eax, eax
jmp 0x100eb031
push 4
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0x2a0]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + ecx]
push ecx
lea edx, [ebp - 0x298]
push edx
call fcn.1012d8a0
add esp, 0xc
movzx eax, byte [ebp - 0x298]
shl eax, 0x18
movzx ecx, byte [ebp - 0x297]
shl ecx, 0x10
add eax, ecx
movzx edx, byte [ebp - 0x296]
shl edx, 8
add eax, edx
movzx ecx, byte [ebp - 0x295]
add eax, ecx
mov dword [ebp - 0x2a4], eax
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101064d2
mov esp, ebp
pop ebp
ret
Function at 0x100eb1d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021b760
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x102c6100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov dword [eax + 0x590], 0
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 4], 0
jne 0x100eb309
mov dword [ebp - 0xc0], 8
mov dword [ebp - 0xbc], 0x800
lea edx, [ebp - 0xc0]
push edx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x100eb2c3
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.100eab30
mov dword [ebp - 0xb0], 0x40030000
push 0
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x14]
mov dword [ecx + 0xc], eax
push 0
mov ecx, dword [ebp - 0xb0]
push ecx
push 0
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.100771a0
push eax
mov ecx, dword [ebp - 0xa8]
call fcn.10080340
push 1
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx + 0x10]
call fcn.100be1d0
push eax
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.10076ae0
mov ecx, dword [eax]
push ecx
push 0x30
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0xa4]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xb8]
call fcn.10082690
mov byte [ebp - 0xa9], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.10081700
movzx edx, byte [ebp - 0xa9]
test edx, edx
je 0x100eb384
call fcn.100eaf50
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 0x10]
mov dword [edx + 0x588], eax
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + 0x588]
push edx
push 0
push 0x465
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xa8]
mov byte [eax + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101064d2
mov esp, ebp
pop ebp
ret 4
Function at 0x100eb450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100eb495
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 4]
jne 0x100eb486
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
xor eax, eax
jmp 0x100eb50d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 8], eax
jmp 0x100eb462
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x590], 0
jne 0x100eb4fb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
add eax, 0x588
push eax
push 0
push 0x466
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0x590], 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
call fcn.100eb540
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x101000b0
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x102c6100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
sub edx, 0x21
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0xd
ja case.0x10100115.8
mov eax, dword [ebp - 0x214]
jmp dword [eax*4 + 0x101001ac]
mov ecx, dword [ebp - 0x210]
or ecx, 0x100
mov dword [ebp - 0x210], ecx
cmp dword [ebp + 0x10], 0
je 0x10100146
mov edx, dword [ebp - 0x210]
or edx, 0x1000000
mov dword [ebp - 0x210], edx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.1012de20
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
shl edx, 0x10
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.100814f0
mov ecx, dword [ebp - 0x218]
or ecx, 1
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101064d2
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1010011c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x102c6100]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], 0
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0x214]
sub edx, 0x21
mov dword [ebp - 0x214], edx
cmp dword [ebp - 0x214], 0xd
ja case.0x10100115.8
mov eax, dword [ebp - 0x214]
jmp dword [eax*4 + 0x101001ac]
mov ecx, dword [ebp - 0x210]
or ecx, 0x100
mov dword [ebp - 0x210], ecx
cmp dword [ebp + 0x10], 0
je 0x10100146
mov edx, dword [ebp - 0x210]
or edx, 0x1000000
mov dword [ebp - 0x210], edx
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.1012de20
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x210]
shl edx, 0x10
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
call fcn.100814f0
mov ecx, dword [ebp - 0x218]
or ecx, 1
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101064d2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10105bd3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10105bf4
jl 0x10105beb
test edi, edi
jne 0x10105bf4
xor eax, eax
xor edx, edx
jmp 0x10105cb5
cmp dword [ebx + 0x38], 0
je 0x10105c09
push eax
push edi
push dword [ebp + 8]
call fcn.10053ab0
jmp 0x10105cb5
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10105c50
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x10105c50
cmp eax, edi
jb 0x10105c2a
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.1012d8a0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x10105c56
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x10105caa
mov ecx, ebx
call fcn.1010559e
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x10105c95
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1013d50b
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x10105caa
jmp 0x10105c68
test edx, edx
je 0x10105caa
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1013d50b
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x1010603e
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 0x10106065
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x10106068
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.1010601a
pop esi
leave
ret 8
Function at 0x1011b5c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x1011b604
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x1011b5d4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1011b600
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x13
ja case.0x1011b5f5.4
movzx eax, byte [eax + 0x1011b628]
jmp dword [eax*4 + 0x1011b620]
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.1010c890
lea eax, [esi + 4]
push eax
call fcn.1011b650
cld
mov ch, 17
adc byte [edi], dl
mov dh, 0x11
adc byte [eax], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add ah, cl
int3
Function at 0x1011b650
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1021e2ad
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 0x1011b828
je case.0x1011b69e.123
lea eax, [esi - 2]
cmp eax, 0xcc
ja case.0x1011b69e.4
movzx eax, byte [eax + 0x1011b8c0]
jmp dword [eax*4 + 0x1011b884]
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1010a5e0
push 0x102bfee0
lea eax, [ebp - 0x38]
push eax
call fcn.1012d826
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1010a4c0
push 0x102bffb8
lea eax, [ebp - 0x38]
push eax
call fcn.1012d826
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1010a590
push 0x102bfe98
lea eax, [ebp - 0x38]
push eax
call fcn.1012d826
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1010a150
push 0x102c0000
lea eax, [ebp - 0x38]
push eax
call fcn.1012d826
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1010a280
push 0x102c00d8
lea eax, [ebp - 0x38]
push eax
call fcn.1012d826
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1010ad30
push 0x102c0048
lea eax, [ebp - 0x38]
push eax
call fcn.1012d826
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.1010ab10
push 0x102c0090
lea eax, [ebp - 0x38]
push eax
call fcn.1012d826
push str.sharing_violation
lea ecx, [ebp - 0x24]
call fcn.10054240
mov dword [ebp - 4], 0
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.1010a510
push 0x102bfe54
lea eax, [ebp - 0x64]
push eax
call fcn.1012d826
push str.lock_violation
lea ecx, [ebp - 0x24]
call fcn.10054240
mov dword [ebp - 4], 1
jmp 0x1011b76f
push str.EOF_reached
lea ecx, [ebp - 0x24]
call fcn.10054240
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x64]
call fcn.1010aae0
push 0x102c0090
jmp 0x1011b784
push str.disk_is_full
lea ecx, [ebp - 0x24]
call fcn.10054240
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 3
push eax
lea ecx, [ebp - 0x64]
call fcn.1010ad00
push 0x102c0048
jmp 0x1011b784
push str.negative_seek
lea ecx, [ebp - 0x24]
call fcn.10054240
mov dword [ebp - 4], 4
jmp 0x1011b76f
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1010aa20
push 0x102bfdcc
jmp 0x1011b784
cmp esi, 0x781
je case.0x1011b69e.3
cmp esi, 0x1779
je 0x1011b857
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.1010a540
push 0x102bfe54
lea eax, [ebp - 0x90]
jmp 0x1011b787
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1010a630
push 0x102bff70
jmp 0x1011b784
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x64]
call fcn.1010a9d0
push 0x102bff28
jmp 0x1011b784
Function at 0x1011b9a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x1011b9c7
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x1011b9b4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1011b9dd
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.1010c890
lea eax, [esi + 4]
push eax
call fcn.1011b650
int3

Function at 0x1011b9f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
jmp 0x1011ba00
push esi
mov esi, ecx
cmp dword [esi + 0x14], 0
je 0x1011ba2f
cmp dword [esi + 0x30], 7
lea eax, [esi + 0x1c]
jbe 0x1011ba14
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1011ba45
and eax, 0x410
cmp eax, 0x400
pop esi
sete al
ret
push 0
push 0xaa
push str.D:_src_rcfl_develop_vendordepends2022PocoFoundation_srcFile_WIN32U.cpp
push str.__path.empty__
call fcn.1010c890
lea eax, [esi + 4]
push eax
call fcn.1011b650
int3

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021e490
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.101064e0
mov edi, eax
add esp, 4
test edi, edi
je 0x1011cc50
push 1
mov dword [ebp - 4], 0
call fcn.10103135
add esp, 4
mov dword [edi + 4], eax
jmp 0x1011cc52
xor edi, edi
mov ecx, esi
mov dword [esi + 0x34], edi
call fcn.10055090
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__
mov dword [esi + 0x54], eax
mov eax, 0x10231c00
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