joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408bc6
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [esp], 0x43a3c0
mov dword [esp + 4], eax
call fcn.00408447
push ebx
push ebx
mov dword [esp], 0x43a3c0
call fcn.00407d79
push edx
test eax, eax
jne 0x408bf7
xor eax, eax
jmp 0x408c73
mov dword [esp], eax
mov ebx, eax
call fcn.00408510
push ecx
test byte [0x43cae4], 0x80
je 0x408c19
mov ax, word [ebx]
test ax, ax
je 0x408bf3
cmp ax, 0x5c
je 0x408bf3
sub ebx, 0x43a3c0
sar ebx, 1
mov dword [esp], 0x43a3c0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
mov dword [esp], 0x43a3c0
cmp ebx, eax
jge 0x408c58
call fcn.00408b8e
push edx
test eax, eax
je 0x408c49
test byte [eax], 0x10
je 0x408bf3
mov dword [esp], 0x43a3c0
call fcn.00407d06
push eax
jmp 0x408c21
call fcn.0040847b
push eax
mov dword [esp], 0x43a3c0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
inc eax
push edx
setne al
movzx eax, al
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x408eff
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x244]
sub esp, 0x254
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edx
push edx
lea edx, [eax - 1]
cmp edx, 0x103
ja 0x408f3d
xor edx, edx
cmp word [ebp + eax*2 - 0x246], 0x5c
sete dl
jmp 0x408f44
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, edx
add eax, eax
mov dword [esp + 4], str._s_S.dll
add edx, 0x40c688
add eax, ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov dword [esp], ebx
mov dword [esp + 8], 8
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ebx, dword [ebp - 4]
sub esp, 0xc
leave
ret 4

Function at 0x4090e4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x43b424], 0
mov ebp, esp
push esi
mov edx, dword [ebp + 0xc]
push ebx
jne 0x409121
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
shr esi, 1
and eax, 1
je 0x40910c
mov eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4090fe
mov dword [ecx*4 + 0x43b420], eax
inc ecx
cmp ecx, 0x100
jne 0x4090f7
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
cmp edx, ebx
je 0x409144
inc edx
mov cl, byte [edx - 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x43b420]
jmp 0x40912b
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x402da5
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x431418]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
push 1
call fcn.00402fa9
add esp, 0xc
cmp eax, 1
je 0x402dd4
push 3
pop eax
jmp 0x402e61
push ebx
push esi
push edi
mov ebx, 0x431d48
mov edi, 0x432770
push ebx
push str.Stopping_service:__s
push 0x208
push edi
call fcn.00403cb5
mov eax, dword [0x432b90]
add esp, 0x10
xor esi, esi
test eax, eax
je 0x402e0e
push edi
push esi
push 0x8001
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
jne 0x402e24
inc eax
jmp 0x402e5e
push 0xf01ff
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov ebx, eax
test ebx, ebx
je 0x402e55
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 1
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040d595
leave
ret

Function at 0x402e6d
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1464
call fcn.0040d760
mov eax, dword [0x431418]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test bl, bl
je 0x402f92
push str.RegDeleteKeyEx
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1464], eax
test eax, eax
je 0x402f92
lea eax, [ebp - 0x1458]
push eax
push 0xf013f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp dword [ebp - 0x1458], 0
je 0x402f9a
xor ecx, ecx
mov dword [ebp - 0x145c], 0xa28
push ecx
push ecx
push ecx
push ecx
lea eax, [ebp - 0x145c]
mov dword [ebp - 0x1460], ecx
push eax
lea eax, [ebp - 0xa2c]
push eax
push ecx
push dword [ebp - 0x1458]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x402f75
mov byte [ebp + 0x10], bl
mov ebx, dword [ebp - 0x1460]
lea eax, [ebp - 0xa2c]
inc ebx
push eax
push edi
push str._s_s
lea eax, [ebp - 0x1454]
push 0xa28
push eax
call fcn.00403cb5
push dword [ebp + 0x10]
lea eax, [ebp - 0x1454]
push eax
push esi
call fcn.00402e6d
add esp, 0x20
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x145c]
push eax
lea eax, [ebp - 0xa2c]
push eax
push ebx
push dword [ebp - 0x1458]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x402f1e
push dword [ebp - 0x1458]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0x100
push edi
push esi
call dword [ebp - 0x1464]
jmp 0x402f9a
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040d595
leave
ret
Function at 0x407167
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and dword [0x433970], 0
cmp byte [ebp + 0xc], 0
push dword [ebp + 8]
je 0x407193
push 0
push fcn.004064b8
call fcn.00418fbd
add esp, 0xc
cmp eax, 0xffffffff
jne 0x407199
push 0xe
pop eax
pop ebp
ret
call fcn.004064b8
pop ecx
xor eax, eax
pop ebp
ret

Function at 0x4075fe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
or edx, 0xffffffff
push edi
mov edi, dword [ebp + 8]
test esi, esi
je 0x407628
movzx eax, byte [edi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x433ca8]
inc edi
sub esi, 1
jne 0x407610
not edx
pop edi
mov eax, edx
pop esi
pop ebp
ret
Function at 0x407c3c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x63c
mov eax, dword [0x431418]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x638]
push edi
mov edi, dword [ebp + 8]
push 0x530
push 0
push eax
call fcn.0040ea10
lea eax, [ebp - 0x638]
push eax
push edi
call fcn.00407f02
add esp, 0x14
test al, al
je 0x407d3a
xor eax, eax
inc eax
push ebx
push eax
call fcn.004080f7
mov ax, word [ebp - 0x628]
mov ebx, 0x104
pop ecx
test ax, ax
jne 0x407cd1
push esi
push 0x1a
call fcn.00407fbb
push edi
push str.DeskSoft_s
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.00403cb5
lea eax, [ebp - 0x108]
push eax
push ebx
push esi
call fcn.0041139d
mov ax, word [ebp - 0x628]
add esp, 0x24
xor ecx, ecx
inc ecx
cmp ax, cx
jne 0x407d2e
lea eax, [ebp - 0x520]
push eax
push ebx
push esi
call fcn.00411193
add esp, 0xc
cmp word [ebp - 0x626], 0
je 0x407d2e
push 0x426af0
push ebx
push esi
call fcn.0041139d
add esp, 0xc
mov dword [ebp - 0x63c], ebx
lea eax, [ebp - 0x63c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x108]
push eax
push ebx
push esi
call fcn.0041139d
add esp, 0xc
push 0
call fcn.004080f7
pop ecx
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0040d595
leave
ret

Function at 0x407e03
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareDeskSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x407e2d
xor al, al
jmp 0x407e5b
push esi
push esi
push esi
push esi
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x104
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
leave
ret
Function at 0x407f02
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 8]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SoftwareDeskSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x407f50
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push dword [ebp - 8]
call esi
cmp dword [ebp - 4], ebx
jne 0x407f57
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 4]
xor eax, eax
inc eax
push eax
call fcn.00418d1c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x407f47
lea eax, [ebp - 4]
push eax
push edi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 8]
call esi
test eax, eax
je 0x407f87
push edi
call fcn.00418c70
pop ecx
jmp 0x407f47
mov esi, dword [ebp + 0xc]
mov eax, 0x530
cmp dword [ebp - 4], eax
cmovb eax, dword [ebp - 4]
push eax
push edi
push esi
call fcn.0040f410
push edi
call fcn.00418c70
add esp, 0x10
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
cmp word [esi], ax
sete al
jmp 0x407f52

Function at 0x408191
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, 0x433ca8
push 8
push edi
call fcn.004075cb
pop ecx
pop ecx
mov edx, eax
push 8
shl edx, 0x18
pop ebx
mov ecx, edx
lea eax, [edx + edx]
sar ecx, 0x1f
and ecx, 0x4c11db7
mov edx, ecx
xor edx, eax
sub ebx, 1
jne 0x4081ad
push 0x20
push edx
call fcn.004075cb
mov dword [esi], eax
inc edi
add esi, 4
pop ecx
pop ecx
cmp esi, 0x4340a4
jle 0x40819b
pop edi
pop esi
pop ebx
ret

Function at 0x4081e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x4339f8], 0
mov eax, dword [ebp + 8]
mov dword [0x4339e8], eax
jne 0x40820a
push 0x104
push 0x4339f8
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [0x4339e8]
push esi
push 0xa
mov esi, str.Setup.dis
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
neg eax
sbb eax, eax
inc eax
mov dword [0x433b00], eax
call fcn.00408191
push 0x4339f0
call fcn.00407e5e
push 0
mov dword [0x4339ec], eax
call fcn.004069ff
pop ecx
pop ecx
xor ecx, ecx
cmp dword [0x4313f4], ecx
jle 0x40827d
push ebx
mov edx, 0x4313d4
push edi
xor ebx, ebx
cmp dword [ecx*4 + 0x4312c4], ebx
jle 0x40826f
mov edi, edx
lea eax, [ebx + 0x64]
xor byte [edi], al
inc ebx
inc edi
cmp ebx, dword [ecx*4 + 0x4312c4]
jl 0x40825f
inc ecx
add edx, 0xa
cmp ecx, dword [0x4313f4]
jl 0x408252
pop edi
pop ebx
cmp dword [0x433b00], 0
mov ecx, str.Uninstall.dis
push 1
cmovne esi, ecx
push 0x433afc
push esi
call fcn.00406258
add esp, 0xc
mov ecx, eax
mov dword [0x4339f4], ecx
pop esi
test ecx, ecx
jne 0x4082ac
inc eax
pop ebp
ret
mov eax, dword [0x433afc]
push 1
mov byte [eax + ecx], 0
call fcn.004069ff
pop ecx
pop ebp
ret
Function at 0x40ede0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x40edf5
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040eb07
push esp
xchg ebx, eax
and byte [ebx + 0x50c0458d], 0xe8
invalid

Function at 0x41ca9e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b534
push 0x42b52c
push str.FlsAlloc
push 0x1f
call fcn.0041c97a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cad2
push dword [ebp + 8]
mov ecx, esi
call dword [0x42634c]
call esi
jmp 0x41cad8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41cb1c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b544
push 0x42b53c
push str.FlsGetValue
push 0x21
call fcn.0041c97a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cb53
push dword [ebp + 8]
mov ecx, esi
call dword [0x42634c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41cb5b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b54c
push 0x42b544
push str.FlsSetValue
push 0x22
call fcn.0041c97a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41cb95
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42634c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4034f0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40350f
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40350a
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x4034f4
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4034fc
cmp edx, ebx
jne 0x40364a
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x4034cb
add eax, dword [eax + 4]
jmp 0x4034b8
mov dword [ebp + 0xc], ebx
jmp 0x40351a

Function at 0x403570
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x403532
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x403550
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 0x4035ae
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 0x403595
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x40359e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4035a8
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40358a
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x403514
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 0x4035fb
dec eax
je 0x4035f2
sub eax, 3
je 0x4035e9
mov dword [ebp - 4], 0x40
jmp 0x403618
mov dword [ebp - 4], 4
jmp 0x4035fe
mov dword [ebp - 4], 0x20
jmp 0x4035fe
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 0x40364a
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4035ca
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00402e5b
add byte [ebx + 0x28], dh
jo 0x40363e
push dword [ebp + 0x14]
jne 0x403655
push 1
push esi
call edi
mov eax, esi
jmp 0x403656
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408f59
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f560
cmp edx, dword [eax]
je 0x408f7b
add eax, 8
inc ecx
cmp eax, 0x40f5f0
jl 0x408f6c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f560]
jne 0x4090a9
mov eax, dword [0x40fc94]
cmp eax, 1
je 0x409083
test eax, eax
jne 0x408fac
cmp dword [0x40f4a4], 1
je 0x409083
cmp edx, 0xfc
je 0x4090a9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408fe3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00407f70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00409750
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x409026
lea eax, [ebp - 0x1a4]
push eax
call fcn.00409750
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40c548
push edi
call fcn.0040a700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00407f70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00407f80
lea eax, [ebp - 0xa0]
push 0x40c528
push eax
call fcn.00407f80
push dword [esi + 0x40f564]
lea eax, [ebp - 0xa0]
push eax
call fcn.00407f80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040a675
add esp, 0x2c
pop edi
jmp 0x4090a9
lea eax, [ebp + 8]
lea esi, [esi + 0x40f564]
push 0
push eax
push dword [esi]
call fcn.00409750
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10f4160
Capabilities:
Decompress data using aplib

Disassembly:
call 0x10f42b0
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10f4186
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f4172
add dl, dl
jne 0x10f4191
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f41e4
xor eax, eax
add dl, dl
jne 0x10f419e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10f4285
add dl, dl
jne 0x10f41ad
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f41b8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f41c3
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f41ce
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10f41da
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10f417d
mov eax, 1
add dl, dl
jne 0x10f41f2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10f41fd
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f41e9
sub eax, ebx
mov ebx, 1
jne 0x10f4230
mov ecx, 1
add dl, dl
jne 0x10f4216
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f4221
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f420d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f417d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10f4247
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10f4252
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10f423e
cmp eax, 0x7d00
jae 0x10f4275
cmp eax, 0x500
jb 0x10f4270
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f417d
cmp eax, 0x7f
ja 0x10f4278
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10f417d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10f42a6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10f417d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x40e849
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x40e858
pop dword [ebp - 0x1c]
mov eax, 0x5562b304
sub eax, 0x5521caac
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x1f39305d
sub dword [ebp - 0x2c], 0xd0e6eb12
mov dword [ebp - 0x28], 0x186626ff
sub dword [ebp - 0x28], 0xe632daba
mov dword [ebp - 0x24], 0x39302882
add dword [ebp - 0x24], 0x131c1bac
mov dword [ebp - 0x20], 0xf9c7a61a
add dword [ebp - 0x20], 0x63859e6
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x35ee81de
sub dword [ebp - 0x2c], 0xc17c1888
mov dword [ebp - 0x28], 0x78e2dd14
add dword [ebp - 0x28], 0xc8898461
mov dword [ebp - 0x24], 0xfdb54318
add dword [ebp - 0x24], 0x65ba2954
mov dword [ebp - 0x20], 0xcfd311d0
sub dword [ebp - 0x20], 0xcfd311d0
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x84888f65
sub eax, 0x8442dee5
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x53eb4
push 0
call eax
mov ecx, 0xee6aeebe
add ecx, 0x119573a0
xor esi, esi
add esi, eax
mov edi, 0x42acca0f
add edi, 0xbd9a95f1
add edi, dword [ebp - 0x1c]
mov ebx, 0x63cf481c
sub ebx, 0x51fdb117
xor dword [ebp - 8], edx
mov edx, dword [edi]
xor dword [ebp - 8], 0x2855c337
sub edx, ebx
mov dword [ebp - 4], 0x7cf0fcc1
mov dword [esi], edx
xor dword [ebp - 4], ebx
add esi, 0x83a85b0f
add esi, 0x7c57a4f5
add edi, 0xd6b43527
add edi, 0x294bcadd
loop 0x40e977
add eax, 0xbb1e561c
sub eax, 0xbb1cd9d1
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x450336
Capabilities:
Encode data using xor

Disassembly:
jae 0x45034b
ljmp 0x7644:0x3f34a8e0
cmp edi, dword [edi]
and al, 0x58
out 0x54, eax
sbb byte [ebp + 0x31], al
stosb byte es:[edi], al
mov esi, 0x49be7dba
lahf
pop edi
sbb esi, dword [ecx + 0x20]
sbb dword [eax - 0x370896f5], ebp
xchg edx, eax
adc byte [ebx], bh
xor ah, byte [ebx - 0x20]
inc edx
inc ecx
bound ebx, qword [esi - 0xaa3c3fe]
rcl byte [ecx], cl
int3
lea ebx, [eax - 0xcc59076]
cmp eax, dword [edx]
bnd je 0x450441
je 0x450441
imul esp, edx, 0x61
loop 0x4503ac
pushal
outsb dx, byte [esi]
jns 0x4503e9
sahf
fldcw word [ecx + ebx*2 + 0x64]
je 0x450384
push esp
dec esi
invalid
fisub dword [edx]
loop 0x45047a
mov cl, 0xb2
mov bl, 2
dec edi
pushal
loop 0x4503ce
xor dh, byte [ecx + 0x1bf52595]
and eax, 0xc28cf6ce
mov dh, 0xc0
call 0x16067f92
invalid
nop
loop 0x4504c3
xchg byte [eax - 0xa], dl
and dword [ebp - 0x48584348], 0xfffffff5
dec esp
int3

Function at 0x468ce9
Capabilities:
Encode data using xor

Disassembly:
push ecx
pop edx
pop es
invalid
mov al, byte [0x71b2c899]
sahf
xlatb
pushfd
mov byte [edx + 0x95a1108], bh
xor al, 0xd3
xchg ebx, eax
jns 0x468cd4
wait
mov bl, al
invalid