joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [0x42b010]
push edi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
mov edi, dword [ebp + 0x10]
lea eax, [edi + 1]
push eax
push 0
call 0x2b103b4
nop
push eax
call 0x77f1296e
nop
mov ebx, eax
push 0x4349f0
mov dword [ebp - 4], ebx
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
mov byte [ebx + edi], 0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x404b7a
mov eax, dword [ebp + 8]
sub eax, ebx
mov dword [ebp - 8], eax
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
mov ecx, dword [ebp + 0xc]
push ecx
add ebx, edi
nop
call 0x6ff643d3
mov ecx, eax
xor edx, edx
mov eax, edi
div ecx
mov eax, dword [ebp + 0xc]
add esp, 4
push 0x4349f0
mov cl, byte [edx + eax]
mov edx, dword [ebp - 8]
xor cl, byte [edx + ebx]
mov byte [ebx], cl
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
mov ebx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 0x10]
jb 0x404b06
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
push 0x4349f0
call esi
lea eax, [ebp - 0xc]
push eax
push 0x100
push 4
push ebx
mov dword [ebp - 0xc], 0
call 0x2b103b9
nop
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1062803c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x106d2620]
jne 0x10628046
repz ret
jmp fcn.106282ed

Function at 0x106286a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x106d25f0]
add eax, 0x93
mov dword [0x106d25f0], eax
call fcn.10001090
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
je 0x1062875e
jmp 0x10628833
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jmp 0x10628833
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x40]
mov dword [esp + 0x74], eax
mov dword [0x106d25f0], 0x1bfe
mov eax, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], eax
mov dword [0x106d25f4], 0x23c4
mov eax, dword [esp + 0x38]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.10628e70
mov dword [0x106d25f4], 0x20c5
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x28], eax
jmp 0x106286d6
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
je 0x106286e3
jmp 0x10628817
lea eax, [esp + 0x40]
mov ecx, dword [0x106d25f0]
add ecx, 0xfffff5a0
mov dword [0x106d25f4], ecx
mov dword [0x106d25f0], 0x72a
mov dword [esp + 0x18], eax
call fcn.106288b0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x28], ecx
jne 0x106286d6
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.10629560
lea ecx, [0x106285e0]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x88], edx
mov dword [esp + 0x7c], 0x2f4000
mov edx, dword [0x106d25dc]
mov dword [esp + 0x78], edx
mov edx, dword [0x106d25e0]
mov dword [esp + 0x64], edx
mov edx, dword [0x106d25e4]
mov dword [esp + 0x84], edx
mov edx, dword [0x106d25e8]
mov dword [esp + 0x4c], edx
mov edx, dword [0x106d25ec]
mov dword [esp + 0x6c], edx
mov dword [0x106d25f0], 0xffffd1c1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x10]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x10628741
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
and eax, 0xfffff000
mov dword [esp + 0x10], eax
jmp 0x10628804
mov eax, dword [esp + 0x2c]
mov esp, ebp
pop ebp
ret
Function at 0x106288b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov dword [ebp - 8], 0
mov dword [0x106d25f0], 0x2389
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x106d25f4]
add esi, 0x16d4
mov dword [0x106d25f0], esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x10628920
xor eax, eax
mov dword [0x106d25f4], 0x7a7
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x1c], eax
je 0x106289f4
jmp 0x10628a1c
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], edx
je 0x1062897d
jmp 0x1062895f
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff7
shl eax, 1
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov ecx, dword [ebp - 0x28]
cmp word [ecx], 0x64
mov dword [ebp - 0x1c], eax
je 0x106288f9
jmp 0x10628a1c
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, 0x104
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], ecx
jl 0x10628920
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov dword [0x106d25f0], 0x17f2
mov edx, dword [ebp - 0x10]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
jne 0x10628a1c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x1c], eax
jne 0x10628a1c
xor eax, eax
mov dword [0x106d25f0], 0x4b8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x1c], eax
jne 0x10628a1c
xor eax, eax
mov dword [0x106d25f0], 0x4b
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x1c], eax
je 0x10628938
jmp 0x10628a1c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
jne 0x10628a1c
mov dword [0x106d25f0], 0x1c5a
mov eax, 1
mov dword [ebp - 0x1c], eax
jmp 0x10628a1c
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop esi
pop ebp
ret
Function at 0x10629240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x106d25f8], 0
mov dword [0x106d25fc], 0
mov dword [0x106d2608], 0
mov dword [0x106d25f4], 0x1142
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
je 0x106293e2
jmp 0x106292b4
jmp 0x106293e2
mov eax, dword [0x106d25f8]
mov ecx, dword [0x106d25fc]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
jmp 0x106292c5
xor eax, eax
mov ecx, eax
mov edx, eax
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
jmp 0x106292c5
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x106d25f4], 0x2615
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x106d25f8], edx
mov dword [0x106d25f0], 0x155a
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x106d25fc], edx
mov dword [0x106d25f4], 0x64c
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x106d2600], cl
mov dword [0x106d25f0], 0x62a
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x106d25f4], 0x2592
mov cl, byte [0x106d2600]
mov edx, dword [0x106d25fc]
mov byte [edi + edx], cl
mov edx, dword [0x106d25f0]
add edx, 0xffffed81
mov dword [0x106d25f0], edx
mov edx, dword [0x106d25f8]
movzx edx, byte [edi + edx]
mov ebx, dword [0x106d25fc]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x106d2608], ebx
mov dword [0x106d25f4], 0x13cb
mov dword [0x106d25f0], 0x1690
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x30]
mov byte [ebx + edx], cl
mov ecx, dword [0x106d25f4]
add ecx, 0x2666
mov dword [0x106d25f0], ecx
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x20], edx
je 0x10629296
jmp 0x1062929b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10629b20
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x106d25f4]
add edi, 0xffffded1
mov dword [0x106d25f0], edi
mov dword [0x106d25fc], 0
mov byte [0x106d2600], 0
mov dword [0x106d25f8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
jmp 0x10629b99
mov eax, dword [0x106d25f0]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
jmp 0x10629b99
mov dword [0x106d25f8], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x10629bd2
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add eax, 0xffffeeff
mov dword [0x106d25f0], eax
mov eax, ecx
mov dl, al
mov eax, dword [ebp - 0x18]
mov byte [eax + ecx], dl
mov ecx, dword [0x106d25f8]
add ecx, 1
mov dword [0x106d25f8], ecx
cmp ecx, 0x100
mov dword [ebp - 0x28], ecx
jl 0x10629b72
jmp 0x10629b88
mov eax, dword [ebp - 0x2c]
mov ecx, 0x100
mov dword [0x106d2604], 0
mov dword [0x106d25f0], 0x1df1
mov edx, dword [0x106d25fc]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x30], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x106d2604], edi
mov edx, dword [0x106d25f4]
mov eax, edi
mov dword [ebp - 0x34], edx
cdq
idiv ecx
mov dword [0x106d25fc], edx
mov ecx, dword [ebp - 0x34]
add ecx, 0xffffdb9c
mov dword [0x106d25f0], ecx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x30]
mov cl, byte [ecx + edi]
mov byte [0x106d2600], cl
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffae6
mov dword [0x106d25f0], ecx
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov cl, byte [0x106d2600]
mov edx, dword [0x106d25fc]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov dword [0x106d25f0], 0x7ae
mov edx, dword [0x106d25f8]
add edx, 1
mov dword [0x106d25f8], edx
cmp edx, 0x100
mov dword [ebp - 0x2c], edx
jl 0x10629bd2
mov dword [0x106d25f0], 0x17cd
mov dword [0x106d25f4], 0x1f01
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax - 0x6f6f6fa0], dl
nop
pushal
nop
nop
nop
pushal
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x74331f4d
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42ffdf
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x5f0762c1
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x61dd4e59
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x6f492024
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1a058
Capabilities:
Get system information on windows

Disassembly:
push 0x14c
push 0x131b8
call fcn.00012d10
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x154], edx
cmp dword [0x1401c], 1
je 0x1a08c
mov eax, 0xc0000001
jmp 0x1a25e
mov eax, dword [0x14018]
test eax, eax
je 0x1a0a1
push edx
push dword [ebp + 0xc]
push ecx
call eax
jmp 0x1a25e
xor eax, eax
cmp dword [ebp + 0xc], 4
je 0x1a0bc
cmp dword [ebp + 0xc], 0x10c
je 0x1a0bc
mov eax, 0xc00000f0
jmp 0x1a25e
test dl, 3
je 0x1a0c6
mov eax, 0xc00000f1
test eax, eax
jl 0x1a25e
lea ebx, [ebp - 0x13c]
mov eax, 0x120
lea ecx, [ebp - 0x14c]
push ecx
push eax
push ebx
push 0xb
call dword [sym.imp.ntoskrnl.exe_ZwQuerySystemInformation]
mov dword [ebp - 0x144], eax
test eax, eax
jl 0x1a1c3
mov edi, dword [ebx]
mov eax, edi
mul dword [ebp + 0xc]
test edx, edx
ja 0x1a108
cmp eax, 0xffffffff
jbe 0x1a117
mov dword [ebp - 0x144], 0xc0000095
jmp 0x1a1ca
mov esi, edi
imul esi, dword [ebp + 0xc]
mov dword [ebp - 0x150], esi
mov ecx, dword [ebp - 0x154]
test ecx, ecx
je 0x1a1b9
mov eax, dword [ebp - 0x148]
cmp dword [eax], esi
jae 0x1a147
mov dword [ebp - 0x144], 0xc0000023
jmp 0x1a1b9
and dword [ebp - 0x140], 0
test edi, edi
jbe 0x1a1b9
lea edx, [ecx + 8]
lea eax, [ebx + 0x1e]
cmp dword [ebp + 0xc], 4
je 0x1a18c
cmp dword [ebp + 0xc], 0x10c
jne 0x1a19e
mov ecx, dword [eax - 0x12]
mov dword [edx - 8], ecx
mov ecx, dword [eax - 0xe]
mov dword [edx - 4], ecx
mov cx, word [eax]
mov word [edx], cx
lea esi, [eax + 2]
lea edi, [edx + 2]
push 0x40
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x154]
jmp 0x1a198
mov esi, dword [eax - 0x12]
mov edi, dword [ebp - 0x140]
mov dword [ecx + edi*4], esi
mov esi, dword [ebp - 0x150]
inc dword [ebp - 0x140]
add edx, 0x10c
add eax, 0x11c
mov edi, dword [ebp - 0x140]
cmp edi, dword [ebx]
jb 0x1a158
mov eax, dword [ebp - 0x148]
mov dword [eax], esi
jmp 0x1a1ca
cmp eax, 0xc0000004
je 0x1a1e5
lea eax, [ebp - 0x13c]
cmp ebx, eax
je 0x1a1dd
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, dword [ebp - 0x144]
jmp 0x1a25e
lea eax, [ebp - 0x13c]
cmp ebx, eax
je 0x1a1f8
push 0
push ebx
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
and dword [ebp - 4], 0
push 0x4b787541
push dword [ebp - 0x14c]
push 1
call dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithQuotaTag]
mov ebx, eax
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 4], 0xfffffffe
test ebx, ebx
jne 0x1a229
mov eax, 0xc000009a
jmp 0x1a25e
mov eax, dword [ebp - 0x14c]
jmp 0x1a0d9
call fcn.00012d58
ret 0xc

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

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004f39f3
Function at 0x406603
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.004054b4
and dword [ebp - 4], 0
cmp dword [0x4516c8], 0
mov ebx, eax
jne 0x4066b4
push 0x401c40
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406765
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401c34
push edi
call esi
test eax, eax
je 0x406765
push eax
call fcn.00405442
mov dword [esp], 0x401c24
push edi
mov dword [0x4516c8], eax
call esi
push eax
call fcn.00405442
mov dword [esp], 0x401c10
push edi
mov dword [0x4516cc], eax
call esi
push eax
call fcn.00405442
mov dword [esp], 0x401bf4
push edi
mov dword [0x4516d0], eax
call esi
push eax
call fcn.00405442
pop ecx
mov dword [0x4516d8], eax
test eax, eax
je 0x4066b4
push 0x401bdc
push edi
call esi
push eax
call fcn.00405442
pop ecx
mov dword [0x4516d4], eax
mov eax, dword [0x4516d4]
cmp eax, ebx
je 0x40670c
cmp dword [0x4516d8], ebx
je 0x40670c
push eax
call fcn.004054bd
push dword [0x4516d8]
mov esi, eax
call fcn.004054bd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40670c
test edi, edi
je 0x40670c
call esi
test eax, eax
je 0x406703
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406703
test byte [ebp - 0xc], 1
jne 0x40670c
or dword [ebp + 0x10], 0x200000
jmp 0x406745
mov eax, dword [0x4516cc]
cmp eax, ebx
je 0x406745
push eax
call fcn.004054bd
pop ecx
test eax, eax
je 0x406745
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406745
mov eax, dword [0x4516d0]
cmp eax, ebx
je 0x406745
push eax
call fcn.004054bd
pop ecx
test eax, eax
je 0x406745
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4516c8]
call fcn.004054bd
pop ecx
test eax, eax
je 0x406765
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406767
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x408498
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4509f8]
jne 0x4084a2
repz ret
jmp fcn.0040b245
Function at 0x40bf6a
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x40c02d
cmp word [eax], bx
je 0x40c02d
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
cmp edi, ebx
jne 0x40bfe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x40bfbb
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
cmp esi, ebx
jl 0x40bfc6
mov esi, 0x80004005
push esi
push 0x1f1
push 0x43b9e0
call fcn.0043180e
push 0x43b9c4
push esi
call fcn.004317fa
pop ecx
pop ecx
jmp 0x40c08a
xor esi, esi
cmp dword [ebp - 0x10], ebx
jle 0x40c02d
mov eax, dword [edi + esi*4]
movzx ecx, word [eax]
cmp ecx, 0x2d
je 0x40bfff
cmp ecx, 0x2f
jne 0x40c01b
push 0xffffffffffffffff
push 0x40268c
push 0xffffffffffffffff
add eax, 2
push eax
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x40c027
push dword [edi + esi*4]
lea eax, [ebp - 0xc]
push eax
call fcn.0043030a
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x40bfef
push ebx
lea eax, [ebp - 4]
push eax
call fcn.0043086a
mov esi, eax
cmp esi, ebx
jge 0x40c04c
push 0x43b9a0
push esi
call fcn.004317fa
pop ecx
pop ecx
jmp 0x40c07f
mov eax, dword [ebp - 0xc]
cmp eax, ebx
ja 0x40c058
mov eax, 0x43b99e
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 8]
push eax
push dword [ebp - 4]
call fcn.0042eb72
mov esi, eax
cmp esi, ebx
jge 0x40c07f
push dword [ebp - 4]
push 0x43b968
push esi
call fcn.004317fa
add esp, 0xc
cmp edi, ebx
je 0x40c08a
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 8], ebx
je 0x40c09b
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], ebx
cmp dword [ebp - 0xc], ebx
je 0x40c0a8
push dword [ebp - 0xc]
call fcn.0042ee18
cmp dword [ebp - 4], ebx
je 0x40c0b5
push dword [ebp - 4]
call fcn.0042ee18
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x40c350
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
and dword [ebp - 8], 0
cmp dword [esi + 0x268], 2
push ebx
push edi
jne 0x40c3b6
lea ebx, [esi + 0x278]
lea eax, [esi + 0x274]
push ebx
push eax
call fcn.0040cd62
mov edi, eax
test edi, edi
jns 0x40c38d
push 0x43bbf4
jmp 0x40c4fc
push dword [esi + 0x2a8]
push dword [ebx]
push dword [esi + 0x274]
push dword [esi + 0x2c]
push dword [ebp + 0xc]
call fcn.0040cea2
mov edi, eax
test edi, edi
jns 0x40c3b6
push 0x43bbce
jmp 0x40c4fc
push 1
lea eax, [esi + 0x274]
push eax
call fcn.0040dd34
mov edi, eax
test edi, edi
jns 0x40c3d4
push 0x43bba4
jmp 0x40c4fc
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0x26c], eax
cmp eax, 0xffffffff
jne 0x40c41e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c3f9
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x40c404
mov edi, 0x80004005
push edi
push 0x1a4
push 0x43b9e0
call fcn.0043180e
push 0x43bb6e
jmp 0x40c4fc
push dword [esi + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x40c468
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x40c443
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
test edi, edi
js 0x40c44e
mov edi, 0x80004005
push edi
push 0x1a9
push 0x43b9e0
call fcn.0043180e
push 0x43bb2a
jmp 0x40c4fc
push esi
push dword [ebp + 8]
call fcn.0041ba7a
mov edi, eax
test edi, edi
jns 0x40c47e
push 0x43bb04
jmp 0x40c4fc
push 1
call fcn.00432496
push esi
push 0x40c106
call fcn.00430eda
lea eax, [esi + 0x18]
push eax
lea eax, [esi + 0xe4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [esi + 0xa8]
push eax
lea eax, [esi + 0xe8]
push eax
lea eax, [esi + 0x78]
push eax
lea eax, [esi + 0x1b0]
push eax
lea eax, [esi + 0x198]
push eax
lea eax, [esi + 0x1b8]
push eax
lea eax, [esi + 0x1a0]
push eax
push dword [esi + 0x288]
push dword [esi + 0x284]
push dword [esi + 0x26c]
call fcn.0041b664
push 0
push 0
mov edi, eax
call fcn.00430eda
test edi, edi
jns 0x40c504
push 0x43bad6
push edi
call fcn.004317fa
pop ecx
pop ecx
xor ebx, ebx
push ebx
push ebx
call fcn.00430eda
push esi
call fcn.0041b7a2
cmp dword [ebp - 8], ebx
je 0x40c51d
call fcn.00419348
cmp dword [ebp - 4], ebx
je 0x40c534
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
leave
ret 8