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

Disassembly:
push 0xffffffffffffffff
push 0x49d609
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov al, byte [esp + 0x34]
mov byte [esi + 4], al
mov dword [esi + 8], 3
mov dword [esi], 0x4ee13c
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov edi, dword [esp + 0x20]
cmp edi, ebx
mov byte [esp + 0x18], 5
je 0x485b95
mov edx, dword [edi]
mov ecx, edi
call dword [edx]
mov ecx, dword [esi + 0xc]
cmp ecx, ebx
je 0x485ba1
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0xc], edi
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x485bb2
mov edx, dword [edi]
mov ecx, edi
call dword [edx]
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x485bbe
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x10], edi
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x485bcf
mov edx, dword [edi]
mov ecx, edi
call dword [edx]
mov ecx, dword [esi + 0x14]
cmp ecx, ebx
je 0x485bdb
mov eax, dword [ecx]
call dword [eax + 4]
mov al, byte [esp + 0x30]
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp al, bl
sete cl
mov dword [esi + 0x14], edi
mov byte [esi + 0x1c], al
pop edi
mov dword [esi + 0x18], edx
mov eax, esi
mov dword [esi + 0x20], ecx
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x4877db
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x4ee268
call fcn.00488d3c
mov edi, 0x94
mov eax, edi
call fcn.0048a580
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x524aa8], ecx
mov eax, dword [esi + 4]
mov dword [0x524ab4], eax
mov edx, dword [esi + 8]
mov dword [0x524ab8], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x524aac], esi
cmp ecx, 2
je 0x48783b
or esi, 0x8000
mov dword [0x524aac], esi
shl eax, 8
add eax, edx
mov dword [0x524ab0], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x487876
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x487876
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x48788e
cmp eax, 0x20b
je 0x48787b
mov dword [ebp - 0x1c], esi
jmp 0x4878a2
cmp dword [ecx + 0x84], 0xe
jbe 0x487876
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x48789c
cmp dword [ecx + 0x74], 0xe
jbe 0x487876
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.0048a52a
pop ecx
test eax, eax
jne 0x4878b6
push 0x1c
call fcn.004877b7
pop ecx
call fcn.0048a4a1
test eax, eax
jne 0x4878c7
push 0x10
call fcn.004877b7
pop ecx
call fcn.0048a38a
mov dword [ebp - 4], esi
call fcn.0048a18c
test eax, eax
jge 0x4878e0
push 0x1b
call fcn.00487792
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x5279b0], eax
call fcn.0048a06a
mov dword [0x524a8c], eax
call fcn.00489fc8
test eax, eax
jge 0x487906
push 8
call fcn.00487792
pop ecx
call fcn.00489d95
test eax, eax
jge 0x487917
push 9
call fcn.00487792
pop ecx
call fcn.00488b4e
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x48792a
push eax
call fcn.00487792
pop ecx
mov dword [ebp - 0x38], esi
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00489d2c
mov dword [ebp - 0x68], eax
test byte [ebp - 0x38], 1
je 0x48794b
movzx eax, word [ebp - 0x34]
jmp 0x48794e
push 0xa
pop eax
push eax
push dword [ebp - 0x68]
push esi
push esi
call edi
push eax
call fcn.004138b0
mov edi, eax
mov dword [ebp - 0x6c], edi
cmp dword [ebp - 0x1c], esi
jne 0x48796c
push edi
call fcn.00488c86
call fcn.00488ca8
jmp 0x48799e
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00488d77
ret
Function at 0x48b73e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.0048a580
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x48b7d3
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x524aa8]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x48b7d3
cmp eax, 1
je 0x48b7eb
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x48b7d3
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x48b7a8
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x48b7cf
xor eax, eax
inc eax
jmp 0x48b807
cmp esi, ebx
jae 0x48b7d7
xor eax, eax
jmp 0x48b807
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x524aa8]
jmp 0x48b7ed
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48cd9d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x51bdec]
xor eax, dword [ebp + 4]
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
jne 0x48cdc6
xor eax, eax
jmp 0x48cf34
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x5278a0]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x48cdf9
push 2
push edi
push edi
push dword [ebp + 8]
call fcn.0048eae7
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x48cecb
cmp dword [ebp + 0x10], edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edi
jbe 0x48cf06
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x420]
mov dword [ebp - 0xc], edi
cmp ecx, dword [ebp + 0x10]
jae 0x48ce54
mov edx, dword [ebp - 0x10]
inc dword [ebp - 0x10]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x48ce45
inc dword [ebp - 0x18]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0xc]
mov byte [eax], dl
inc eax
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x400
jl 0x48ce28
mov edi, eax
lea eax, [ebp - 0x420]
sub edi, eax
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48ce94
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x14], eax
cmp eax, edi
jl 0x48ce9d
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp + 0xc]
xor edi, edi
cmp eax, dword [ebp + 0x10]
jb 0x48ce19
jmp 0x48ce9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
xor edi, edi
mov eax, dword [ebp - 0x14]
cmp eax, edi
jne 0x48cf2f
cmp dword [ebp - 8], edi
je 0x48cf06
push 5
pop esi
cmp dword [ebp - 8], esi
jne 0x48cef8
call fcn.0048b07c
mov dword [eax], 9
call fcn.0048b085
mov dword [eax], esi
jmp 0x48cf01
push edi
lea ecx, [ebp - 0x1c]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x48ceed
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], eax
jmp 0x48ce9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x48ce9f
push dword [ebp - 8]
call fcn.0048b08e
pop ecx
or eax, 0xffffffff
jmp 0x48cf32
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x48cf1b
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0x1a
jne 0x48cf1b
xor eax, eax
jmp 0x48cf32
call fcn.0048b07c
mov dword [eax], 0x1c
call fcn.0048b085
mov dword [eax], edi
jmp 0x48cf01
sub eax, dword [ebp - 0x18]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop edi
call fcn.00487e6f
leave
ret
Function at 0x48d2fd
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x524d9c], ebx
push esi
push edi
jne 0x48d37d
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x48d3b8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4ef024
push edi
call esi
test eax, eax
mov dword [0x524d9c], eax
je 0x48d3b8
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x524da0], eax
call esi
cmp dword [0x524aa8], 2
mov dword [0x524da4], eax
jne 0x48d37d
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x524dac], eax
je 0x48d37d
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x524da8], eax
mov eax, dword [0x524da8]
test eax, eax
je 0x48d3c2
call eax
test eax, eax
je 0x48d3a9
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x524dac]
test eax, eax
je 0x48d3a9
test byte [ebp - 8], 1
jne 0x48d3c2
cmp dword [0x524ab4], 4
jb 0x48d3bc
or byte [ebp + 0x12], 0x20
jmp 0x48d3e1
xor eax, eax
jmp 0x48d3f1
or byte [ebp + 0x12], 4
jmp 0x48d3e1
mov eax, dword [0x524da0]
test eax, eax
je 0x48d3e1
call eax
mov ebx, eax
test ebx, ebx
je 0x48d3e1
mov eax, dword [0x524da4]
test eax, eax
je 0x48d3e1
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x524d9c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x53c0a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret 4
Function at 0x54d550
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x28
call dword [0x5df528]
push eax
call dword [0x5df7c0]
test eax, eax
jne 0x54d576
xor eax, eax
jmp 0x54d59f
mov ecx, dword [ebp + 8]
push ecx
push 0x5bd5f8
mov edx, dword [ebp - 4]
push edx
call fcn.0054d480
test eax, eax
jne 0x54d59a
mov eax, dword [ebp - 4]
push eax
call dword [0x5df4d8]
xor eax, eax
jmp 0x54d59f
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x606ac4
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x626704], 0
jne 0x606b83
mov dword [ebp - 0x10], Ordinal_2
push 0x400
call fcn.0060d02a
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [0x626704], eax
mov dword [ebp - 0xc], 0
jmp 0x606b08
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x100
jge 0x606b83
push 8
mov edx, dword [ebp - 0xc]
push edx
call fcn.00606a6e
add esp, 8
shl eax, 0x18
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
jmp 0x606b37
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x606b64
mov ecx, dword [ebp - 0x18]
and ecx, 0x80000000
test ecx, ecx
je 0x606b5a
mov edx, dword [ebp - 0x18]
shl edx, 1
xor edx, 0x4c11db7
mov dword [ebp - 0x18], edx
jmp 0x606b62
mov eax, dword [ebp - 0x18]
shl eax, 1
mov dword [ebp - 0x18], eax
jmp 0x606b2e
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00606a6e
add esp, 8
mov edx, dword [ebp - 0xc]
mov ecx, dword [0x626704]
mov dword [ecx + edx*4], eax
jmp 0x606aff
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
jmp 0x606b9d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 8]
jae 0x606bc9
mov eax, dword [ebp - 4]
movsx ecx, byte [eax]
xor ecx, dword [ebp + 0x10]
and ecx, 0xff
mov edx, dword [ebp + 0x10]
shr edx, 8
mov eax, dword [0x626704]
mov ecx, dword [eax + ecx*4]
xor ecx, edx
mov dword [ebp + 0x10], ecx
jmp 0x606b94
mov eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x6077dc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x607848
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x607891
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.00612f70
add esp, 8
test eax, eax
jne 0x60788f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x607893
jmp 0x60783f
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x405c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0x101
jne 0x405cf6
cmp dword [ebp + 0x10], 0xd
jne 0x405cf6
mov dword [ebp - 4], esp
push 0x6a
push dword [0x42a791]
call dword [sym.imp.USER32.dll_GetDlgItem]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x405c5a
push 6
call fcn.004135f1
add esp, 4
cmp dword [ebp + 8], eax
jne 0x405cf6
push dword [0x42a791]
call fcn.00402c8f
test eax, eax
je 0x405cf6
push dword [0x42a791]
call fcn.00402df4
test eax, eax
je 0x405cf6
mov dword [ebp - 4], esp
push 0x407810
call dword [sym.imp.KERNEL32.dll_SetHandleCount]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x405cad
push 6
call fcn.004135f1
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push 0
push dword [0x42a791]
push dword [ebp - 8]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x405cec
push 6
call fcn.004135f1
add esp, 4
mov eax, 1
jmp 0x405d2c
mov dword [ebp - 4], esp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x42a799]
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
nop
nop
cmp dword [ebp - 4], esp
je 0x405d27
push 6
call fcn.004135f1
add esp, 4
jmp 0x405d2c
mov esp, ebp
pop ebp
ret 0x10

Function at 0x413a50
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.0041826a
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x413aba
push esi
lea edi, [eax + 0x400]
call fcn.00418210
push edi
call fcn.0041826a
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x413a8a
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x413ad6
push ecx
push esi
call fcn.004173c0
add esp, 8
mov ebx, eax
push esi
call fcn.00418210
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x413ea0
Capabilities:
Create directory

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp]
mov dword [esp], 0xc
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
ret
Function at 0x414070
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x414102
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x4140f4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4140ec
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4140b5
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x41f65b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b690]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00419f49
and dword [ebp - 0x14], 0
cmp dword [0x43b894], 0
mov dword [ebp - 0x18], eax
jne 0x41f70e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41f7b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41f7b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43b894], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43b898], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43b89c], eax
call edi
push eax
call esi
mov dword [0x43b8a4], eax
test eax, eax
je 0x41f70e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43b8a0], eax
mov eax, dword [0x43b8a0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41f767
cmp dword [0x43b8a4], ecx
je 0x41f767
push eax
call esi
push dword [0x43b8a4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41f767
test ebx, ebx
je 0x41f767
call edi
test eax, eax
je 0x41f75e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41f75e
test byte [ebp - 8], 1
jne 0x41f767
or dword [ebp + 0x10], 0x200000
jmp 0x41f79a
mov eax, dword [0x43b898]
cmp eax, dword [ebp - 0x18]
je 0x41f79a
push eax
call esi
test eax, eax
je 0x41f79a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41f79a
mov eax, dword [0x43b89c]
cmp eax, dword [ebp - 0x18]
je 0x41f79a
push eax
call esi
test eax, eax
je 0x41f79a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43b894]
call esi
test eax, eax
je 0x41f7b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41f7b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f9c6
leave
ret

Function at 0x41f9c6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b690]
jne 0x41f9d0
repz ret
jmp fcn.00421e9e
Function at 0x1fe7cc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x97a000]
push edi
jmp 0x1fe7cda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1fe7ce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1fe7cd0
mov eax, 1
add ebx, ebx
jne 0x1fe7cf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1fe7d04
jne 0x1fe7d23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1fe7d23
dec eax
add ebx, ebx
jne 0x1fe7d10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1fe7ce8
add ebx, ebx
jne 0x1fe7d1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1fe7d75
xor ecx, ecx
sub eax, 3
jb 0x1fe7d3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1fe7daa
sar eax, 1
mov ebp, eax
jmp 0x1fe7d46
add ebx, ebx
jne 0x1fe7d46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1fe7d14
inc ecx
add ebx, ebx
jne 0x1fe7d54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1fe7d14
add ebx, ebx
jne 0x1fe7d61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1fe7d56
jne 0x1fe7d72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1fe7d56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1fe7d94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1fe7d86
jmp 0x1fe7cd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1fe7d94
add edi, ecx
jmp 0x1fe7cd6
pop esi
mov edi, esi
mov ecx, 0x8f14
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1fe7db2
cmp byte [edi], 0x27
jne 0x1fe7db2
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 0x1fe7db7
lea edi, [esi + 0x1bdc000]
mov eax, dword [edi]
or eax, eax
je 0x1fe7e2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1becd5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bece80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1fe7de4
mov ecx, edi
jns 0x1fe7e13
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 + 0x1bece88]
or eax, eax
je 0x1fe7e29
mov dword [ebx], eax
add ebx, 4
jmp 0x1fe7e01
call dword [esi + 0x1bece84]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1fe7e69
cmp al, 0xef
ja 0x1fe7e53
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1fe7e35
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x1fe7e42
mov eax, dword [edi]
add edi, 4
jmp 0x1fe7e42
mov ebp, dword [esi + 0x1bece8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x1fe7e9d
sub esp, 0xffffff80
jmp 0x53c63f