joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af8f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4af90f
add esp, 0xfffffff0
call fcn.00458660
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004293a4
mov eax, dword [0x59e2a4]
cmp byte [eax], 0
jne 0x4af93c
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x59e2e0]
cmp word [eax + 2], 0
jne 0x4af956
mov eax, dword [0x59e2e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b19f0
mov eax, dword [0x59e2e4]
cmp word [eax + 2], 0
jne 0x4af970
mov eax, dword [0x59e2e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004b1c00
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x48bfc8]
call fcn.0049229c
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4b21b0
mov dl, 1
mov eax, dword [0x412344]
call fcn.004580fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412344]
call fcn.004580fc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x490460]
call fcn.0049b70c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4afb50
mov eax, dword [0x59e29c]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0049bba0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4b2498
mov dl, 1
mov eax, dword [0x412344]
call fcn.004580fc
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x59e29c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0043d640
test eax, eax
je 0x4afa81
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0043d36c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0043d624
test eax, eax
je 0x4afa99
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.USER32.DLL_CharNextW
push eax
call sub.USER32.DLL_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.0045a61c
push ebx
push 0x4b13c0
call fcn.004a5444
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x59e2a4]
cmp byte [eax], 0
jne 0x4afaea
mov eax, ebx
call fcn.004afcc4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004b26c4
mov eax, ebx
call fcn.004b32f8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4afb47
call fcn.004586b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4aff98
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4b003a
cmp dword [ebx + 0x94], 0
jne 0x4b0034
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4afee4
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4b0034
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
test al, 8
je 0x4afffa
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4b0034
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d3a4
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4b0009
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4b0258
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x5a3e10]
cmp dword [eax + 0x170], 0
je 0x4b03bd
test bl, bl
jne 0x4b030b
cmp dword [esi + 0x9c], 0
jne 0x4b0300
mov eax, esi
call fcn.004b3148
push eax
push 0x4b0164
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4b02d1
mov eax, dword [0x5a3e10]
cmp byte [eax + 0xd3], 0
je 0x4b02d1
mov eax, dword [esi + 0xd8]
call fcn.0045bc78
mov edi, eax
cmp edi, 0
jl 0x4b02d1
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b02ba
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b0300
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d3a4
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b02e0
inc dword [esi + 0x9c]
jmp 0x4b03bd
cmp dword [esi + 0x9c], 0
jle 0x4b03bd
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4b03bd
cmp dword [esi + 0x44], 0
je 0x4b0368
mov eax, dword [0x5a3e10]
cmp byte [eax + 0xd3], 0
je 0x4b0368
mov eax, dword [esi + 0xd8]
call fcn.0045bc78
mov edi, eax
cmp edi, 0
jl 0x4b0368
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4b0351
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4b0397
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041d3a4
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4b0377
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4a331c]
call fcn.0045be38
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4b100c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4b1077
cmp byte [ebx + 0xd3], 0
jne 0x4b1077
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0045a558
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4b1064
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4b1084
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0045a41c
jmp 0x4b1084
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0045a41c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4b28ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4b291a
mov eax, esi
call fcn.004da054
test al, al
je 0x4b291a
mov eax, dword [ebx + 0x84]
call fcn.004d9ca8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4b291a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4b290e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004d9ca8
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004d0c80
jmp 0x4b291a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004b26e4
pop esi
pop ebx
ret
Function at 0x4c0818
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0045a404
xor eax, eax
push ebp
push 0x4c09ad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x4c097b
xor edx, edx
push ebp
push 0x4c0974
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0045a470
mov eax, dword [ebp - 8]
test eax, eax
je 0x4c0887
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4c0887
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.0045952c
test eax, eax
je 0x4c0890
sub eax, 4
mov eax, dword [eax]
add eax, eax
add eax, 2
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4c0949
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor edx, edx
push ebp
push 0x4c0938
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.0045a470
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4c08f2
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4c08f2
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0045952c
test eax, eax
je 0x4c08fb
sub eax, 4
mov eax, dword [eax]
mov esi, eax
add esi, esi
mov eax, dword [ebp - 4]
call fcn.0045a4a8
lea ecx, [esi + 2]
mov edx, ebx
call fcn.00457710
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 0x10]
push eax
push 0xd
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c093f
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x59e840]
mov dl, 1
mov eax, dword [0x436770]
call fcn.00442a34
call fcn.00458c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c09b4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0045a414
ret
Function at 0x4ce2c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x5a3ed4], 0
je 0x4ce409
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x59e2cc]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4ce409
mov eax, dword [0x5a3ed8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5a3ed4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4ce3d8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5a3ed4]
call fcn.0041d3a4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4ce3d0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4ce3d0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4ce3d0
mov eax, dword [ebp - 0x14]
call fcn.004d9ca8
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4ce3d0
push ebp
call fcn.004ce284
pop ecx
test al, al
jne 0x4ce3d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004583b8
test al, al
je 0x4ce3d0
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004583b8
cmp byte [ebp - 1], 0
je 0x4ce3d0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00435034
test al, al
je 0x4ce3d0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5a3ed8]
call fcn.004cd9dc
inc edi
dec ebx
jne 0x4ce32d
mov eax, dword [0x5a3ed8]
cmp dword [eax + 8], 0
jle 0x4ce3f0
mov eax, dword [0x5a3ed8]
call fcn.004cda94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4ce409
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004ce0e8
pop ecx
test al, al
jne 0x4ce409
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d6854
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.0043501c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004d0890
test ebx, ebx
jne 0x4d68a7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004d66d0
mov ebx, eax
test ebx, ebx
je 0x4d699d
cmp esi, ebx
je 0x4d68d0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4d68e5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4d691d
add eax, 0xffffff5f
sub eax, 2
jb 0x4d6935
dec eax
sub eax, 2
jb 0x4d6949
dec eax
sub eax, 2
jb 0x4d693f
jmp 0x4d6953
add eax, 0xfffffdff
sub eax, 2
jb 0x4d6935
dec eax
sub eax, 2
jb 0x4d6949
dec eax
sub eax, 2
jb 0x4d693f
jmp 0x4d6953
mov byte [esp + 0x120], 0
jmp 0x4d695b
mov byte [esp + 0x120], 2
jmp 0x4d695b
mov byte [esp + 0x120], 1
jmp 0x4d695b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.004a54f4
mov esi, eax
call fcn.004cd0c8
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004d2250
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4d699f
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x507208
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe00
mov ebx, eax
test ebx, ebx
je 0x507312
mov ebp, ebx
mov eax, ebp
test eax, eax
je 0x507229
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test ebx, ebx
je 0x507239
mov eax, ebp
sub eax, 0xa
movzx eax, word [eax]
jmp 0x50723d
mov ax, 2
cmp ax, 1
jne 0x5072b6
test ebx, ebx
je 0x507251
mov eax, ebp
sub eax, 0xc
movzx eax, word [eax]
jmp 0x507259
mov eax, dword [0x59e8f8]
movzx eax, word [eax]
push 0
push 0
push edi
push ebx
push 0
movzx eax, ax
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
mov edi, eax
cmp edi, 0x100
jle 0x507281
mov eax, edi
add eax, eax
call fcn.004574d0
mov esi, eax
jmp 0x507283
mov esi, esp
test ebx, ebx
je 0x507291
mov eax, ebp
sub eax, 0xc
movzx edx, word [eax]
jmp 0x50729a
mov edx, dword [0x59e8f8]
movzx edx, word [edx]
mov eax, ebp
test eax, eax
je 0x5072a5
sub eax, 4
mov eax, dword [eax]
push edi
push esi
push eax
push ebx
push 0
movzx eax, dx
push eax
call sub.KERNEL32.DLL_MultiByteToWideChar
jmp 0x5072da
cmp edi, 0x100
jle 0x5072cb
mov eax, edi
add eax, eax
call fcn.004574d0
mov esi, eax
jmp 0x5072cd
mov esi, esp
mov ecx, edi
add ecx, ecx
mov edx, esi
mov eax, ebx
call fcn.00457710
push edi
push esi
call sub.USER32.DLL_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x507303
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x5072ed
mov eax, esp
cmp esi, eax
je 0x507314
mov eax, esi
call fcn.004574ec
jmp 0x507314
xor ebx, ebx
mov eax, ebx
add esp, 0x200
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x52c038
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
test dl, dl
je 0x52c055
add esp, 0xfffffff0
call fcn.00458660
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x52c1a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, esi
xor edx, edx
mov eax, ebx
call fcn.004293a4
lea eax, [ebp - 0x18]
call fcn.00533884
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x70]
call fcn.0045d2fc
mov byte [ebx + 0x34], 0
mov eax, dword [ebx + 0x70]
mov edx, dword [eax]
call dword [edx + 0x18]
mov byte [ebx + 0x34], 1
mov byte [ebx + 0x6d], 0
mov byte [ebx + 0x3e], 1
mov ecx, ebx
mov dl, 1
mov eax, dword [0x53dd7c]
call fcn.00542438
mov edi, eax
mov dword [ebx + 0x38], edi
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x18], 0x52c3f8
mov dword [edi + 0x34], ebx
mov dword [edi + 0x30], 0x52d7f0
mov byte [ebx + 0x3c], 0
mov byte [ebx + 0x3d], 0
mov byte [ebx + 0x40], 0
xor eax, eax
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x414a44]
call fcn.00420c70
mov edi, eax
mov dword [ebx + 0x58], edi
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x38], 0x52d7cc
mov dl, 1
mov eax, dword [0x414a44]
call fcn.00420c70
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x4c], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5262ec]
call fcn.0052b6a4
mov dword [ebx + 0x64], eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5262ec]
call fcn.0052b6a4
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x6c], 0
mov byte [ebx + 0x5c], 1
lea eax, [ebp - 0x11]
push eax
call fcn.0043b3a4
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x11]
call fcn.0043b438
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x48]
mov ecx, 0
call fcn.0045a660
mov eax, esi
mov edx, dword [0x53c2e0]
call fcn.00458348
test al, al
je 0x52c171
mov edx, esi
mov eax, ebx
call fcn.0052d150
jmp 0x52c18b
mov eax, esi
mov edx, dword [0x53d300]
call fcn.00458348
test al, al
je 0x52c18b
mov edx, esi
mov eax, ebx
call fcn.0052d7a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c1b0
lea eax, [ebp - 0x1c]
call fcn.0045a40c
lea eax, [ebp - 0x18]
call fcn.0045d2e4
ret
Function at 0x54383c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x54384f
add esp, 0xfffffff0
call fcn.00458660
mov esi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov dl, 1
mov eax, dword [0x414a44]
call fcn.00420c70
mov dword [ebx + 4], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x526d4c]
call fcn.0052c038
mov edi, eax
mov dword [ebx + 8], edi
mov eax, edi
mov edx, dword [esi + 0xcc]
call fcn.0052d7a4
mov eax, dword [ebx + 8]
mov eax, dword [eax + 0x58]
mov edx, 0x5438f0
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, esi
mov dl, 1
mov eax, dword [0x526d4c]
call fcn.0052c038
mov edi, eax
mov dword [ebx + 0xc], edi
mov eax, edi
mov edx, dword [esi + 0xcc]
call fcn.0052d7a4
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x543b84
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5438dc
call fcn.004586b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x583fd8
call fcn.0058514c
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x583ff7
test bl, 1
je 0x583ff7
call fcn.0058b794
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x587f10
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.KERNEL32.DLL_GetLocaleInfoA
push str._._n
lea ecx, [ebp - 0x200]
push ecx
call fcn.00582d40
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00582df0
pop ecx
mov edx, pe_nt_image_headers32
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00582df0
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
push 0x59c7c5
lea ecx, [ebp - 0x200]
push ecx
call fcn.00582d40
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00582df0
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.005893b8
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x588021
push esi
call fcn.00582df0
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00582df0
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.00581fb4
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x587ff8
xor eax, eax
jmp 0x5880aa
push esi
call fcn.00582df0
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00582df0
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00582c6f
add esp, 0xc
jmp 0x588063
mov edi, ebx
mov edi, dword [edi + 0x24]
push edi
call fcn.00582df0
pop ecx
push eax
push esi
call fcn.00582df0
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00582df0
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.00581fd4
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x588063
xor eax, eax
jmp 0x5880aa
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.00582d40
add esp, 8
push 0x59c7c7
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00582d40
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.00582d40
add esp, 8
push 0x59c7c9
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.00582d40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x58b728
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
jne 0x58b755
jmp 0x58b78c
call fcn.0058b6d8
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00582df0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00582df0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret