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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, ebx
imul esi, dword [ebp + 0x10]
cmp byte [edi], 0
je 0x465b2e
push 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x465b22
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
pop esi
div ebx
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x465b3f
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x465cc0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x465cce
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x465d8d
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
sub edi, 1
jne 0x465ce6
pop edi
test esi, esi
je 0x465dab
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x51fdc8]
sub esi, 1
jne 0x465d91
not eax
pop esi
pop ebp
ret

Function at 0x4671a0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov dl, byte [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 8]
mov ecx, esi
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
mov ecx, dword [edi]
shr eax, 8
xor dl, al
movsx eax, dl
xor eax, ecx
shr ecx, 8
movzx eax, al
mov eax, dword [eax*4 + 0x51fdc8]
xor eax, ecx
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, esi
shr esi, 8
movzx ecx, al
mov al, dl
xor esi, dword [ecx*4 + 0x51fdc8]
mov dword [edi + 8], esi
pop edi
pop esi
pop ebp
ret
Function at 0x4725e0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004726c0
Function at 0x47d350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
and edi, 7
je 0x47d377
cmp eax, edi
jge 0x47d36f
push esi
call fcn.00476d90
add esp, 4
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x47d3a0
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x47d383
mov dword [esi + 8], edx
cmp ecx, 4
jge 0x47d3bc
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x47d3ad
xor dl, dl
jmp 0x47d3b2
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x47d3a5
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x47d3f2
mov dword [0x56a950], str.zlib_corrupt
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x47d40b
pop edi
mov dword [0x56a950], 0x52458c
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x47d425
push edi
push ecx
push esi
call fcn.00481b90
add esp, 0xc
test eax, eax
je 0x47d3ec
push edi
push dword [esi]
push dword [esi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
add dword [esi], edi
add esp, 0xc
add dword [esi + 0x10], edi
mov eax, 1
pop edi
pop esi
pop ebp
ret

Function at 0x487860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x69c], 0
je 0x4878cd
cmp dword [ebp + 8], 0x100
jne 0x4878bd
cmp word [ebp + 0xc], 0xd
jne 0x4878bd
cmp byte [esi + 0x6a2], 0
je 0x48789e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4878bd
cmp byte [esi + 0x6a3], 0
jne 0x4878bd
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x4878b6
push 0
push 0
push 0
push str.return
push esi
call fcn.004556e0
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x69c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x49e670
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x49e6f9
cmp dword [esi + 0x10], 0
je 0x49e6f9
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.004ffbc0
mov ebx, esp
test ebx, ebx
je 0x49e6f9
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c8
call fcn.0044b100
mov ecx, dword [esi + 0x10]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004556e0
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00450140
test al, al
je 0x49e6f9
mov ecx, dword [esi + 0x10]
call fcn.0045b050
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a47f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5099fb
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5675c8]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x588], 0
cmp dword [edi + 4], 0
jne 0x4a489b
lea eax, [ebp - 0xa4]
push eax
call fcn.004a4230
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044fca0
push eax
mov ecx, edi
call fcn.00457820
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0049c780
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044f220
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044bf60
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.0044af90
test bl, bl
je 0x4a48d8
mov eax, dword [edi + 0x10]
add eax, 0x578
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x578
push eax
push 0
push 0x1002
movups xmm0, xmmword [eax]
push dword [edi + 4]
movups xmmword [edi + 0x1a], xmm0
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.004ff7f3
mov esp, ebp
pop ebp
ret 4
Function at 0x4a4f30
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x294]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x4a4f68
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret
push 0xff
lea eax, [ebp - 0x104]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push 0xff
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x104]
push eax
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x4a4f58
mov eax, dword [eax + 0xc]
push esi
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 8
mov edx, ecx
movzx esi, al
movzx eax, cl
shl eax, 8
add eax, esi
shr edx, 0x10
shl eax, 8
movzx edx, dl
add eax, edx
shr ecx, 0x18
shl eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret

Function at 0x4a5110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509b1b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5675c8]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x580], 0
cmp dword [edi + 4], 0
jne 0x4a51e6
lea eax, [ebp - 0xac]
mov dword [ebp - 0xac], 8
push eax
mov dword [ebp - 0xa8], 0x800
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
test eax, eax
je 0x4a51be
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044ac80
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0x20]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40030000
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044fca0
push eax
mov ecx, edi
call fcn.00457820
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0049c780
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044f220
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0xa4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044bf60
lea ecx, [ebp - 0xa4]
mov bl, al
call fcn.0044af90
test bl, bl
je 0x4a5222
call fcn.004a4f30
mov ecx, dword [edi + 0x10]
mov dword [ecx + 0x578], eax
mov eax, dword [edi + 0x10]
push dword [eax + 0x578]
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 5
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.004ff7f3
mov esp, ebp
pop ebp
ret 4
Function at 0x4a52c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetFocus]
push esi
push edi
mov edi, ecx
call ebx
mov esi, eax
test esi, esi
je 0x4a52ea
call ebx
cmp eax, dword [edi + 4]
je 0x4a534a
push esi
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
jne 0x4a52d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov ecx, dword [edi + 0x10]
mov esi, eax
cmp dword [ecx + 0x580], 0
jne 0x4a5336
add ecx, 0x578
push ecx
push 0
push 0x466
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x10]
mov dword [eax + 0x580], 1
mov ecx, dword [edi + 0x10]
call fcn.004a53b0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov dword [eax], 1
xor eax, eax
pop ebp
ret 0x10

Function at 0x4ac110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00491ca0

Function at 0x4ac119
Capabilities:
Log keystrokes via polling

Disassembly:
sub ecx, 0x6c0
jmp method.DuiLib::CMenuUI.virtual_312

Function at 0x4ad5a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebx + 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebx + 0x6d0], ecx
mov dword [ebx + 0x6d4], 0
mov dword [ebx + 0x6d8], eax
push edi
mov edi, dword [ebp + 0x1c]
test ecx, ecx
jne 0x4ad60e
call fcn.004ad210
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
test edi, edi
je 0x4ad60e
call fcn.004ad210
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x14]
call fcn.004ad210
mov esi, ebx
lea edx, [ebx + 0x10]
neg esi
mov ecx, eax
mov edi, dword [eax]
sbb esi, esi
and esi, edx
push esi
call dword [edi]
mov ecx, dword [ebx + 0x6d0]
test ecx, ecx
jne 0x4ad634
mov ecx, dword [ebp - 0x18]
jmp 0x4ad63b
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044fca0
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044acd0
push 0
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x88
push bind
push 0
movups xmmword [ecx], xmm0
push esi
mov ecx, ebx
call fcn.00457820
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push esi
call edi
test eax, eax
je 0x4ad68c
nop dword [eax + eax]
push esi
call edi
mov esi, eax
push esi
call edi
test eax, eax
jne 0x4ad680
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
push 0x86
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4b5980
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x4b59c9.41
movzx eax, byte [esi + 0x4b5a40]
jmp dword [eax*4 + 0x4b5a38]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0044ad90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4b59d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 0xc]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
add esi, 0xffffffdf
mov edi, eax
cmp esi, 0xd
ja case.0x4b59c9.41
movzx eax, byte [esi + 0x4b5a40]
jmp dword [eax*4 + 0x4b5a38]
or edi, 0x100
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
or ecx, 0x1000000
cmp dword [ebp + 0x10], 0
push 0x104
cmove ecx, edi
push eax
shl ecx, 0x10
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.0044ad90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b5d50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ae4b
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
test eax, eax
je 0x4b5e98
lea eax, [ebp - 0xa4]
push eax
call fcn.004b5220
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000080
push 0
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044fca0
push eax
mov ecx, edi
call fcn.00457820
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b5e98
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.0049c780
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.0044f220
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call esi
mov eax, dword [edi + 0x10]
push 0
movzx ecx, word [eax + 0x796]
movzx eax, word [eax + 0x794]
movzx ecx, cl
shl ecx, 8
movzx eax, al
or ecx, eax
push ecx
push 0x401
push dword [edi + 4]
call esi
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004b5760
mov ecx, dword [edi + 0x10]
push eax
add ecx, 0x1c8
mov dword [ebp - 4], 0
call fcn.0044b050
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.0044af90
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x100]
call eax
xor ecx, ecx
cmp al, 1
sete cl
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret 4
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40288e
pop dword [ebp - 0x14]
mov eax, 0x40288e
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xe0c08848
add dword [ebp - 0x24], 0x6d91bd03
mov dword [ebp - 0x20], 0x60e39430
sub dword [ebp - 0x20], 0x2eb047eb
mov dword [ebp - 0x1c], 0xfb81e4fb
add dword [ebp - 0x1c], 0x50ca5f33
mov dword [ebp - 0x18], 0xf3579d22
add dword [ebp - 0x18], 0xca862de
lea eax, [ebp - 0x24]
push eax
mov eax, 0xc791bd19
add eax, 0x38aeb34b
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xa831a783
add dword [ebp - 0x24], 0xcc40c1d3
mov dword [ebp - 0x20], 0x8e1fa418
add dword [ebp - 0x20], 0xb34cbd5d
mov dword [ebp - 0x1c], 0x81a7c177
add dword [ebp - 0x1c], 0xe1c7aaf5
mov dword [ebp - 0x18], 0x5daa44eb
sub dword [ebp - 0x18], 0x5daa44eb
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x38a4e
push 0
call eax
mov ecx, 0x5031
mov ebx, eax
mov edi, 0x56556075
sub edi, 0x56146075
add edi, dword [ebp - 0x14]
mov edx, 0x789cb0e5
xor dword [ebp - 8], edx
mov esi, dword [edi]
add dword [ebp - 4], 0xae33f5e9
xor esi, edx
mov dword [ebx], esi
xor dword [ebp - 0xc], 0xbb327ab2
add ebx, 0xdbc82688
sub ebx, 0xdbc82684
add edi, 0xcd0676e8
sub edi, 0xcd0676e4
loop 0x40299a
add eax, 0x952665ed
sub eax, 0x95253256
xor ebx, ebx
add ebx, eax
add eax, 0xa8996ccf
add eax, 0x57669336
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x343f19f8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x343f6b04]
jne 0x34415a46
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x34419cd8], eax
mov dword [0x34419cd4], ecx
mov dword [0x34419cd0], edx
mov dword [0x34419ccc], ebx
mov dword [0x34419cc8], esi
mov dword [0x34419cc4], edi
mov word [0x34419cf0], ss
mov word [0x34419ce4], cs
mov word [0x34419cc0], ds
mov word [0x34419cbc], es
mov word [0x34419cb8], fs
mov word [0x34419cb4], gs
pushfd
pop dword [0x34419ce8]
mov eax, dword [ebp]
mov dword [0x34419cdc], eax
mov eax, dword [ebp + 4]
mov dword [0x34419ce0], eax
lea eax, [ebp + 8]
mov dword [0x34419cec], eax
mov eax, dword [ebp - 0x320]
mov dword [0x34419c28], 0x10001
mov eax, dword [0x34419ce0]
mov dword [0x34419bdc], eax
mov dword [0x34419bd0], 0xc0000409
mov dword [0x34419bd4], 1
mov eax, dword [0x343f6b04]
mov dword [ebp - 0x328], eax
mov eax, dword [0x34417ca0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x34419c20], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34415b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x34419c20], 0
jne 0x34415b36
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

Function at 0x3440cd60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x3440cd6f
pop dword [ebp - 0x34]
mov eax, 0x5d69d4bb
sub eax, 0x2929074c
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xd99897ba
add dword [ebp - 0x44], 0x74b9ad91
mov dword [ebp - 0x40], 0xdfa39a27
sub dword [ebp - 0x40], 0xad704de2
mov dword [ebp - 0x3c], 0x6d5e1206
sub dword [ebp - 0x3c], 0x2111cdd8
mov dword [ebp - 0x38], 0x6f5b4a0c
sub dword [ebp - 0x38], 0x6f5b4a0c
lea eax, [ebp - 0x44]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x6a96664d
add dword [ebp - 0x44], 0x9dc0309
mov dword [ebp - 0x40], 0xaf1cc93e
add dword [ebp - 0x40], 0x924f9837
mov dword [ebp - 0x3c], 0xc3f2a69c
sub dword [ebp - 0x3c], 0x60833a30
mov dword [ebp - 0x38], 0x7a52aa83
sub dword [ebp - 0x38], 0x7a52aa83
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3dec4
push 0
call eax
mov ecx, 0xf08b4e17
add ecx, 0xf74f566
mov ebx, eax
mov edi, 0x2b1da111
sub edi, 0xf6dbd111
add edi, dword [ebp - 0x34]
mov edx, 0x7a1e6c78
sub edx, 0x6e6f34b
xor dword [ebp - 0x28], 0x88893ba3
mov esi, dword [edi]
sub dword [ebp - 0x10], ecx
xor esi, edx
add dword [ebp - 0x1c], ebx
mov dword [ebx], esi
add dword [ebp - 0x1c], ecx
add ebx, 4
add edi, 0x14b37e34
add edi, 0xeb4c81d0
loop 0x3440ce87
add eax, 0x3ae25fc5
sub eax, 0x3ae15efe
mov ebx, eax
add eax, 0x2b7dcdb3
sub eax, 0x2b7dcdae
mov ecx, 0x73ea74ab
add ecx, 0xc0548b55
add ecx, dword [ebp - 0x34]
call ebx
leave
ret