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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10037998]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001c739
cmp word [esi], dx
jne 0x1001c739
or byte [edi + eax + 0x28], 4
jmp 0x1001c73e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1001c891
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1001c871
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1001c780
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1001c7b6
cmp eax, edx
jae 0x1001c7c2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1001c758
jmp 0x1001c891
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001c86d
cmp dword [ebp - 0x14], 0
je 0x1001c86d
mov eax, dword [ebx*4 + 0x10037998]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1001c845
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x1001c80e
mov word [esi], cx
jmp 0x1001c841
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10037998]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x10037998]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10037998]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x1001c891
pop ebx
cmp word [ebp - 4], bx
jne 0x1001c856
cmp esi, dword [ebp + 0xc]
jne 0x1001c856
mov word [esi], bx
jmp 0x1001c88e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1001d12a
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1001c891
push 0xd
jmp 0x1001c88a
mov ecx, dword [ebx*4 + 0x10037998]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1001c888
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1001c891
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10021781
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002181e
push ebx
push esi
call fcn.1002174a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100204e1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100217cb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002181d
push edi
push eax
call fcn.1001d188
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100217eb
call fcn.1001a2ab
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002181c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100204e1
add esp, 0x20
test eax, eax
jne 0x1002180a
push edi
call fcn.1001a2ab
jmp 0x10021812
push ebx
call fcn.1001a2ab
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10026631
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100265ad
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100267a9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100267a9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10026758
jg 0x1002668a
test eax, eax
je 0x1002674e
push 1
push 0x1000
call fcn.1001a24e
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100266b0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x10026745
push 0x8000
push ebx
call fcn.100264de
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100266dc
jg 0x100266d7
cmp ecx, 0x1000
jb 0x100266dc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1001b509
add esp, 0x10
cmp eax, 0xffffffff
je 0x10026721
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100266d7
jl 0x10026708
test ecx, ecx
jne 0x100266c9
push dword [ebp - 0xc]
push ebx
call fcn.100264de
push esi
call fcn.1001a2ab
add esp, 0xc
xor edi, edi
jmp 0x100267ba
cmp byte [edi + 0x24], 0
je 0x10026738
cmp dword [edi + 0x20], 5
jne 0x10026738
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10026743
mov edi, dword [edi + 0x18]
jmp 0x10026745
xor edi, edi
push esi
call fcn.1001a2ab
pop ecx
jmp 0x100267ba
test ecx, ecx
jg 0x1002671a
jl 0x10026758
test eax, eax
jae 0x1002671a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1001d12a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x1002677b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x1002671a
jmp 0x100267b2
push ebx
call fcn.10021d65
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1002671a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100267ba
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100267b7
mov edi, dword [edi + 0x18]
jmp 0x100267ba
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1001d12a
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10026f00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10026f2d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10026f2d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x78273acb
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0xef137fc
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x409b02
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f4bc]
jne 0x409b0c
repz ret
jmp fcn.0040dc0c

Function at 0x412e17
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x412d9b
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x412db9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja fcn.00412e17
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x412dfe
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x412e07
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x412e11
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x412df3
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
dec eax
push es
jbe 0x412d7d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x412e64
dec eax
je 0x412e5b
sub eax, 3
je 0x412e52
mov dword [ebp - 4], 0x40
jmp 0x412e81
mov dword [ebp - 4], 4
jmp 0x412e67
mov dword [ebp - 4], 0x20
jmp 0x412e67
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x412eb3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x412e33
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004126c4
xchg edi, eax
test esi, 0x1475ff6a
push 1
push esi
call edi
mov eax, esi
jmp 0x412ebf
Function at 0x412f8f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
test dword [edi - 4], eax
invalid
dec dword [edx]
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.004126d4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00412689
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
test dword [0x8afffffc], ebx
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219

Function at 0x408948
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop eax
call fcn.0040896c
xor dword [ecx], eax
add esi, esi
add esi, 0x1549f1a1
inc ecx
mov ebx, esi
cmp ecx, edx
jne fcn.00408948
or ebx, esi
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x40b348f8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x46555f71
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Allocate or change rwx memory
Create process on windows

Disassembly:
mov dword [0x403204], 0x44
push 0x403248
push 0x403204
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.12345.exe
call sub.kernel32.dll_CreateProcessA
or eax, eax
je 0x401176
push 0xbb8
call sub.kernel32.dll_Sleep
push dword [0x403250]
push 0
push 0x410
call sub.kernel32.dll_OpenProcess
or eax, eax
je 0x401161
mov edi, eax
push 0xc
push 0x403048
push 0
push edi
call sub.psapi.dll_GetModuleInformation
or eax, eax
je 0x401146
push 0x1c
push 0x403258
push dword [0x403050]
push edi
call sub.kernel32.dll_VirtualQueryEx
or eax, eax
je 0x40112b
push edi
call 0x401190
mov esi, dword [0x40325c]
add esi, 0x3cea
push 0x403545
push 0x40
push 1
push esi
push dword [0x403248]
call sub.kernel32.dll_VirtualProtectEx
or eax, eax
je 0x401116
push 0
push 2
push 0x403028
push esi
push dword [0x403248]
call sub.kernel32.dll_WriteProcessMemory
or eax, eax
je 0x401101
push 0x403545
push dword [0x403545]
push 1
push esi
push dword [0x403248]
call sub.kernel32.dll_VirtualProtectEx
push 0x40
push str.Info_
push str.File_was_Patched_
push 0
call main
jmp 0x401189
push 0x30
push 0x40308c
push str.WriteProcessMemory_failed_
push 0
call main
jmp 0x401189
push 0x30
push 0x4030b4
push str.VirtualProtectEx_failed_
push 0
call main
jmp 0x401189
push edi
call 0x401190
push 0x30
push 0x4030d8
push str.VirtualQueryEx_failed_
push 0
call main
jmp 0x401189
push edi
call 0x401190
push 0x30
push 0x403104
push str.GetModuleInformation_failed_
push 0
call main
jmp 0x401189
push 0x30
push 0x403124
push str.Cant_open_process_
push 0
call main
jmp 0x401189
push 0x30
push str.Problem_
push str.Cant_create_process_
push 0
call main
push 0
call sub.kernel32.dll_ExitProcess
jmp dword [sym.imp.kernel32.dll_CloseHandle]
Function at 0x404296
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
mov eax, dword [0x42a014]
xor eax, esp
mov dword [esp + 0xd8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0xc], eax
push 0x208
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], 7
call fcn.00407a7d
mov esi, eax
mov dword [esp], 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
push esi
call fcn.00408c31
pop ecx
pop ecx
test eax, eax
jne 0x404309
mov edi, ebx
jmp 0x404315
add eax, 2
push eax
call fcn.0040d029
pop ecx
mov edi, eax
push esi
call fcn.00407a86
pop ecx
push edi
lea ecx, [esp + 0xa0]
call fcn.00404e68
lea ecx, [esp + 0x84]
call fcn.00403e1e
mov eax, 0x7ffffffe
sub eax, dword [esp + 0x94]
cmp eax, 1
jb 0x4044f7
cmp dword [esp + 0x98], 8
lea eax, [esp + 0x84]
push 1
cmovae eax, dword [esp + 0x88]
push ecx
push dword [esp + 0x9c]
push eax
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0xcc]
call fcn.0040579e
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0xb8]
call fcn.0040521a
push eax
lea ecx, [esp + 0xd0]
call fcn.0040684b
lea ecx, [esp + 0xb4]
call fcn.00406a8b
push 0x44
pop esi
push esi
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.004092f0
xor eax, eax
mov dword [esp + 0x2c], esi
lea edi, [esp + 0x1c]
mov dword [esp + 0x78], ebx
stosd dword es:[edi], eax
lea ecx, [esp + 0x78]
add esp, 0xc
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], 7
stosd dword es:[edi], eax
push 0x42684c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0x14]
xor edi, edi
inc edi
mov word [esp + 0x54], ax
mov dword [esp + 0x50], edi
call fcn.00404e68
lea eax, [esp + 0xcc]
push eax
lea ecx, [esp + 0x70]
call fcn.0040521a
push 2
push 0x426850
lea ecx, [esp + 0x74]
call fcn.00405263
mov edx, dword [esp + 0xc]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x404425
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x74]
call fcn.00405263
cmp dword [esp + 0x80], 8
lea eax, [esp + 0x6c]
cmovae eax, dword [esp + 0x6c]
push eax
call fcn.0040d029
cmp dword [esp + 0x9c], 8
mov esi, eax
pop ecx
lea ecx, [esp + 0x84]
cmovae ecx, dword [esp + 0x84]
push ecx
call fcn.0040d029
pop ecx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
push ebx
push ebx
push edi
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404498
or ebx, 0xffffffff
jmp 0x4044b1
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_AllowSetForegroundWindow]
push 0x1388
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
lea ecx, [esp + 0x6c]
call fcn.00406a8b
lea ecx, [esp + 0xcc]
call fcn.00406a8b
lea ecx, [esp + 0x84]
call fcn.00406a8b
lea ecx, [esp + 0x9c]
call fcn.00406a8b
mov ecx, dword [esp + 0xe4]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004076a8
mov esp, ebp
pop ebp
ret 0x10
call fcn.00401c7f
int3
Function at 0x4083da
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408419
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408419
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408419
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408419
cmp dword [ecx + 0x74], 0xe
jbe 0x408419
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41b300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b32d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b32d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xa14000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xa1400a
jmp 0xa1600f
jmp fcn.007d80b0

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6a
nop
sub eax, 0x403d10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x402dd2
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edi, edi
mov ebx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
cmp dword [esp + 0x10], eax
jle 0x402e18
sub ebx, 0x425680
mov ax, word [ebx + edi*2 + 0x425680]
mov ecx, esi
xor ax, word [edi*2 + 0x425680]
movzx eax, ax
push eax
call fcn.00402270
inc edi
cmp edi, dword [esp + 0x10]
jl 0x402df6
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov edi, edx
cmp dword [0x481e90], ebx
jne 0x40379c
mov ecx, ebx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x40377d
shr eax, 1
xor eax, 0xedb88320
jmp 0x40377f
shr eax, 1
dec edx
jne 0x403770
mov dword [ecx*4 + 0x481a90], eax
inc ecx
cmp ecx, 0x100
jl 0x40376b
mov dword [0x481e90], 1
mov eax, dword [ebp + 8]
or edx, 0xffffffff
xor ecx, ecx
lea eax, [edi + eax*2]
mov esi, eax
sub esi, edi
inc esi
shr esi, 1
cmp edi, eax
cmova esi, ecx
test esi, esi
je 0x4037d1
movzx eax, byte [edi]
lea edi, [edi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x481a90]
inc ebx
cmp ebx, esi
jb 0x4037b7
pop edi
not edx
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret 4