joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000efb0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000efc0]
jne 0x10017eea
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x1001a2f0], eax
mov dword [0x1001a2ec], ecx
mov dword [0x1001a2e8], edx
mov dword [0x1001a2e4], ebx
mov dword [0x1001a2e0], esi
mov dword [0x1001a2dc], edi
mov word [0x1001a308], ss
mov word [0x1001a2fc], cs
mov word [0x1001a2d8], ds
mov word [0x1001a2d4], es
mov word [0x1001a2d0], fs
mov word [0x1001a2cc], gs
pushfd
pop dword [0x1001a300]
mov eax, dword [ebp]
mov dword [0x1001a2f4], eax
mov eax, dword [ebp + 4]
mov dword [0x1001a2f8], eax
lea eax, [ebp + 8]
mov dword [0x1001a304], eax
mov eax, dword [ebp - 0x320]
mov dword [0x1001a240], 0x10001
mov eax, dword [0x1001a2f8]
mov dword [0x1001a1f4], eax
mov dword [0x1001a1e8], 0xc0000409
mov dword [0x1001a1ec], 1
mov eax, dword [0x1000efc0]
mov dword [ebp - 0x328], eax
mov eax, dword [0x1001a044]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x1001a238], eax
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10017fec
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x1001a238], 0
jne 0x10017fd6
push 1
call sub.msvcr100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x5c67785c
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x4f37360d
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40cc36
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
pop ebx
push esi
push edi
add esp, 4
or esi, 0x8b5d
call 0x40cb7b
add byte [edi + 0x36], cl
xor eax, dword [eax + 0x4a]
xor eax, 0x8337484f
les eax, [ecx + eax*4]
out 0x2e, al
adc byte [ecx], al
add byte [esi - 0x39], bl
inc ebp
lock add dword [eax], eax
add byte [eax], al
push edi
push edi
add esp, 4
jmp 0x40cb97
and edi, 0x4d8c
add edi, 0xa666
and edi, 0xf9dd
pop edi
push ebx
push eax
add esp, 4
or ebx, 0x1337a
pop ebx
push edi
and edi, 0x8683
pop edi
imul edx, dword [ebp - 0x10], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x10], 0xfe
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0xfe
sub edx, ecx
mov dword [ebp - 0x14], edx
push esi
push edi
add esp, 4
xor esi, 0x851a
sub esi, 0xc795
pop esi
push ebx
add ebx, 0x7f6e
call 0x40cc13
add byte [ebp + 0x4b], al
push eax
inc edx
cmp eax, 0x414f453a
cmp byte [ebx + 0x3eb04c4], al
xor eax, 0x515b5038
push ebx
add esp, 4
sub ecx, 0xc9c9
call 0x40cc36
add byte [eax + 0x43], dl
dec ecx
dec ebp
dec ebp
dec eax
dec ebx
cmp eax, dword [eax - 0x7d]
les eax, [ecx + eax*4]
int1
aad 4
add byte [eax], al
pop ecx
push esi
and esi, 0xf7a
or esi, 0xba1a
pop esi
mov dword [ebp - 0x2c], 1
push edi
and edi, 0x139d2
sub edi, 0xda11
sub edi, 0x3c9c
pop edi
push eax
and eax, 0x1156c
call 0x40cc7d
add byte [ebp + 0x3f], al
dec ebx
aas
inc ebp
dec esp
inc esi
add esp, 4
sub eax, 0x81bf
pop eax
imul edx, dword [ebp - 0x2c], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x2c], 0xfe
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0xfe
sub edx, ecx
mov dword [ebp - 0x30], edx
Function at 0x40cc7d
Capabilities:
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
pop ebx
push esi
push edi
add esp, 4
or esi, 0x8b5d
call 0x40cb7b
add byte [edi + 0x36], cl
xor eax, dword [eax + 0x4a]
xor eax, 0x8337484f
les eax, [ecx + eax*4]
out 0x2e, al
adc byte [ecx], al
add byte [esi - 0x39], bl
inc ebp
lock add dword [eax], eax
add byte [eax], al
push edi
push edi
add esp, 4
jmp 0x40cb97
and edi, 0x4d8c
add edi, 0xa666
and edi, 0xf9dd
pop edi
push ebx
push eax
add esp, 4
or ebx, 0x1337a
pop ebx
push edi
and edi, 0x8683
pop edi
imul edx, dword [ebp - 0x10], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x10], 0xfe
sub edx, eax
xor edx, 0x153c
imul edx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x10], 0xfe
sub edx, ecx
mov dword [ebp - 0x14], edx
push esi
push edi
add esp, 4
xor esi, 0x851a
sub esi, 0xc795
pop esi
push ebx
add ebx, 0x7f6e
call 0x40cc13
add byte [ebp + 0x4b], al
push eax
inc edx
cmp eax, 0x414f453a
cmp byte [ebx + 0x3eb04c4], al
xor eax, 0x515b5038
push ebx
add esp, 4
sub ecx, 0xc9c9
call 0x40cc36
add byte [eax + 0x43], dl
dec ecx
dec ebp
dec ebp
dec eax
dec ebx
cmp eax, dword [eax - 0x7d]
les eax, [ecx + eax*4]
int1
aad 4
add byte [eax], al
pop ecx
push esi
and esi, 0xf7a
or esi, 0xba1a
pop esi
mov dword [ebp - 0x2c], 1
push edi
and edi, 0x139d2
sub edi, 0xda11
sub edi, 0x3c9c
pop edi
push eax
and eax, 0x1156c
call 0x40cc7d
add byte [ebp + 0x3f], al
dec ebx
aas
inc ebp
dec esp
inc esi
add esp, 4
sub eax, 0x81bf
pop eax
imul edx, dword [ebp - 0x2c], 0xfe
add edx, 0x56f3663b
imul eax, dword [ebp - 0x2c], 0xfe
sub edx, eax
xor edx, 0
imul edx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x2c], 0xfe
sub edx, ecx
mov dword [ebp - 0x30], edx
Function at 0x410df5
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x410e6f

Function at 0x410e25
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x410e35
add byte [eax + 0x39], al
inc ebx
aas
dec ecx
xor al, byte ss:[ebx - 0x74a4fb3c]
invalid

Function at 0x410e35
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
call 0x410e35
add byte [eax + 0x39], al
inc ebx
aas
dec ecx
xor al, byte ss:[ebx - 0x74a4fb3c]
invalid
Function at 0x411f3b
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub edx, 0x1752d
and edx, 0x10fee
call 0x411f57
add byte [ecx + 0x36], al
push eax
inc ebx
inc esp
xor al, 0x34
add esp, 4
pop edx
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x1990], edx
push 0
call dword [ebp - 0x1990]
mov dword [ebp - 0x20a8], 0xa
push esi
or esi, 0x50a3
pop esi
push ebx
push ebx
add esp, 4
xor ebx, 0x16488
add ebx, 0x1767c
pop ebx
push edx
push edi
add esp, 4
sub edx, 0x33a0
xor edx, 0xac00
xor edx, 0x11351
pop edx
mov eax, dword [ebp - 0x3e8]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3ae], cl
mov edx, dword [ebp - 0xab8]
sub edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x1694], edx
mov dword [ebp - 0xce8], 0
push edi
push eax
add esp, 4
add edi, 0x4fae
and edi, 0x165d6
sub edi, 0x470e
pop edi
push edx
or edx, 0x302
sub edx, 0x7592
and edx, 0x421d
sub edx, 0xd23e
pop edx
mov byte [ebp - 0x9d4], 0x56
mov byte [ebp - 0x9d3], 0x69
mov byte [ebp - 0x9d2], 0x72
mov byte [ebp - 0x9d1], 0x74
mov byte [ebp - 0x9d0], 0x75
mov byte [ebp - 0x9cf], 0x61
mov byte [ebp - 0x9ce], 0x6c
mov byte [ebp - 0x9cd], 0x50
mov byte [ebp - 0x9cc], 0x72
mov byte [ebp - 0x9cb], 0x6f
mov byte [ebp - 0x9ca], 0x74
mov byte [ebp - 0x9c9], 0x65
mov byte [ebp - 0x9c8], 0x63
mov byte [ebp - 0x9c7], 0x74
mov byte [ebp - 0x9c6], 0
push edi
push esi
add esp, 4
xor edi, 0x1325d
sub edi, 0xc5aa
pop edi
push edi
push esi
add esp, 4
xor edi, 0xeddf
xor edi, 0x20b7
and edi, 0x37aa
jmp 0x4120a2
pop edi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1994], eax
mov ecx, dword [ebp - 0x1994]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1998], edx
mov eax, dword [ebp - 0x1998]
mov dword [ebp - 0x1614], eax
push eax
push edx
add esp, 4
xor eax, 0x9590
add eax, 0x1085a
jmp 0x4120e3
pop eax
push esi
push ebx
add esp, 4
add esi, 0xb6e3
or esi, 0xf71a
sub esi, 0x14f9
pop esi
cmp dword [ebp - 0x1614], 0
jne 0x412114
mov dword [ebp - 0x2fc], 0
jmp 0x4123bb
mov ecx, dword [ebp - 0x1614]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push ecx
push edx
add esp, 4
or ecx, 0xd481
pop ecx
push esi
xor esi, 0x8ce3
jmp 0x41213f
call 0x41214c
add byte [ebx + esi], bh
cmp byte [ebp + 0x50], cl
dec ebx
inc eax
add esp, 4
jmp 0x412157
pop esi
cmp dword [ebp - 0xcc4], 0
jne 0x412170
mov dword [ebp - 0x2fc], 0
jmp 0x4123bb
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
Function at 0x411f57
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub edx, 0x1752d
and edx, 0x10fee
call 0x411f57
add byte [ecx + 0x36], al
push eax
inc ebx
inc esp
xor al, 0x34
add esp, 4
pop edx
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x1990], edx
push 0
call dword [ebp - 0x1990]
mov dword [ebp - 0x20a8], 0xa
push esi
or esi, 0x50a3
pop esi
push ebx
push ebx
add esp, 4
xor ebx, 0x16488
add ebx, 0x1767c
pop ebx
push edx
push edi
add esp, 4
sub edx, 0x33a0
xor edx, 0xac00
xor edx, 0x11351
pop edx
mov eax, dword [ebp - 0x3e8]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3ae], cl
mov edx, dword [ebp - 0xab8]
sub edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x1694], edx
mov dword [ebp - 0xce8], 0
push edi
push eax
add esp, 4
add edi, 0x4fae
and edi, 0x165d6
sub edi, 0x470e
pop edi
push edx
or edx, 0x302
sub edx, 0x7592
and edx, 0x421d
sub edx, 0xd23e
pop edx
mov byte [ebp - 0x9d4], 0x56
mov byte [ebp - 0x9d3], 0x69
mov byte [ebp - 0x9d2], 0x72
mov byte [ebp - 0x9d1], 0x74
mov byte [ebp - 0x9d0], 0x75
mov byte [ebp - 0x9cf], 0x61
mov byte [ebp - 0x9ce], 0x6c
mov byte [ebp - 0x9cd], 0x50
mov byte [ebp - 0x9cc], 0x72
mov byte [ebp - 0x9cb], 0x6f
mov byte [ebp - 0x9ca], 0x74
mov byte [ebp - 0x9c9], 0x65
mov byte [ebp - 0x9c8], 0x63
mov byte [ebp - 0x9c7], 0x74
mov byte [ebp - 0x9c6], 0
push edi
push esi
add esp, 4
xor edi, 0x1325d
sub edi, 0xc5aa
pop edi
push edi
push esi
add esp, 4
xor edi, 0xeddf
xor edi, 0x20b7
and edi, 0x37aa
jmp 0x4120a2
pop edi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1994], eax
mov ecx, dword [ebp - 0x1994]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1998], edx
mov eax, dword [ebp - 0x1998]
mov dword [ebp - 0x1614], eax
push eax
push edx
add esp, 4
xor eax, 0x9590
add eax, 0x1085a
jmp 0x4120e3
pop eax
push esi
push ebx
add esp, 4
add esi, 0xb6e3
or esi, 0xf71a
sub esi, 0x14f9
pop esi
cmp dword [ebp - 0x1614], 0
jne 0x412114
mov dword [ebp - 0x2fc], 0
jmp 0x4123bb
mov ecx, dword [ebp - 0x1614]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push ecx
push edx
add esp, 4
or ecx, 0xd481
pop ecx
push esi
xor esi, 0x8ce3
jmp 0x41213f
call 0x41214c
add byte [ebx + esi], bh
cmp byte [ebp + 0x50], cl
dec ebx
inc eax
add esp, 4
jmp 0x412157
pop esi
cmp dword [ebp - 0xcc4], 0
jne 0x412170
mov dword [ebp - 0x2fc], 0
jmp 0x4123bb
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
Function at 0x41214c
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
sub edx, 0x1752d
and edx, 0x10fee
call 0x411f57
add byte [ecx + 0x36], al
push eax
inc ebx
inc esp
xor al, 0x34
add esp, 4
pop edx
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x1990], edx
push 0
call dword [ebp - 0x1990]
mov dword [ebp - 0x20a8], 0xa
push esi
or esi, 0x50a3
pop esi
push ebx
push ebx
add esp, 4
xor ebx, 0x16488
add ebx, 0x1767c
pop ebx
push edx
push edi
add esp, 4
sub edx, 0x33a0
xor edx, 0xac00
xor edx, 0x11351
pop edx
mov eax, dword [ebp - 0x3e8]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3ae], cl
mov edx, dword [ebp - 0xab8]
sub edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x1694], edx
mov dword [ebp - 0xce8], 0
push edi
push eax
add esp, 4
add edi, 0x4fae
and edi, 0x165d6
sub edi, 0x470e
pop edi
push edx
or edx, 0x302
sub edx, 0x7592
and edx, 0x421d
sub edx, 0xd23e
pop edx
mov byte [ebp - 0x9d4], 0x56
mov byte [ebp - 0x9d3], 0x69
mov byte [ebp - 0x9d2], 0x72
mov byte [ebp - 0x9d1], 0x74
mov byte [ebp - 0x9d0], 0x75
mov byte [ebp - 0x9cf], 0x61
mov byte [ebp - 0x9ce], 0x6c
mov byte [ebp - 0x9cd], 0x50
mov byte [ebp - 0x9cc], 0x72
mov byte [ebp - 0x9cb], 0x6f
mov byte [ebp - 0x9ca], 0x74
mov byte [ebp - 0x9c9], 0x65
mov byte [ebp - 0x9c8], 0x63
mov byte [ebp - 0x9c7], 0x74
mov byte [ebp - 0x9c6], 0
push edi
push esi
add esp, 4
xor edi, 0x1325d
sub edi, 0xc5aa
pop edi
push edi
push esi
add esp, 4
xor edi, 0xeddf
xor edi, 0x20b7
and edi, 0x37aa
jmp 0x4120a2
pop edi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1994], eax
mov ecx, dword [ebp - 0x1994]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1998], edx
mov eax, dword [ebp - 0x1998]
mov dword [ebp - 0x1614], eax
push eax
push edx
add esp, 4
xor eax, 0x9590
add eax, 0x1085a
jmp 0x4120e3
pop eax
push esi
push ebx
add esp, 4
add esi, 0xb6e3
or esi, 0xf71a
sub esi, 0x14f9
pop esi
cmp dword [ebp - 0x1614], 0
jne 0x412114
mov dword [ebp - 0x2fc], 0
jmp 0x4123bb
mov ecx, dword [ebp - 0x1614]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xcc4], eax
push ecx
push edx
add esp, 4
or ecx, 0xd481
pop ecx
push esi
xor esi, 0x8ce3
jmp 0x41213f
call 0x41214c
add byte [ebx + esi], bh
cmp byte [ebp + 0x50], cl
dec ebx
inc eax
add esp, 4
jmp 0x412157
pop esi
cmp dword [ebp - 0xcc4], 0
jne 0x412170
mov dword [ebp - 0x2fc], 0
jmp 0x4123bb
mov ecx, dword [ebp - 0xcc4]
mov dword [ebp - 0x514], ecx
Function at 0x412583
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x774], 0
jmp 0x412839
Function at 0x42e160
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
call fcn.0040d5a0
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e1a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x42e1a0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x42e1a9
mov eax, 1
jmp 0x42e1a9
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x42e240
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x467bb0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x828], ecx
push 0x45e7f8
push 0x45e820
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42e327
mov dword [ebp - 0x810], 0
push 0x800
push 0
lea eax, [ebp - 0x80c]
push eax
call fcn.0042f3c0
add esp, 0xc
mov dword [ebp - 0x810], 0x804
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x814]
push ecx
push 0x400
lea edx, [ebp - 0x80c]
push edx
call fcn.00416ba0
mov dword [ebp - 0x820], 0x64
lea eax, [ebp - 0x810]
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x81c], 0x804
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42e327
mov dword [ebp - 0x824], 0
lea edx, [ebp - 0x824]
push edx
push 0x7d0
push 1
lea eax, [ebp - 0x820]
push eax
push 0
push 0x4a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
neg eax
sbb eax, eax
neg eax
jmp 0x42e329
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042f43a
mov esp, ebp
pop ebp
ret

Function at 0x42f43a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x467bb0]
jne 0x42f444
repz ret
jmp fcn.00434ad4
Function at 0x401ca4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x401cb3
pop dword [ebp - 0x48]
mov eax, 0x401cb3
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3a855
push 0
mov eax, 0xdbfb331b
add eax, 0x2445adbd
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0xe299b5db
add ecx, 0x1d669755
mov ebx, eax
mov edi, 0xe97c4a89
add edi, 0x16c4f13b
add edi, dword [ebp - 0x48]
mov edx, 0x9cdef128
add edx, 0xb5f54968
xor dword [ebp - 0x14], esi
mov esi, dword [edi]
sub dword [ebp - 0x40], 0xc1affde3
xor esi, edx
xor dword [ebp - 0x3c], 0x924c0267
mov dword [ebx], esi
sub dword [ebp - 0x2c], edx
add ebx, 0x1881030
add ebx, 0xfe77efd4
add edi, 4
loop 0x401d0d
add eax, 0x217ae8f6
sub eax, 0x2179c163
xor ebx, ebx
add ebx, eax
add eax, 0x962d2b42
sub eax, 0x962d2b3d
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00401ca4
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00401ca4
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00401ca4
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00401ca4
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00401ca4
mov dword [0x41203c], eax
call fcn.00401ca4
test eax, eax
jge 0x402550
push 8
call fcn.00401ca4
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00401ca4
pop ecx
push 1
call fcn.00401ca4
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00401ca4
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00401ca4
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00401ca4
jmp 0x402495
Function at 0x40d231
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x40d240
pop dword [ebp - 0x44]
mov eax, 0x40d240
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3ee2d
push 0
mov eax, 0x8d2673b1
add eax, 0x731b5e63
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x797ba06b
sub ecx, 0x797b523a
xor ebx, ebx
add ebx, eax
mov esi, 0x436000
add esi, dword [ebp - 0x44]
mov edi, 0x49b0ac47
sub dword [ebp - 0x40], eax
mov edx, dword [esi]
xor dword [ebp - 0x20], edx
sub edx, edi
xor dword [ebp - 0x28], 0x5ee5d715
mov dword [ebx], edx
add dword [ebp - 0x2c], esi
add ebx, 0x5c4f3ca8
sub ebx, 0x5c4f3ca4
add esi, 4
loop 0x40d290
add eax, 0xa8c513c1
add eax, 0x573c17d6
mov ebx, eax
add eax, 5
mov ecx, 0xdc3fb798
sub ecx, 0xdbffb798
add ecx, dword [ebp - 0x44]
call ebx
leave
ret