joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4f95c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4f95da
add esp, 0xfffffff0
call fcn.00404168
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4f9677
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403dd4
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x42dd74]
call fcn.0042f64c
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.004f9a00
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x4f98a4
mov dl, 1
mov eax, dword [0x41e150]
call fcn.00403dd4
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.0041b008
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.004128a0
mov byte [edi + 0x28], 1
mov dl, byte [0x4f969c]
mov ax, 0x2e
call fcn.00497660
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f967e
lea eax, [ebp - 0x10]
call fcn.00412488
ret

Function at 0x4fa6f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4fa710
push 5
mov eax, ebx
call fcn.0048dda8
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.0048dda8
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x505f00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x505fa0
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x505f2c
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x505f40
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4f62b4]
call fcn.004fb498
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.004872c0
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.0048dee8
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.0048dda8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x505fd4
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x505fac
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x52539c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x5253d4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5253b2
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5253c1
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x5253d0
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x53dc34
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x53dc6e
test bl, bl
je 0x53dc5f
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x53dc69
mov eax, dword [edi]
movzx esi, byte [eax + 0x3ad]
dec esi
xor bl, 1
jmp 0x53dc7f
mov eax, dword [edi]
mov edx, dword [eax + 0x3c8]
mov eax, dword [edi]
call fcn.0052e3ac
mov esi, eax
mov eax, esi
test bl, bl
je 0x53dc88
inc esi
jmp 0x53dc89
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x53dc9e
mov edx, dword [edi]
movzx esi, byte [edx + 0x3ad]
jmp 0x53dcbe
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
cmp esi, edx
jge 0x53dcbe
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
sub esi, edx
cmp eax, esi
je 0x53dd02
jmp 0x53dcda
test bl, bl
je 0x53dccb
inc esi
jmp 0x53dccc
dec esi
test esi, esi
jl 0x53dd02
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x53dd02
mov eax, dword [edi]
mov edx, esi
call fcn.0052e3a0
mov edx, eax
mov eax, dword [edi]
call fcn.0053cd18
test al, al
je 0x53dcc4
mov eax, dword [edi]
mov edx, esi
call fcn.0052e3a0
mov edx, eax
mov eax, dword [edi]
call fcn.0053cdec
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x53ebac
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x130]
test al, al
je 0x53ebd7
cmp byte [0x6f1db8], 0
jne 0x53ebd7
mov byte [ebx + 0x3e4], 1
cmp byte [ebx + 0x3e4], 0
je 0x53ebe6
cmp dword [esi + 4], 0
je 0x53ec13
test byte [ebx + 0x55], 1
jne 0x53ec05
mov eax, ebx
call fcn.0048aa1c
test eax, eax
jne 0x53ec05
mov edx, esi
mov eax, ebx
call fcn.0048fafc
jmp 0x53ed45
mov edx, esi
mov eax, ebx
call fcn.0048b9a0
jmp 0x53ed45
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.00486de8
push eax
mov eax, ebx
call fcn.00486da4
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x53ed3e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.0048dda8
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.004885a4
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0053ebac
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.0048dda8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ed45
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5484d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x5484ea
add esp, 0xfffffff0
call fcn.00404168
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x548578
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.00403dd4
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.00518800
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41e150]
call fcn.00403dd4
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41e150]
call fcn.00403dd4
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4e5dc0]
call fcn.004e7210
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x548e78
lea eax, [ebp - 0x10]
call fcn.0041b008
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.004128a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54857f
lea eax, [ebp - 0x10]
call fcn.00412488
ret

Function at 0x54cdf8
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x6e6838]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x54ce34
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x54ce4c
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x54ce45
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403358
xor edx, edx
mov eax, 0x6e6a38
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x54ceb6
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x54ce6a
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x54d0f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x54d10d
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x54d106
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x54d11f
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x54d118
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0054cce8
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x54d139
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0054cdf8
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x54d1be
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x54d1db
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0054cd78
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x54d204
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x54d21c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x54d235
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x54d22e
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x54d249
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0054cbe0
test bl, bl
jne 0x54d31c
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x6f1fd8
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x54d280
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x54d294
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0054d0f4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x54d2c6
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x54d275
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x54d2e9
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x54d2fa
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x54d30e
jmp 0x54d3d7
cmp bl, 1
jne 0x54d3d7
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x6f2032
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x54d33c
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x54d350
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0054d0f4
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x54d382
sub ebx, 6
inc dword [ebp - 8]
jne 0x54d331
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x54d3a9
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x54d3ba
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x54d3ce
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0054cc64
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x54db54
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405160
xor eax, eax
push ebp
push 0x54dc7a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x6f2038
xor ecx, ecx
mov edx, 0x1048
call fcn.00403358
mov ebx, 1
mov esi, 0x12
mov dword [ebp - 0x14], 0x6e6aa0
mov dword [ebp - 0x18], 0x6f2038
xor eax, eax
mov dword [ebp - 8], eax
mov edi, 4
mov eax, dword [ebp - 8]
shl eax, 8
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ebx - 1]
or eax, edx
mov dword [ebp - 8], eax
inc ebx
mov eax, dword [ebp - 4]
call fcn.00404f70
cmp ebx, eax
jle 0x54dbce
mov ebx, 1
dec edi
jne 0x54dba9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
xor eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov dword [edx], eax
add dword [ebp - 0x18], 4
add dword [ebp - 0x14], 4
dec esi
jne 0x54db9f
xor esi, esi
mov edx, 0x6e6ae8
xor ebx, ebx
mov eax, edx
mov ecx, esi
shl ecx, 8
add ecx, ebx
mov edi, dword [eax]
mov dword [ecx*4 + 0x6f2080], edi
inc ebx
add eax, 4
cmp ebx, 0x100
jne 0x54dbf4
inc esi
add edx, 0x400
cmp esi, 4
jne 0x54dbf0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov esi, 0x209
mov ebx, 0x6f2038
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.0054da18
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [ebx], eax
push 1
push 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.00405e50
mov dword [ebx + 4], eax
add ebx, 8
dec esi
jne 0x54dc34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54dc81
lea eax, [ebp - 4]
call fcn.00404c94
ret
Function at 0x558198
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55835a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.005584a4
cmp dword [eax + 0x5c], 0
jne 0x5581dd
mov ecx, 0x558370
mov dl, 1
mov eax, dword [0x408d38]
call fcn.0040e5e4
call fcn.00404694
mov eax, ebx
call fcn.005584a4
mov eax, dword [eax + 0x5c]
call fcn.0053200c
test eax, eax
jne 0x558206
mov ecx, 0x558394
mov dl, 1
mov eax, dword [0x408d38]
call fcn.0040e5e4
call fcn.00404694
mov eax, ebx
call fcn.005584a4
mov eax, dword [eax + 0x5c]
call fcn.0053200c
cmp dword [eax + 0x30], 0
jne 0x558231
mov ecx, 0x5583c0
mov dl, 1
mov eax, dword [0x408d38]
call fcn.0040e5e4
call fcn.00404694
mov eax, esi
call fcn.00404c94
mov eax, ebx
call fcn.005584a4
mov eax, dword [eax + 0x5c]
call fcn.0053200c
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x21c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
call fcn.004cecb0
mov dl, 1
mov eax, dword [0x41e150]
call fcn.00403dd4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x558335
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
call fcn.004cf760
jmp 0x5582cb
mov edx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
call fcn.004ce338
lea edx, [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
jne 0x5582b6
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
call fcn.004cfa78
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0x64
je 0x5582d7
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0xa1], 0
je 0x55828a
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x208]
test al, al
je 0x5582f4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004d02f4
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x14]
mov edx, esi
call fcn.00554f1c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55833c
mov eax, dword [ebp - 8]
call fcn.00403e04
mov eax, dword [ebp - 0x10]
call fcn.004cecd0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x218]
ret
Function at 0x559394
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb8
push ebx
xor edx, edx
mov dword [ebp - 0x248], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x559490
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x559477
lea eax, [ebp - 0x244]
mov edx, dword [ebx + 0xc]
mov ecx, 0xff
call fcn.00404f4c
lea edx, [ebp - 0x244]
lea eax, [ebp - 0x41]
mov cl, 0x40
call fcn.004031c4
cmp byte [ebp - 0x41], 0
jne 0x5593f9
lea eax, [ebp - 0x40]
push eax
push 0x40
call sub.kernel32.dll_GetTempPathA
mov byte [ebp - 0x41], al
jmp 0x559408
lea eax, [ebp - 0x41]
mov edx, 0x55949c
mov cl, 0x40
call fcn.00403188
cmp byte [ebp - 0x41], 0
je 0x559429
xor eax, eax
mov al, byte [ebp - 0x41]
cmp byte [ebp + eax - 0x41], 0x5c
je 0x559429
lea eax, [ebp - 0x41]
mov edx, 0x5594a0
mov cl, 0x40
call fcn.00403188
lea eax, [ebp - 0x140]
push eax
push 0
push 0x5594a4
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x248]
lea eax, [ebp - 0x140]
call fcn.0040af2c
mov edx, dword [ebp - 0x248]
lea eax, [ebx + 0x10]
call fcn.00404ce8
push 2
mov ecx, dword [ebx + 0x10]
mov dl, 1
mov eax, dword [0x41e350]
call fcn.00423d04
mov dword [ebx + 0x14], eax
mov byte [ebx + 0x18], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x559497
lea eax, [ebp - 0x248]
call fcn.00404c94
ret
Function at 0x5661e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x40
call fcn.00404c94
mov eax, dword [ebp - 4]
add eax, 0x28
call fcn.00404c94
xor eax, eax
push ebp
push 0x56624f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.0056a63c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
add eax, 0x3c
call fcn.00404c94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5662a0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5930a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x2a
push 0
push 0
dec ecx
jne 0x5930b0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x59337c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov edx, 0x593394
call fcn.00558fa0
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x5bd5ac]
call fcn.005bd678
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov edx, 0x5933ac
call fcn.00558fa0
mov esi, eax
mov eax, esi
call fcn.00558e64
mov eax, esi
call fcn.00558ec8
mov esi, eax
lea edx, [ebp - 0x110]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
call fcn.00403d54
lea edx, [ebp - 0x110]
lea eax, [esi + 0x14]
call fcn.00404ef8
push 0x5933bc
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov dl, byte [edx + 0xdc]
call fcn.00416bc0
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x114]
call fcn.00558cd4
push dword [ebp - 0x114]
push 0x5933d8
lea eax, [ebp - 0x138]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x11c]
mov dl, byte [edx + 0xb]
call fcn.00416bc0
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x128]
call fcn.00558cd4
push dword [ebp - 0x128]
push 0x593404
lea eax, [ebp - 0x14c]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x1c]
mov edx, dword [edx + 0x11c]
mov edx, dword [edx + 0xc]
mov cl, 0xfc
call fcn.004169d0
lea eax, [ebp - 0x14c]
lea edx, [ebp - 0x13c]
call fcn.00558cd4
push dword [ebp - 0x13c]
push 0x59342c
lea eax, [esi + 0x1c]
mov edx, 7
call fcn.00405030
xor eax, eax
push ebp
push 0x59326d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov edx, 0x593438
call fcn.00558fa0
mov esi, eax
mov eax, esi
call fcn.00558e64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x593257
inc ebx
mov dword [ebp - 8], 0
mov eax, esi
call fcn.00558ec8
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
call fcn.004208bc
mov edx, eax
mov cl, 1
mov eax, dword [ebp - 0xc]
call fcn.005bea14
inc dword [ebp - 8]
dec ebx
jne 0x59322f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x593274
mov eax, dword [ebp - 0xc]
call fcn.00403e04
ret