joyce8/EMBER2024-capa huggingface dataset:
Function at 0x12184c60
Capabilities:
Start service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x12184c84
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.kernel32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x12184c8b
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
shl ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_StartServiceA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x12184dd0
Capabilities:
Get keyboard layout

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 8], 0
je 0x12184df0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x12184df7
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x12186ab0
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [ebp + 0xc], 0
je 0x12186ad0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x12186ad7
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shl edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.kernel32.dll_GlobalFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x300086ae
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x300094f8
call fcn.30008790
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x3000ba88
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x3000844d
cmp eax, esi
jne 0x30008440
xor esi, esi
inc esi
mov ebx, esi
jmp 0x30008450
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x30008427
xor esi, esi
inc esi
mov eax, dword [0x3000ba84]
cmp eax, esi
jne 0x30008463
push 0x1f
call sub.MSVCR80.dll__amsg_exit
pop ecx
jmp 0x30008492
mov eax, dword [0x3000ba84]
test eax, eax
jne 0x3000848c
mov dword [0x3000ba84], esi
push 0x30001268
push 0x30001260
call sub.MSVCR80.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x30008492
jmp 0x300085ba
mov dword [0x3000b730], esi
mov eax, dword [0x3000ba84]
cmp eax, esi
jne 0x300084b6
push 0x3000125c
push 0x30001254
call sub.MSVCR80.dll__initterm
pop ecx
pop ecx
mov dword [0x3000ba84], 2
test ebx, ebx
jne 0x300084c2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x3000ba94], 0
je 0x300084e6
push 0x3000ba94
call fcn.30008a8c
pop ecx
test eax, eax
je 0x300084e6
push 0
push 2
push 0
call dword [0x3000ba94]
mov eax, dword [sym.imp.MSVCR80.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x30008542
test al, al
je 0x30008500
cmp dword [ebp - 0x1c], 0
jne 0x30008542
mov al, byte [esi]
test al, al
je 0x30008510
cmp al, 0x20
ja 0x30008510
inc esi
mov dword [ebp - 0x20], esi
jmp 0x30008500
test byte [ebp - 0x3c], 1
je 0x3000851c
movzx eax, word [ebp - 0x38]
jmp 0x3000851f
push 0xa
pop eax
push eax
push esi
push 0
push 0x30000000
call main
mov dword [0x3000b72c], eax
cmp dword [0x3000b720], 0
jne 0x30008596
push eax
call dword [sym.imp.MSVCR80.dll_exit]
cmp al, 0x22
jne 0x30008551
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR80.dll__ismbblead]
pop ecx
test eax, eax
je 0x30008564
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x300084ed
cmp dword [0x3000b730], 0
jne 0x300085a5
call dword [sym.imp.MSVCR80.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x3000b72c]
jmp 0x300085c6
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.300087d5
ret
call fcn.3009b000
jmp 0x300083ed
Function at 0x402b68
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402ba5
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402bc5
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00404d04
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402e0c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402e65
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402ca8
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402ca8
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402e4f
inc ebx
jmp 0x402e38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402e6c
lea eax, [ebp - 8]
call fcn.00404a94
ret

Function at 0x402e74
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404a94
test esi, esi
jne 0x402eab
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404b84
jmp 0x402ecc
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402ca8
mov dword [esp], eax
test esi, esi
je 0x402ecc
cmp dword [ebx], 0
je 0x402ecc
dec esi
jmp 0x402eb3
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x404cbc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
invalid

Function at 0x404d30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
lahf
invalid
Function at 0x404d7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040495f
push eax
push esi
push dword [ebp + 8]
call fcn.00404914
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040494f
imul ebp, ecx, 0x9d881e28
jl 0x404dd4
invalid
invalid

Function at 0x405074
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405026
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x405044
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 0x4050a2
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
add byte [eax], al
and byte [ecx + 0x1065], al
add byte [eax + 0x3b184d8b], al
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x405089
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x405092
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x40509c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40507e
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405008
mov dword [ebp + 8], esi

Function at 0x405168
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3525b], al
inc dword [eax]
mov byte [ebp - 0x352], 0xda
and byte [ebp - 0x351], 0
mov byte [ebp - 0x350], 0x62
mov byte [ebp - 0x34f], 0x40
Function at 0x40518c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040495f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404914
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
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
invalid
test dword [eax - 4], eax

Function at 0x405818
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [ebp - 0x22e43], 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
movsd dword es:[edi], dword [esi]
lodsb al, byte [esi]
stc
invalid
inc dword [eax]
push 0x40

Function at 0x405844
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0040492d
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.0040495f
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404914
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0040494f
add esi, dword [eax + 0x4685657]
add dword [eax], eax
add byte [ebp - 0x12b7b], cl
call dword [eax - 1]
xchg ebp, eax
sub al, 0xfc
invalid

Function at 0x4069ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x4069f0
jmp 0x4069f5
jmp 0x4062f1
cmp dword [ebp - 0x37c], 0
Function at 0x406af4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esp
call fcn.0040494f
popal
fst st(6)
salc
or al, 0x64
mov eax, dword [0x30]

Function at 0x406b04
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
js 0x406b2a
invalid
je 0x406b13
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.0040494f

Function at 0x406b1c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sar dl, 0xff
invalid
std
jno 0x406aa7
inc ebx
mov edi, eax
mov eax, dword [edi + 0x3c]
cmp al, 0x8b
push esp
pop es
js 0x406b2d
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
invalid
Function at 0x41972c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41993a
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x4197f8
mov eax, dword [0x41ccc8]
cmp byte [eax + 0x915], 0
jne 0x4197f8
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040af0c
mov edx, dword [ebp - 4]
mov eax, 0x419950
call fcn.00405074
test eax, eax
jne 0x41979c
push ebx
push 0x41995c
push 0x41995c
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 4
call fcn.00404df0
jmp 0x4197c0
mov al, byte [0x419960]
push eax
lea eax, [ebp - 8]
push eax
mov edx, 0x419950
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0040caa8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404b2c
push 0x40010
push 0
mov eax, dword [ebp - 4]
call fcn.00404f30
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x41caf0]
push eax
call sub.user32.dll_DestroyWindow
mov eax, dword [0xe1f534]
push eax
call fcn.00406b4c
mov eax, dword [0xe1f538]
push eax
call fcn.00406b4c
mov eax, dword [0x41ccc8]
cmp byte [eax], 1
jne 0x41989b
mov eax, dword [0x41ccc8]
cmp byte [eax + 0x917], 2
je 0x41989b
mov eax, dword [0xe1f524]
call fcn.00405844
mov esi, eax
test esi, esi
jl 0x419877
inc esi
xor ebx, ebx
mov eax, dword [0xe1f524]
mov eax, dword [eax + ebx*4]
xor edx, edx
call fcn.004084b4
mov eax, dword [0x41ccc8]
mov al, byte [eax + 0x917]
sub al, 1
jb 0x41984d
je 0x41985c
jmp 0x419873
mov eax, dword [0xe1f524]
mov eax, dword [eax + ebx*4]
call fcn.004085d8
jmp 0x419873
push 4
push 0
mov eax, dword [0xe1f524]
mov eax, dword [eax + ebx*4]
call fcn.00404f30
push eax
call fcn.00406ae4
inc ebx
dec esi
jne 0x41982b
mov eax, dword [0xe1f528]
call fcn.00405844
mov ebx, eax
cmp ebx, 0
jl 0x41989b
mov eax, dword [0xe1f528]
mov eax, dword [eax + ebx*4]
call fcn.004196b4
dec ebx
cmp ebx, 0xffffffff
jne 0x419888
test edi, edi
jne 0x419904
cmp dword [0x41cae8], 0
je 0x419904
push 0
push 0
push 0x41996c
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.00402e74
push dword [ebp - 0x10]
push 0x41996c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404df0
mov eax, dword [ebp - 0xc]
call fcn.00404f30
push eax
mov eax, dword [0x41cae8]
call fcn.00404f30
push eax
push 0x419970
push 0
call sub.shell32.dll_ShellExecuteA
push 4
push 0
mov eax, dword [0x41cae8]
call fcn.00404f30
push eax
call fcn.00406ae4
cmp dword [0x41cb04], 0
je 0x419918
mov eax, dword [0x41cb04]
push eax
call fcn.00406964
mov eax, edi
call fcn.00404a7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x419941
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404ab8
ret
Function at 0x4533c1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4aa4b8
cmp edx, dword [eax]
je 0x4533e3
add eax, 8
inc ecx
cmp eax, 0x4aa548
jl 0x4533d4
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4aa4b8]
jne 0x453511
mov eax, dword [0x4ad748]
cmp eax, 1
je 0x4534eb
test eax, eax
jne 0x453414
cmp dword [0x4a9c04], 1
je 0x4534eb
cmp edx, 0xfc
je 0x453511
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x45344b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00453e40
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00452530
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x45348e
lea eax, [ebp - 0x1a4]
push eax
call fcn.00452530
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x495224
push edi
call fcn.0044adf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00453e40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00453e50
lea eax, [ebp - 0xa0]
push 0x4a62d8
push eax
call fcn.00453e50
push dword [esi + 0x4aa4bc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00453e50
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00456ac3
add esp, 0x2c
pop edi
jmp 0x453511
lea eax, [ebp + 8]
lea esi, [esi + 0x4aa4bc]
push 0
push eax
push dword [esi]
call fcn.00452530
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 0x46f569
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x512f52f7
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0046f211
push eax
push esi
push dword [ebp + 8]
call fcn.0046f1c6
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte cs:[ebp - 0x5e], 0x35

Function at 0x46f5f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0046f211
push eax
push esi
push dword [ebp + 8]
call fcn.0046f1c6
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0046f211
push eax
push esi
push dword [ebp + 8]
call fcn.0046f1c6
inc dword [ebx - 0x7a76cf3c]
dec eax
invalid
invalid
invalid
call fcn.0046f201
jmp 0x46f65a
Function at 0x470098
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add bh, bh
xchg ebp, eax
sar ah, 0xff
dec dword [ecx + 0x4680845]
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh
xchg ebp, eax

Function at 0x4700b2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.0046f201
out 0xf2, al
cwde
movsb byte es:[edi], byte [esi]
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
invalid

Function at 0x4818a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x481951
mov ecx, 0x4ad6c8
call fcn.00481482
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, eax
cmp word [esi + 8], 0
jne 0x48192f
push str.COMCTL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x48190d
mov ecx, dword [ebp + 0x10]
push 5
neg ecx
sbb ecx, ecx
and ecx, 0xe
add ecx, 0x3ee
movzx ecx, cx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48190d
push ebx
push edi
push eax
call fcn.0047292f
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax - 8]
inc eax
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi + 4], eax
push dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ax, word [ebx]
mov word [esi + 8], ax
push dword [esi + 4]
mov ecx, edi
call fcn.004717b5
mov si, word [esi + 8]
xor eax, eax
mov word [ebx], si
cmp si, 0xffff
pop edi
pop esi
setne al
pop ebx
pop ebp
ret 0xc