joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2770a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0x2d2014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x8306b9
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x277289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x277289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.002a40f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x83079c
nop
test eax, eax
je 0x277289
push 4
push 0x1000
push 4
push 0
call 0x8301a9
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x590135
nop
test eax, eax
je 0x277289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0x2c8df8
push dword [esp + 0x30]
call 0x5905d7
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0x2771ac
push 0x2c8dfc
push 0x2c8e14
call 0x820c7c
nop
push eax
call 0x59037b
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x590411
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0x277289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x830651
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0x277243
mov dword [esp + 0xc], eax
call fcn.00276ef0
push eax
call 0x8106b4
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x830651
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0x2771f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x830651
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x590812
nop
push dword [esp + 0x24]
call 0x820d74
nop
push 0x8000
push 0
push esi
call 0x8305a8
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.0028cff1
mov esp, ebp
pop ebp
ret
Function at 0x27af20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2b9726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x2d2014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.002a8b63
push eax
call fcn.002a6660
add esp, 8
call fcn.002a663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.002a663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.002a663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.002745b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x27afd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x27afe6
push 0x40
push 0
push 0x2d8560
sub esi, ecx
call fcn.002a40f0
add esp, 0xc
mov dword [0x2d8554], 0
mov edx, esi
mov dword [0x2d8550], 0
lea ecx, [ebp - 0x410]
mov dword [0x2d8540], 0x67452301
mov dword [0x2d8544], 0xefcdab89
mov dword [0x2d8548], 0x98badcfe
mov dword [0x2d854c], 0x10325476
call fcn.00275530
call fcn.002755f0
mov ecx, 0x2d65a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x27b071
sub ecx, edx
push ecx
push 0x2d65a0
lea ecx, [ebp - 0x42c]
call fcn.002880c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x27b0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x27b0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x27b18c
push edx
push ecx
call fcn.0028d663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0x27b187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.002880c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0x27b169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x27b15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x27b18c
push edx
push ecx
call fcn.0028d663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0028cff1
mov esp, ebp
pop ebp
ret
call fcn.00288200
call fcn.002a6c6a
int3
Function at 0x28dcc7
Capabilities:
Parse pe header

Disassembly:
push 0
call 0xa502e3
nop
test eax, eax
je 0x28dd07
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x28dd07
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x28dd07
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x28dd07
cmp dword [ecx + 0x74], 0xe
jbe 0x28dd07
cmp dword [ecx + 0xe8], 0
je 0x28dd07
mov al, 1
ret
xor al, al
ret
Function at 0x98a68c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x98a6b3
call fcn.0092cbf8
mov dword [eax], esi
call fcn.0092cbe5
push 0x16
pop esi
mov dword [eax], esi
call fcn.0092d83a
mov eax, esi
jmp 0x98a708
test dword [ebp + 0xc], 0xfffffff9
jne 0x98a699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x98a6e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0092cc0b
pop ecx
call fcn.0092cbe5
mov eax, dword [eax]
jmp 0x98a708
test al, 0x10
jne 0x98a706
test al, 1
je 0x98a706
test byte [ebp + 0xc], 2
je 0x98a706
call fcn.0092cbf8
mov dword [eax], 5
call fcn.0092cbe5
mov dword [eax], 0xd
jmp 0x98a6d7
xor eax, eax
pop esi
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7eab633a
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x432060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4320d2
nop
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0xa825d65
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4320c0
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x97d1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0097d140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0097d140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0097d140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0097d140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x97dbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x97dc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x98f87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x97dc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x97dc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x438c91
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
add eax, ecx
dec eax
inc eax
call fcn.00438cce
mov ecx, 0x871242eb
xor dword [ebx], edi
and eax, eax
mov eax, 0xdc306db0
push ecx
pop ecx
inc ebx
sub ecx, eax
sub esp, 4
mov dword [esp], ecx
mov ecx, dword [esp]
add esp, 4
cmp ebx, edx
jne fcn.00438c91
inc eax
ret
Function at 0x1004c243
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x664b79e4
jmp 0x1006d531
lea esp, [esp + 0x10]
jne 0x100467ed
add cx, 0xe692
mov dword [ebp - 0x1c], edi
xadd dl, ch
movzx dx, cl
Function at 0x500f30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xac000]
push edi
jmp 0x500f4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x500f51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x500f40
mov eax, 1
add ebx, ebx
jne 0x500f63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x500f74
jne 0x500f93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x500f93
dec eax
add ebx, ebx
jne 0x500f80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x500f58
add ebx, ebx
jne 0x500f8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x500fe5
xor ecx, ecx
sub eax, 3
jb 0x500fab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50101a
sar eax, 1
mov ebp, eax
jmp 0x500fb6
add ebx, ebx
jne 0x500fb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x500f84
inc ecx
add ebx, ebx
jne 0x500fc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x500f84
add ebx, ebx
jne 0x500fd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x500fc6
jne 0x500fe2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x500fc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x501004
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x500ff6
jmp 0x500f46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x501004
add edi, ecx
jmp 0x500f46
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x501022
cmp byte [edi], 0x11
jne 0x501022
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 0x501027
lea edi, [esi + 0xf9000]
mov eax, dword [edi]
or eax, eax
je 0x50109f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1292a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12941c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x501054
mov ecx, edi
jns 0x501083
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 + 0x129420]
or eax, eax
je 0x501099
mov dword [ebx], eax
add ebx, 4
jmp 0x501071
call dword [esi + 0x129430]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5010d0
cmp al, 0xef
ja 0x5010c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5010a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5010b2
mov ebp, dword [esi + 0x129424]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x501104
sub esp, 0xffffff80
jmp 0x425f74
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
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
mov ebx, 0x408ecc
nop
mov ecx, 0x7bc40cc9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42e1d0
mov ecx, 0x43ad714e
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403400
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x200c
call fcn.0040d360
mov eax, dword [0x4561e4]
mov ecx, dword [0x456158]
shr eax, 3
test eax, eax
jbe 0x403532
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403450
cmp dword [0x4561e4], 0x959
jne 0x403514
push 0
lea eax, [esp + 0x420]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0xc20]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0x24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1420]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1820]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push 0
push 0x402cbc
push 0x402cd8
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403240
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403450
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x200c
ret
Function at 0x407883
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x445ab0]
jne 0x40788d
repz ret
jmp fcn.0040abbb

Function at 0x40a74d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405be8
and dword [ebp - 4], 0
cmp dword [0x446fa8], 0
mov ebx, eax
jne 0x40a7fe
push 0x4023bc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a8af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4023b0
push edi
call esi
test eax, eax
je 0x40a8af
push eax
call fcn.00405b76
mov dword [esp], 0x4023a0
push edi
mov dword [0x446fa8], eax
call esi
push eax
call fcn.00405b76
mov dword [esp], 0x40238c
push edi
mov dword [0x446fac], eax
call esi
push eax
call fcn.00405b76
mov dword [esp], 0x402370
push edi
mov dword [0x446fb0], eax
call esi
push eax
call fcn.00405b76
pop ecx
mov dword [0x446fb8], eax
test eax, eax
je 0x40a7fe
push 0x402358
push edi
call esi
push eax
call fcn.00405b76
pop ecx
mov dword [0x446fb4], eax
mov eax, dword [0x446fb4]
cmp eax, ebx
je 0x40a856
cmp dword [0x446fb8], ebx
je 0x40a856
push eax
call fcn.00405bf1
push dword [0x446fb8]
mov esi, eax
call fcn.00405bf1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a856
test edi, edi
je 0x40a856
call esi
test eax, eax
je 0x40a84d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a84d
test byte [ebp - 0xc], 1
jne 0x40a856
or dword [ebp + 0x10], 0x200000
jmp 0x40a88f
mov eax, dword [0x446fac]
cmp eax, ebx
je 0x40a88f
push eax
call fcn.00405bf1
pop ecx
test eax, eax
je 0x40a88f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a88f
mov eax, dword [0x446fb0]
cmp eax, ebx
je 0x40a88f
push eax
call fcn.00405bf1
pop ecx
test eax, eax
je 0x40a88f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x446fa8]
call fcn.00405bf1
pop ecx
test eax, eax
je 0x40a8af
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a8b1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401650
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0x10]
xor edx, edx
and ecx, 2
push 0x410f98
cmp cl, 2
sete dl
mov dword [0x410fb0], edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x50
call fcn.004045a8
mov dword [0x410fb4], eax
mov eax, dword [0x410fb0]
add esp, 4
test eax, eax
je 0x4016b3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [0x410fbc], eax
add esp, 0x94
ret
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.004016d0
add esp, 4
mov dword [0x410fbc], eax
add esp, 0x94
ret

Function at 0x401cf0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x410fb0]
test eax, eax
je 0x401cff
jmp dword [sym.imp.KERNEL32.dll_CreateProcessW]
push esi
mov esi, dword [esp + 0x28]
push edi
mov ecx, dword [esi + 0xc]
push ecx
call fcn.00401800
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x24]
push esi
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
push eax
push ecx
push edx
call fcn.00401d60
push edi
mov esi, eax
call fcn.004015d0
add esp, 4
mov eax, esi
pop edi
pop esi
ret 0x28

Function at 0x406f22
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x410498
cmp edx, dword [eax]
je 0x406f44
add eax, 8
inc ecx
cmp eax, 0x410528
jl 0x406f35
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x410498]
jne 0x407072
mov eax, dword [0x410fcc]
cmp eax, 1
je 0x40704c
test eax, eax
jne 0x406f75
cmp dword [0x40e2e4], 1
je 0x40704c
cmp edx, 0xfc
je 0x407072
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x406fac
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408400
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407c30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x406fef
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407c30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40ce80
push edi
call fcn.004089f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408400
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408410
lea eax, [ebp - 0xa0]
push 0x40ce60
push eax
call fcn.00408410
push dword [esi + 0x41049c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408410
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408962
add esp, 0x2c
pop edi
jmp 0x407072
lea eax, [ebp + 8]
lea esi, [esi + 0x41049c]
push 0
push eax
push dword [esi]
call fcn.00407c30
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 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
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
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x4010a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, 0x811c9dc5
xor edx, edx
movzx eax, byte [edx + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edx
cmp edx, 4
jb 0x4010a8
mov eax, esi
pop esi
ret

Function at 0x40123b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x1f
jmp 0x401255
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x40147e
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 8]
je 0x401272
mov byte [ebp - 1], 1
jmp 0x401276
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov byte [ebp - 3], al
mov dword [ebp - 0x18], 0xc69
cmp dword [ebp - 0x18], 0x1827
add byte [eax], al
jle 0x401371
dec ecx
push ds
test byte fs:[ecx - 0x43], 0x7c
jp 0x401288
push 0xb73bc376
sti
cmp dword [ebp + 0x2a8d6850], ebp
add byte [eax], al
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
shl eax, cl
and eax, dword [ebp + 0xc]
je 0x401384
mov byte [ebp - 2], 1
jmp 0x401388
mov byte [ebp - 2], 0
mov al, byte [ebp - 2]
mov byte [ebp - 4], al
mov dword [ebp - 0x1c], 0xa1e
cmp dword [ebp - 0x1c], 0x1590
jle 0x401442
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
and eax, ecx
je 0x401454
and dword [ebp - 0x14], 0
jmp 0x401461
movzx eax, byte [ebp - 3]
movzx ecx, byte [ebp - 4]
or eax, ecx
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 0x14]
mov byte [ebp - 5], al
mov eax, dword [ebp - 0x10]
shl eax, 1
mov dword [ebp - 0x10], eax
movzx eax, byte [ebp - 5]
or eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
jmp 0x40124e
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret