joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49dd5a
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xe4
push 8
call fcn.0048afb5
push eax
call fcn.00457d20
mov dword [ebp - 0xc], eax
call fcn.0048afb5
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax]
add eax, 0x14
mov dword [ebp - 0x10], eax
mov eax, 0x9c
xchg edx, eax
lea eax, [ebp - 0xb4]
mov dword [eax], edx
mov eax, 0
xchg edx, eax
lea eax, [ebp - 0xb4]
mov dword [eax + 0x14], edx
lea eax, [ebp - 0xb4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0xb4]
mov al, byte [eax + 0x9a]
cmp al, 1
setne al
xor ah, ah
cwde
mov dword [ebp - 0xec], eax
push 0
push dword [ebp - 0x18]
push 8
push str.Windows
call fcn.00447b37
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 4]
cmp eax, 5
je 0x49dea5
cmp eax, 6
je 0x49df00
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49de72
mov eax, dword [ebp - 0xe8]
cmp eax, 0x4f3d
jl 0x49de42
mov eax, str.Server_2022
jmp 0x49de70
mov eax, dword [ebp - 0xe8]
cmp eax, 0x42ee
jl 0x49de56
mov eax, str.Server_2019
jmp 0x49de70
xor eax, eax
inc eax
je 0x49de62
mov eax, str.Server_2016
jmp 0x49de70
call fcn.0049de67
mov eax, dword [ebp - 0xe8]
cmp eax, 0x55f0
jl 0x49de86
mov eax, 0x5849fc
jmp 0x49dea0
xor eax, eax
inc eax
je 0x49de92
mov eax, 0x5849ff
jmp 0x49dea0
call fcn.0049de97
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x49ded4
cmp eax, 1
je 0x49dedb
cmp eax, 2
je 0x49dee2
call fcn.0049decb
mov eax, 0x584976
jmp 0x49defb
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49def6
mov eax, str.Server_2003_R2
jmp 0x49defb
mov eax, str.Server_2003
lea eax, [ebp - 0xb4]
mov eax, dword [eax + 8]
cmp eax, 0
je 0x49df36
cmp eax, 1
je 0x49df51
cmp eax, 2
je 0x49df6c
cmp eax, 3
je 0x49df87
call fcn.0049df2d
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49df65
mov eax, str.Server_2008_R1
jmp 0x49df6a
mov eax, 0x5849b5
jmp 0x49dfa0
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49df80
mov eax, str.Server_2012
jmp 0x49df85
mov eax, 0x5849c3
jmp 0x49dfa0
mov eax, dword [ebp - 0xec]
cmp eax, 0
je 0x49df9b
mov eax, str.Server_2012_R2
jmp 0x49dfa0
mov eax, 0x5849d4
Function at 0x49e34f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x18
mov eax, 0x1000
mov dword [ebp - 0x18], 0x1000
mov eax, 0
mov dword [ebp - 0x20], 0
mov eax, 0
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
sub eax, edx
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x20]
add eax, edx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [ebp - 0x10]
cmp eax, 0
jle 0x49e3f3
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jne 0x49e3f3
mov eax, 2
push edx
mov edx, dword [ebp - 0x18]
imul edx
pop edx
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.MSVCRT.DLL_realloc]
add esp, 8
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x6d
jne 0x49e371
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
leave
ret 8
Function at 0x523a4b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.DLL_exit]
add esp, 4
leave
ret 4

Function at 0x524a98
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0xf
je 0x524ac6
cmp eax, 5
je 0x524afd
mov dword [ebp - 0x20], 0
jmp 0x524bb2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044ebdc
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044ebdc
pop edx
xchg edx, eax
cmp eax, edx
sete al
xor ah, ah
cwde
mov dword [ebp - 0x20], eax
jmp 0x524bb2
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
call fcn.0044134c
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call fcn.00441382
mov dword [ebp - 0x14], eax
jmp 0x524b88
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, 0xf
je 0x524b41
mov eax, dword [ebp - 0x1c]
cmp eax, 0x11
je 0x524b41
xor eax, eax
jmp 0x524b44
xor eax, eax
inc eax
cmp eax, 0
je 0x524b7d
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044ebdc
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.0044ebdc
pop edx
xchg edx, eax
cmp eax, edx
sete al
xor ah, ah
cwde
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
xor al, 1
cmp eax, 0
je 0x524ba0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp eax, edx
jae 0x524ba0
jmp 0x524ba4
xor eax, eax
jmp 0x524ba7
xor eax, eax
inc eax
cmp eax, 0
jne 0x524b1c
mov eax, dword [0x576dcc]
mov dword [ebp - 0x18], eax
mov eax, 4
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax], edx
mov eax, dword [ebp - 0x20]
xchg edx, eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], edx
leave
ret 8

Function at 0x525512
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x14
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 5
je 0x525540
cmp eax, 0xf
je 0x52556e
mov eax, 0
jmp 0x5257b5
push dword [ebp + 8]
call fcn.0044134c
mov dword [ebp - 0xc], eax
push dword [ebp + 8]
call fcn.00441278
mov dword [ebp - 0x10], eax
mov eax, 0
mov edx, dword [ebp - 0x10]
cmp eax, edx
jne 0x52556c
mov eax, 0
jmp 0x5257b5
jmp 0x525580
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 1
mov dword [ebp - 0x10], 1
mov eax, 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
cmp eax, 0
jle 0x5257b2
Function at 0x5297ee
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
mov eax, dword [ebp + 8]
and eax, 0xffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
and eax, 0xff0000
shr eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
and eax, 0x1000000
cmp eax, 0
setne al
xor ah, ah
cwde
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x10
je 0x529846
cmp eax, 0x11
je 0x529856
cmp eax, 0x12
je 0x529871
mov eax, 0
jmp 0x52988a
push 3
push dword [ebp - 0xc]
call dword [sym.imp.USER32.DLL_MapVirtualKeyW]
mov dword [ebp - 0x10], eax
jmp 0x52988a
mov eax, dword [ebp - 0x14]
cmp eax, 0
je 0x529867
mov eax, 0xa3
jmp 0x52986c
mov eax, 0xa2
mov dword [ebp - 0x10], eax
jmp 0x52988a
mov eax, dword [ebp - 0x14]
cmp eax, 0
je 0x529882
mov eax, 0xa5
jmp 0x529887
mov eax, 0xa4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
leave
ret 8

Function at 0x529891
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, 0
mov dword [ebp - 0xc], 0
push 0x11
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
je 0x5298c7
mov eax, 0x10000000
mov dword [ebp - 0xc], 0x10000000
push 0x10
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
je 0x5298e6
mov eax, dword [ebp - 0xc]
or eax, 0x20000000
mov dword [ebp - 0xc], eax
push 0x12
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
je 0x529905
mov eax, dword [ebp - 0xc]
or eax, 0x40000000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
xor al, 1
cmp eax, 0
je 0x52998d
push 1
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
je 0x529930
mov eax, dword [ebp - 0xc]
or eax, 0x2000000
mov dword [ebp - 0xc], eax
push 2
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
je 0x52994f
mov eax, dword [ebp - 0xc]
or eax, 0x800000
mov dword [ebp - 0xc], eax
push 4
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
je 0x52996e
mov eax, dword [ebp - 0xc]
or eax, 0x1000000
mov dword [ebp - 0xc], eax
push 5
call dword [sym.imp.USER32.DLL_GetKeyState]
and eax, 0x8000
cmp eax, 0
je 0x52998d
mov eax, dword [ebp - 0xc]
or eax, 0x400000
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
leave
ret 4
Function at 0x531d6c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [0x582a4c]
xor al, 1
cmp eax, 0
je 0x531db4
mov eax, dword [ebp + 0xc]
cmp eax, 5
jne 0x531da3
mov eax, 8
mov dword [ebp + 0xc], 8
push dword [ebp + 0xc]
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052fc1e
leave
ret 8
Function at 0x539a07
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xd0
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x25
jne 0x539a4d
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 0xc]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x10]
jmp 0x539a74
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
fld dword [eax + 4]
fstp dword [ebp - 0xc]
mov eax, dword [ebp - 0xd4]
fld dword [eax + 8]
fstp dword [ebp - 0x10]
mov eax, dword [ebp + 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x1c]
mov eax, 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
push 0x3f800000
fld dword [esp]
add esp, 4
fstp dword [ebp - 0x30]
jmp 0x539bd2
Function at 0x53da72
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0xc
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [0x5828f4], eax
push 0
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [0x5828fc], eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov dword [0x582900], eax
mov eax, 0x11c
xchg edx, eax
mov eax, dword [0x582910]
mov dword [eax], edx
push dword [0x582910]
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov eax, dword [0x582910]
mov eax, dword [eax + 4]
cmp eax, 5
jne 0x53dae0
mov eax, dword [0x582910]
mov eax, dword [eax + 8]
cmp eax, 1
jge 0x53dae0
jmp 0x53dae4
xor eax, eax
jmp 0x53dae7
xor eax, eax
inc eax
xor al, 1
cmp eax, 0
je 0x53daf5
call fcn.0053d82b
call fcn.0053e792
mov dword [0x582a54], eax
mov eax, dword [0x582910]
mov eax, dword [eax + 4]
cmp eax, 0xa
setge al
xor ah, ah
cwde
mov dword [0x582a48], eax
mov eax, dword [0x582910]
mov eax, dword [eax + 4]
cmp eax, 0xa
jge 0x53db64
mov eax, dword [0x582910]
mov eax, dword [eax + 4]
cmp eax, 6
jl 0x53db52
mov eax, dword [0x582910]
mov eax, dword [eax + 8]
cmp eax, 2
jl 0x53db52
jmp 0x53db56
xor eax, eax
jmp 0x53db59
xor eax, eax
inc eax
cmp eax, 0
jne 0x53db64
xor eax, eax
jmp 0x53db67
xor eax, eax
inc eax
mov dword [0x582a4c], eax
mov eax, dword [0x582910]
mov eax, dword [eax + 4]
cmp eax, 6
setl al
xor ah, ah
cwde
mov dword [0x582a50], eax
push 0x1a
push dword [0x581680]
call fcn.0044fe05
mov dword [ebp - 0xc], eax
mov eax, 3
shl eax, 0x13
mov edx, eax
mov eax, 0x27
or eax, edx
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edx
mov eax, dword [0x582910]
mov eax, dword [eax + 8]
shl eax, 8
xchg edx, eax
mov eax, dword [0x582910]
mov eax, dword [eax + 4]
or eax, edx
and eax, 0xffff
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], edx
call fcn.0053d878
mov eax, dword [0x582a50]
xor al, 1
cmp eax, 0
je 0x53dbf3
call fcn.00525a4f
push 0
call fcn.0053d61e
push dword [0x582900]
call fcn.005284b7
push 0x1b
push dword [0x581680]
call fcn.0044fe05
mov dword [ebp - 0x10], eax
mov eax, 0xb
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [0x582910]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov eax, dword [0x582910]
mov eax, dword [eax + 0xc]
cmp eax, 0x55f0
setge al
xor ah, ah
cwde
mov dword [0x582a44], eax
push 0x1c
push dword [0x581680]
call fcn.0044fe05
mov dword [ebp - 0x10], eax
mov eax, 0xb
xchg edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [0x582910]
mov al, byte [eax + 0x11a]
and eax, 0xff
mov edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], edx
call fcn.0053d961
mov eax, dword [0x582a48]
cmp eax, 0
je 0x53dccd
push 0x58569c
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, 0
je 0x53dccd
push 0x84
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x582aa4], eax
call fcn.0053dce4
mov dword [0x582aa0], eax
push 0x53da58
call fcn.004a160f
push dword [0x5828b0]
call fcn.00525902
leave
ret
Function at 0x53e2c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
push dword [ebp + 8]
call fcn.0053c744
mov dword [ebp - 0x14], eax
mov eax, 0
mov edx, dword [ebp - 0x14]
cmp eax, edx
jne 0x53e2e6
jmp 0x53e3d3
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e302
push 0
push dword [ebp + 0xc]
push 0xe
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e315
push 0
push dword [ebp + 0xc]
push 0x149
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
jl 0x53e3d3
push dword [ebp + 8]
call fcn.00456229
add eax, 0x30
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x53e354
push 2
push dword [ebp - 0x18]
push dword [ebp - 0xc]
call fcn.00447c38
mov eax, dword [ebp - 0x18]
cmp eax, 0
jne 0x53e36b
push dword [ebp - 0xc]
call fcn.004460b6
jmp 0x53e3d3
mov eax, dword [ebp - 0x18]
inc eax
shl eax, 2
push eax
push dword [ebp - 0xc]
call fcn.00433262
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e39d
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
inc eax
push eax
push 0xd
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e3b1
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push 0x148
push dword [ebp - 0x14]
call dword [sym.imp.USER32.DLL_SendMessageW]
xor eax, eax
inc eax
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push 0
call fcn.0043299b
push dword [0x582138]
push dword [ebp + 8]
push dword [ebp - 0xc]
call fcn.0043951e
leave
ret 8
Function at 0x53e3d7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e400
push 0
push dword [ebp + 0xc]
push 0xe
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e416
push 0
push dword [ebp + 0xc]
push 0x149
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, 0
jl 0x53e4fd
push 3
push dword [ebp + 8]
call fcn.0053c5e4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 7
je 0x53e452
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00447c38
mov eax, dword [ebp - 0xc]
cmp eax, 0
jne 0x53e469
push dword [ebp - 0x10]
call fcn.004460b6
jmp 0x53e4fd
mov eax, dword [ebp - 0xc]
inc eax
shl eax, 2
push eax
push dword [ebp - 0x10]
call fcn.00433262
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x53e49e
push dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
inc eax
push eax
push 0xd
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
jmp 0x53e4b5
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push 0x148
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call dword [sym.imp.USER32.DLL_SendMessageW]
xor eax, eax
inc eax
push eax
push dword [ebp - 0x10]
push dword [ebp - 0xc]
push 0
call fcn.0043299b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
call fcn.0052889d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x20
jne 0x53e4f6
push dword [0x582138]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0043951e
push 1
call fcn.0048b041
leave
ret 8

Function at 0x53ec7a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [0x58290c]
cmp eax, 0
je 0x53ec96
call dword [sym.imp.USER32.DLL_ReleaseCapture]
call fcn.0053be49
push 0xa
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_UpdateWindow]
mov eax, dword [0x582a4c]
xor al, 1
cmp eax, 0
je 0x53eccd
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052fc1e
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_SetForegroundWindow]
push dword [ebp + 8]
call fcn.0053e11c
leave
ret 4
Function at 0x540c6c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 4
mov eax, dword [ebp + 0x14]
mov edx, dword [0x581e28]
cmp eax, edx
jne 0x540ca9
mov eax, dword [0x582a40]
sub eax, 0xc
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov edx, eax
mov eax, 2
and eax, edx
cmp eax, 0
je 0x540ca9
jmp 0x540cad
xor eax, eax
jmp 0x540cb0
xor eax, eax
inc eax
cmp eax, 0
je 0x540cd4
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x540cce
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0053d18f
jmp 0x540cd4
call dword [sym.imp.USER32.DLL_DestroyCaret]
mov eax, dword [ebp + 0x10]
cmp eax, 0
je 0x540cf9
mov eax, dword [ebp + 0x14]
mov edx, dword [0x581e28]
cmp eax, edx
jne 0x540cf2
mov eax, 8
jmp 0x540cf7
mov eax, 5
jmp 0x540cfe
mov eax, 0
mov dword [ebp - 0xc], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [0x582a4c]
xor al, 1
cmp eax, 0
je 0x540d2b
push 0xffffffffffffffff
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.0052fc1e
mov eax, dword [ebp + 0x14]
mov edx, dword [0x581e54]
cmp eax, edx
jne 0x540d5b
mov eax, dword [0x582a40]
sub eax, 4
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_GetWindowLongW]
mov dword [ebp + 8], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.DLL_ShowWindow]
mov eax, dword [ebp + 0x14]
mov edx, dword [0x581e44]
cmp eax, edx
jne 0x540d72
push 9
push dword [ebp + 8]
call fcn.00531e2a
leave
ret 0x10
Function at 0x40c630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
or ebp, 0xffffffff
jmp 0x40c652
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c659
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c648
mov eax, 1
add ebx, ebx
jne 0x40c66b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c660
jne 0x40c67c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c660
xor ecx, ecx
sub eax, 3
jb 0x40c690
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c702
mov ebp, eax
add ebx, ebx
jne 0x40c69b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c6a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c6cc
inc ecx
add ebx, ebx
jne 0x40c6b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c6ad
jne 0x40c6c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c6ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c6ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c6dd
jmp 0x40c64e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c6ec
add edi, ecx
jmp 0x40c64e
pop esi
mov edi, esi
mov ecx, 0x196
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c70a
cmp byte [edi], 2
jne 0x40c70a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40c70f
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c787
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc1b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc250]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c73c
mov ecx, edi
jns 0x40c76b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc254]
or eax, eax
je 0x40c781
mov dword [ebx], eax
add ebx, 4
jmp 0x40c759
call dword [esi + 0xc264]
mov ebp, dword [esi + 0xc258]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40c7bb
sub esp, 0xffffff80
jmp 0x405f5c
Function at 0x40525b
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push dword [ebp + 0xc]
mov dword [0x7bed78], 0x44
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x40527f
test al, 0x10
jne 0x405282
mov dword [ebp + 0xc], ecx
lea eax, [ebp - 0x10]
push eax
push 0x7bed78
push dword [ebp + 0xc]
push ecx
push ecx
push ecx
push ecx
push ecx
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4052ad
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 8