joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10036b40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10036b6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10036b6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x406a00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xbabaab0c
lodsb al, byte [esi]
imul eax, dword [ebx + 0x7a], 0x2bd9eca8
Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6fbf3d6d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data_1
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x74725a78
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x9594f1
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
jmp 0x959c2c
pushfd
mov dword [esp + 4], eax
mov dword [esp], ecx
push edx
push ebx
call fcn.00959c16
mov dword [esp], ebx
pushal
pop word [esp + 0x1f]
pop dword [esp + 9]
lea esp, [esp + 2]
mov dword [esp + 0x18], esp
jmp 0x959c82
pushfd
mov dword [esp + 0x18], ebp
call fcn.00959c59
pushfd
mov byte [esp + 2], dl
mov dword [esp + 0x1c], edi
jmp 0x959cae
lea esp, [esp + 0x1c]
pushfd
jmp 0x959234

Function at 0x959c59
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
lea esp, [esp]
push word [esp]
jmp 0x959ca2
push dword [esp + 1]
mov dword [esp + 0x1c], esi
pushfd
mov byte [esp + 2], dl
mov dword [esp + 0x1c], edi
jmp 0x959cae
jg 0x959c6a
push dword [esp + 1]
mov dword [esp + 0x1c], esi
jmp 0x959c8c

Function at 0x966654
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
jmp 0x94b8bf
xor ecx, ecx
cmp dword [esp + 4], ecx
jbe 0x94b8d9
push esi
movzx esi, byte [ecx + edx]
rol eax, 7
xor eax, esi
inc ecx
cmp ecx, dword [esp + 8]
jb 0x94b8c8
pop esi
jmp 0x94b8e4
ret 4
jmp 0x94b8b2
jmp 0x96663e

Function at 0xa3d91e
Capabilities:
Access peb ldr_data

Disassembly:
mov dword [esp], esi
mov byte [esp + 2], bl
mov word [esp + 1], bx
jmp 0xa3d969
Function at 0x10299a3c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102bd440]
jne 0x10299a46
repz ret
jmp fcn.10299ced
Function at 0x1029a2cd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov dword [0x102bd414], 0xf73
call fcn.1000108c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x2c], ecx
jne 0x1029a31f
lea eax, [esp + 0x40]
mov dword [0x102bd418], 0x1785
mov dword [esp + 0x28], eax
call fcn.1029b603
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x1029a349
jmp 0x1029a46f
mov eax, dword [esp + 0x2c]
lea esp, [ebp - 4]
pop esi
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
je 0x1029a3d3
jmp 0x1029a3e7
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.1029a513
mov ecx, 0x2746
lea edx, [0x1029b86d]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x88], esi
mov dword [esp + 0x64], 0x15da00
mov esi, dword [0x102bd400]
mov dword [esp + 0x50], esi
mov esi, dword [0x102bd404]
mov dword [esp + 0x84], esi
mov esi, dword [0x102bd408]
mov dword [esp + 0x80], esi
mov esi, dword [0x102bd40c]
mov dword [esp + 0x8c], esi
mov esi, dword [0x102bd410]
mov dword [esp + 0x44], esi
mov dword [0x102bd414], 0x1e5d
mov dword [0x102bd418], 0x24b3
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jmp 0x1029a329
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x1029a409
mov eax, 0x28b6
mov ecx, dword [esp + 0x18]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jmp 0x1029a329
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x14]
mov dword [0x102bd418], ecx
mov edx, dword [esp + 0xc]
add edx, 0x50
mov dword [esp + 8], edx
lea eax, [esp + 0x40]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
mov esi, dword [ecx + edx]
mov dword [esp + 0x94], esi
mov dword [0x102bd414], 0x1e8f
mov esi, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.1029a812
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x1029a31f
Function at 0x1029a812
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x1029d585]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [0x102bd418], 0xf28
mov dword [0x102bd414], 0x1293
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.1029af25
mov dword [0x102bd418], 0x1bd
call fcn.1029aa88
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.1029acda
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
je 0x1029a947
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x102bd414]
add ecx, 0x712
mov dword [0x102bd418], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x102bd414], 0xbf7
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x44], eax
call fcn.1029ab36
xor eax, eax
mov ecx, dword [ebp - 0x44]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x14], ecx
mov dword [0x102bd414], 0xf53
mov ecx, dword [ebp - 0x44]
mov dword [edx + 0x20], ecx
mov dword [0x102bd418], 0xb33
cmp ecx, 0
mov dword [ebp - 0x40], eax
je 0x1029a947
mov eax, dword [ebp - 0x44]
add eax, 0x20dc
mov dword [0x102bd414], 0x2066
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x4c
pop esi
pop edi
pop ebp
ret
Function at 0x1029b06a
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]
xor edi, edi
mov dword [0x102bd41c], 0
mov dword [0x102bd420], 0
mov dword [0x102bd42c], 0
mov dword [0x102bd414], 0x498
mov dword [0x102bd418], 0xe3f
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x1029b20d
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
add edx, 1
mov dword [0x102bd414], 0xfffff2ab
mov dword [ebp - 0x2c], eax
mov eax, edx
cdq
idiv esi
mov dword [0x102bd41c], edx
mov dword [0x102bd418], 0x83e
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x102bd420], edx
mov dword [0x102bd414], 0x1daa
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x102bd424], cl
mov dword [0x102bd414], 0x2573
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x102bd424]
mov edx, dword [0x102bd420]
mov byte [ebx + edx], cl
mov dword [0x102bd414], 0x258c
mov edx, dword [0x102bd41c]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x102bd420]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x102bd42c], ecx
mov dword [0x102bd418], 0x1aff
mov dword [0x102bd414], 0xfa
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov byte [0x102bd431], ch
mov byte [0x102bd432], cl
xor ch, cl
mov byte [0x102bd430], ch
mov dword [0x102bd414], 0x28d6
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x102bd418], 0x7d8
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x1029b20d
mov eax, dword [0x102bd420]
mov ecx, dword [0x102bd41c]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x1029b0d7
mov dword [0x102bd414], 0x397
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1029b2d2
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]
mov esi, 0x24f6
xor edi, edi
mov dword [0x102bd420], 0
mov byte [0x102bd424], 0
mov dword [0x102bd418], 0x1ef1
mov dword [0x102bd414], 0x24f6
mov dword [0x102bd41c], 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 0x1029b347
mov dword [0x102bd414], 0xfffff31b
mov dword [0x102bd418], 0xffffe0e4
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, eax
mov bl, dl
add ecx, 0xffffe203
mov dword [0x102bd414], ecx
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], bl
mov eax, dword [0x102bd414]
mov edx, eax
add edx, 0xffffe242
mov dword [0x102bd418], edx
mov edx, dword [0x102bd41c]
add edx, 1
mov dword [0x102bd41c], edx
cmp edx, 0x100
mov esi, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
jl 0x1029b347
xor eax, eax
mov dword [0x102bd414], 0x102a
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffff6b9
mov dword [0x102bd41c], 0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x1ed7
mov esi, 0x100
mov dword [0x102bd428], 0
mov dword [ebp - 0x30], eax
mov eax, ecx
xor edi, edi
mov dword [ebp - 0x34], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov ebx, dword [ebp - 0x30]
mov dword [0x102bd414], ebx
mov ebx, dword [0x102bd420]
mov edi, dword [ebp - 0x18]
movzx edi, byte [edi + ecx]
add edi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x102bd428], edi
mov dword [0x102bd414], 0x1a9c
mov eax, edi
cdq
idiv esi
mov dword [0x102bd420], edx
mov dword [0x102bd418], 0x2bd1
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x102bd424], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x102bd424]
mov ecx, dword [0x102bd420]
mov byte [esi + ecx], bl
mov dword [0x102bd418], 0xa60
mov dword [0x102bd414], 0x2186
mov ecx, dword [0x102bd41c]
add ecx, 1
mov dword [0x102bd41c], ecx
cmp ecx, 0x100
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jl 0x1029b3c0
jmp 0x1029b32b
Function at 0x1029b492
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [0x102bd418], 0x27a
mov dword [0x102bd414], 0x121c
mov dword [ebp - 0x10], eax
call fcn.1029a1a1
xor ecx, ecx
mov edx, eax
mov dword [0x102bd418], 0x3660
mov esi, dword [eax + 0x3c]
mov dword [0x102bd414], 0x17e2
mov esi, dword [eax + esi + 0x78]
mov dword [0x102bd418], 0x18a9
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov ebx, dword [eax + esi + 0x24]
mov dword [0x102bd414], 0x1d5d
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], ecx
jne 0x1029b51f
mov eax, dword [ebp - 0x28]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [0x102bd414], 0x1c5e
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x45], bh
mov byte [ebp - 0x46], cl
je 0x1029b5a5
mov al, byte [ebp - 0x45]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x46]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x40], edx
jne 0x1029b553
mov al, byte [ebp - 0x46]
test al, 1
jne 0x1029b5db
jmp 0x1029b5ae
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp - 0x38]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], ecx
jb 0x1029b52f
jmp 0x1029b514
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x102bd414], 0x2555
mov dword [ebp - 0x28], edi
jmp 0x1029b514
Function at 0x1029b603
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x102bd414]
mov ecx, eax
add ecx, 0xffffeae2
mov dword [0x102bd418], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
add eax, 0xffffe7ca
mov dword [0x102bd414], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102bd414], 0x256b
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
jmp 0x1029b6a3
mov dword [0x102bd414], 0x2a3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x1029b754
mov dword [0x102bd414], 0x1286
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x1029b76b
jmp 0x1029b754
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 0x1029b6d0
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x24], eax
jl 0x1029b6a3
mov eax, dword [ebp - 0x24]
mov dword [0x102bd414], 0x7e6
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x18], eax
jne 0x1029b754
mov dword [0x102bd414], 0xe40
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x1029b754
mov dword [0x102bd418], 0x242f
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x1029b754
mov dword [0x102bd414], 0x6f6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x1029b754
mov dword [0x102bd414], 0xf06
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1029b65c
xor eax, eax
mov ecx, dword [0x102bd418]
add ecx, 0xa08
mov dword [0x102bd414], ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add esp, 0x24
pop ebp
ret
Function at 0x1003e21
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1001390
call fcn.0100400c
xor ebx, ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x1003e5e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1003e5e
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x1003e76
cmp eax, 0x20b
je 0x1003e63
mov dword [ebp - 0x1c], ebx
jmp 0x1003e8a
cmp dword [ecx + 0x84], 0xe
jbe 0x1003e5e
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x1003e84
cmp dword [ecx + 0x74], 0xe
jbe 0x1003e5e
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1005b8c], 0xffffffff
or dword [0x1005b90], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1005178]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1005174]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1005b94], eax
call fcn.01004006
cmp dword [0x1005138], ebx
jne 0x1003ee5
push fcn.01004006
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01003ff4
push 0x10011c4
push 0x10011c0
call sub.msvcrt.dll__initterm
mov eax, dword [0x1005170]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x100516c]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x10011bc
push 0x10011b8
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x34], esi
cmp byte [esi], 0x22
jne 0x1003f7b
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1003f4f
cmp al, 0x22
jne 0x1003f41
cmp byte [esi], 0x22
jne 0x1003f58
inc esi
mov dword [ebp - 0x34], esi
mov al, byte [esi]
cmp al, bl
je 0x1003f62
cmp al, 0x20
jbe 0x1003f54
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x4c], 1
je 0x1003f86
movzx eax, word [ebp - 0x48]
jmp 0x1003f89
cmp byte [esi], 0x20
jbe 0x1003f58
inc esi
mov dword [ebp - 0x34], esi
jmp 0x1003f7b
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.010021f0
mov esi, eax
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x1003fa6
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1003fdb
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01004045
ret
push ebp
nop
nop
mov ebp, esp
nop
mov dword fs:[0], esp
jmp 0x1003e21
Function at 0x401a80
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
mov dword [0x4143e0], eax
push ebp
push esi
push 0x414404
call fcn.00403720
call fcn.00401000
push 0x414404
call fcn.004047c0
add esp, 8
test eax, eax
je 0x401be0
push 0x4141e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x401be0
mov esi, dword [sym.imp.USER32.dll_FindWindowA]
push 0x4140e0
push 0
call esi
test eax, eax
jne 0x401be0
push eax
push 0x4140e0
call esi
test eax, eax
jne 0x401be0
push 0x4140e0
push 0x4140e0
call esi
test eax, eax
jne 0x401be0
call fcn.00404990
push eax
push 1
push 0x414404
mov dword [0x4143f8], eax
call fcn.00406590
mov esi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
add esp, 0xc
push 0x414220
call esi
push 0x414260
mov dword [0x4143e8], eax
call esi
push 0x4142e0
mov dword [0x4143e4], eax
call esi
push 0x414320
mov dword [0x4143ec], eax
call esi
push 0x4142a0
mov dword [0x4143f4], eax
call esi
mov dword [0x4143f0], eax
call fcn.00404ac0
push 0x414404
mov dword [0x41586c], eax
call fcn.00404b50
add esp, 4
call fcn.00401bf0
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
call esi
test eax, eax
je 0x401bcd
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x10]
push edx
call edi
lea eax, [esp + 0x10]
push eax
call ebx
push 0
push 0
lea ecx, [esp + 0x18]
push 0
push ecx
call esi
test eax, eax
jne 0x401bac
pop edi
pop ebx
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
mov eax, dword [esp + 8]
add esp, 0x1c
ret 0x10
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret 0x10