joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x470c00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042fe60
mov ebx, eax
test ebx, ebx
mov dword [esp + 0xc], ebx
jne 0x4322b9
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov ebx, eax
xor edx, edx
xor esi, esi
xor edi, edi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
push ebp
mov ecx, ebx
call fcn.0042d2a0
mov ebp, dword [esp + 0x70]
mov edi, eax
add edi, ebp
mov ecx, ebx
mov dword [esp + 0x28], edi
call fcn.0042d290
mov edx, dword [esp + 0x74]
mov ecx, esi
add eax, edx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.00431910
mov ebp, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax + 4]
mov eax, dword [esi + 0x1c]
push eax
mov dword [esp + 0x24], ecx
call dword [0x473500]
push 0
lea ecx, [esp + 0x4c]
call fcn.0046a37d
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0x58]
push ecx
lea eax, [esp + 0x4c]
push edx
push eax
mov dword [esp + 0x70], 0
call fcn.00440f40
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042f8c0
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x38]
push 2
push edx
push eax
mov byte [esp + 0x70], 1
call dword [0x473070]
mov ecx, ebx
call fcn.0042d210
mov ebx, eax
mov eax, edi
cmp eax, ebx
jge 0x432384
push edi
mov ecx, esi
call fcn.0042f9d0
push eax
push ebp
mov ecx, esi
call fcn.0042fb90
cmp eax, dword [esp + 0x40]
jg 0x432380
inc edi
mov ebp, eax
cmp edi, ebx
jl 0x43235e
mov eax, ebx
jmp 0x43238a
cmp edi, ebx
jl 0x432388
mov eax, ebx
jmp 0x43238a
mov eax, edi
lea ecx, [eax - 1]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jle 0x43239b
mov dword [esp + 0x30], eax
jmp 0x4323a6
cmp edi, ebx
jl 0x4323a1
mov edi, ebx
dec edi
mov dword [esp + 0x30], edi
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
call fcn.0042d1d0
mov ebp, eax
mov eax, dword [esp + 0x2c]
cmp eax, ebp
mov edi, eax
jge 0x4323ed
push edi
mov ecx, esi
call fcn.0042f8f0
push eax
push ebx
mov ecx, esi
call fcn.0042fcc0
cmp eax, dword [esp + 0x44]
jg 0x4323e5
inc edi
mov ebx, eax
cmp edi, ebp
jl 0x4323bf
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4323f7
cmp edi, ebp
jl 0x4323f1
mov eax, dword [esp + 0x2c]
mov ecx, ebp
jmp 0x4323f7
mov eax, dword [esp + 0x2c]
mov ecx, edi
dec ecx
cmp eax, ecx
jle 0x432400
mov ecx, eax
jmp 0x432409
cmp edi, ebp
jl 0x432406
mov edi, ebp
lea ecx, [edi - 1]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x28]
mov edx, esi
mov dword [edx], edi
mov dword [edx + 4], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea ecx, [esp + 0x14]
call fcn.0042f8e0
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xffffffff
call fcn.0046a3ef
mov ecx, dword [esp + 0x5c]
pop ebp
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0xc
Function at 0x438340
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4710b8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x438379
inc eax
mov dword [esi + 0x10], eax
jmp 0x43848c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43838d
mov eax, 0xffffffc7
jmp 0x43848e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43839e
cmp dword [esi + 8], eax
jne 0x43838d
cmp dword [esi + 8], eax
jne 0x4383b7
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x4383b7
mov eax, 0xffffffc7
jmp 0x43848e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4383cb
push eax
mov ecx, ebx
call fcn.00437b70
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.004075c0
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4383fc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004075e0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004372e0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43842f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x52c728
call fcn.004077c0
mov eax, dword [esp + 0x38]
jmp 0x43848e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.004381a0
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x438473
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004381c0
mov esi, eax
test esi, esi
jne 0x4384a3
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.004381a0
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x438445
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x52c728
call fcn.004077c0
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x52c728
call fcn.004077c0
mov eax, esi
jmp 0x43848e
Function at 0x4415a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4716e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x473500]
push 0
lea ecx, [esp + 0x20]
call fcn.0046a37d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440f40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046a2ab
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00466b6f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00466b6f
push 1
push 0
push 0
mov ecx, esi
call fcn.00466b17
push 1
push 0
push 1
mov ecx, esi
call fcn.00466b17
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046a3ef
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x441720
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046a37d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440f40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046a2ab
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x473500]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4417e4
cmp dword [esp + 0x40], 1
jne 0x4417e2
cmp ecx, eax
jge 0x4417e4
mov eax, ecx
cmp eax, 0xc8
jge 0x4417f0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004415a0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x4734fc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046a3ef
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441f60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471773
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00464f8c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x5311f8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x52f998
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x473040]
push eax
mov ecx, edi
call fcn.0046a625
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046bb41
test eax, eax
je 0x44207c
mov ecx, dword [esp + 0x3c]
call fcn.0046a652
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x473548]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x442040
push edi
mov ecx, esi
call fcn.00467cb6
mov ecx, esi
call fcn.004421e0
cmp dword [esp + 0x38], 1
jne 0x442075
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00467df1
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x444a90
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x444ac3
push esi
call fcn.00447ba0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x444abc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x444b49
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x444b32
mov eax, dword [esi + 8]
test eax, eax
je 0x444ae7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x444b2e
cmp eax, 2
je 0x444b32
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x444ada
cmp eax, 3
je 0x444b0d
cmp eax, 1
jne 0x444ada
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x444ada
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x444ada
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00444b70
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x444b58
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00444b70
add esp, 4
pop esi
ret
Function at 0x516b50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp + 8], eax
mov eax, dword [0x5160ac]
push esi
push edi
test eax, eax
jne 0x516bcd
mov esi, 0x516284
mov edx, dword [esi]
lea eax, [ebp - 0x24]
mov cl, byte [edx]
test cl, cl
je 0x516b8b
lea edi, [ebp - 0x24]
sub edx, edi
xor cl, 0x55
mov byte [eax], cl
mov cl, byte [edx + eax + 1]
inc eax
test cl, cl
jne 0x516b7d
lea ecx, [ebp - 0x24]
mov byte [eax], 0
push ecx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov edx, dword [esi - 4]
add esi, 8
cmp esi, 0x51629c
mov dword [edx], eax
jl 0x516b6d
mov ecx, dword [0x5160ac]
mov eax, dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0
push 0x5162ac
push ecx
mov dword [0x5160a4], eax
call fcn.00516d80
add esp, 0xc
mov dword [0x5160a8], eax
mov dword [ebp - 4], 0
mov esi, 0x516284
mov edx, dword [esi]
mov cl, byte [edx]
test cl, cl
je 0x516c16
mov eax, dword [ebp + 8]
mov al, byte [eax]
test al, al
je 0x516c16
cmp al, 0x5a
jg 0x516c02
cmp al, 0x41
jl 0x516c02
movsx edi, al
add edi, 0x20
movsx ebx, cl
xor edi, 0x55
cmp ebx, edi
je 0x516c08
xor al, 0x55
cmp cl, al
jne 0x516c16
mov ecx, dword [ebp + 8]
inc edx
inc ecx
mov dword [ebp + 8], ecx
mov cl, byte [edx]
test cl, cl
jne 0x516be1
cmp byte [edx], 0
je 0x516c36
mov edx, dword [ebp - 4]
add esi, 8
inc edx
cmp esi, 0x51629c
mov dword [ebp - 4], edx
jl 0x516bd9
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov edx, dword [ecx*8 + 0x516280]
mov eax, dword [edx]
mov esp, ebp
pop ebp
ret
Function at 0x1001b6e0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1001b895
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16000]
push edi
jmp 0x1001b70a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1001b711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1001b700
mov eax, 1
add ebx, ebx
jne 0x1001b723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1001b718
jne 0x1001b734
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1001b718
xor ecx, ecx
sub eax, 3
jb 0x1001b748
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1001b7ba
mov ebp, eax
add ebx, ebx
jne 0x1001b753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x1001b760
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x1001b784
inc ecx
add ebx, ebx
jne 0x1001b770
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1001b765
jne 0x1001b781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1001b765
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1001b7a4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1001b795
jmp 0x1001b706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1001b7a4
add edi, ecx
jmp 0x1001b706
pop esi
mov edi, esi
mov ecx, 0x8593
mov al, pe_nt_image_headers32
repne scasb al, byte es:[edi]
jne 0x1001b7df
cmp byte [edi], 3
jne 0x1001b7c4
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1001b7c2
lea edi, [esi + 0x19000]
mov eax, dword [edi]
or eax, eax
je 0x1001b827
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1001b7e5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b054]
or eax, eax
je 0x1001b821
mov dword [ebx], eax
add ebx, 4
jmp 0x1001b802
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1001b858
cmp al, 0xef
ja 0x1001b84b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1001b82d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1001b83a
mov ebp, dword [esi + 0x1b058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x1001b88c
sub esp, 0xffffff80
jmp 0x10005f80
Function at 0x406830
Capabilities:
Get number of processors

Disassembly:
sub al, 1
add bl, ch
add eax, 0x46443336
xor al, 0x58
push edi
jmp 0x4067dd
jmp 0x4067e4
add edi, 0x11c76
or edi, 0x2f96
pop edi
push edi
add edi, 0x5923
pop edi
push ecx
push esi
add esp, 4
add ecx, 0x10300
xor ecx, 0xca6b
or ecx, 0xc373
and ecx, 0x114b
pop ecx
push ebx
push esi
add esp, 4
add ebx, 0xf3f3
pop ebx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1afc], eax
mov ecx, dword [ebp - 0x1afc]
lea eax, [0x518bffff]
xor byte [ecx - 0x1eab6b], cl
dec dword [ebx - 0x1eab7b]
dec dword [ecx - 0x174f7b]
call dword [edi + 0x51]
add esp, 4
add edi, 0xc765
mov dword gs:[eax], 0x81565f00
out 0xe0, al
add dword cs:[eax], eax
pop esi
push eax
push edx
add esp, 4
xor eax, 0x2732
add eax, 0xe2fb
xor eax, 0x8a76
or eax, 0x492e
pop eax
cmp dword [ebp - 0x1750], 0
jne fcn.00406894
mov dword [ebp - 0x338], 0
jmp 0x406b3b
Function at 0x4069c9
Capabilities:
Get number of processors

Disassembly:
push 0x83fffff2
rol dword [edx], 0x89
lea ebp, [eax - 0xe]
invalid
Function at 0x422b32
Capabilities:
Create thread

Disassembly:
mov dword [esi + 0xc], eax
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x422b68
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
xor eax, eax
ret

Function at 0x42375a
Capabilities:
Terminate process

Disassembly:
push 0x11c
push 0x4256d0
call fcn.004241f8
mov eax, dword [0x42a060]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x42a6bc]
test eax, eax
je 0x42379d
and dword [ebp - 4], 0
push ecx
push dword [ebp + 8]
call eax
pop ecx
pop ecx
or dword [ebp - 4], 0xffffffff
jmp 0x4238a7
mov eax, dword [ebp + 8]
dec eax
je 0x4237b9
mov ebx, str.Unknown_security_failure_detected_
mov dword [ebp - 0x12c], str.A_security_error_of_unknown_cause_has_been_detected_which_has_ncorrupted_the_programs_internal_state.__The_program_cannot_safely_ncontinue_execution_and_must_now_be_terminated._n
mov edi, 0xd4
jmp 0x4237cd
mov ebx, str.Buffer_overrun_detected_
mov dword [ebp - 0x12c], str.A_buffer_overrun_has_been_detected_which_has_corrupted_the_programs_ninternal_state.__The_program_cannot_safely_continue_execution_and_must_nnow_be_terminated._n
mov edi, 0xb9
mov byte [ebp - 0x20], 0
push 0x104
lea eax, [ebp - 0x124]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4237fc
push str._program_name_unknown_
lea eax, [ebp - 0x124]
push eax
call fcn.00424350
pop ecx
pop ecx
lea eax, [ebp - 0x124]
mov dword [ebp - 0x128], eax
push eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
add eax, 0xb
cmp eax, 0x3c
jbe 0x423843
lea eax, [ebp - 0x124]
push eax
call esi
lea ecx, [ebp - 0x124]
sub ecx, 0x31
add eax, ecx
mov dword [ebp - 0x128], eax
push 3
push 0x42551c
push eax
call fcn.00423910
add esp, 0xc
push dword [ebp - 0x128]
call esi
lea eax, [eax + edi + 0xc]
add eax, 3
and eax, 0xfffffffc
call fcn.00424450
mov dword [ebp - 0x18], esp
mov edi, esp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, 0x425518
push ebx
push edi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
call esi
push str.Program:
push edi
call esi
push dword [ebp - 0x128]
push edi
call esi
push ebx
push edi
call esi
push dword [ebp - 0x12c]
push edi
call esi
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 3
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x42457e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x4245ac
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x4245b3
cmp ebx, dword [eax + 4]
jae 0x4245b3
xor eax, eax
jmp 0x4247a3
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x4245c4
xor eax, eax
inc eax
jmp 0x4247a2
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4245da
cmp ecx, edx
jae 0x42471f
cmp dword [eax + 4], 0
je 0x4245e3
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x4245cb
cmp dword [ebp + 8], 0
je 0x424605
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x42471f
cmp eax, esi
jae 0x42471f
mov eax, dword [0x42a6c0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x42462a
cmp dword [esi*4 + 0x42a6c8], edi
je 0x424723
inc esi
cmp esi, eax
jl 0x424618
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x42479f
cmp dword [ebp - 8], 0x1000000
jne 0x42479f
test byte [ebp - 0xc], 0xcc
je 0x4246a8
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x42479f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x42479f
cmp word [eax + 0x18], 0x10b
jne 0x42479f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x42479f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x4246a8
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x4246a8
test byte [ecx + 0x27], 0x80
jne 0x42471f
push 1
push 0x42a708
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
test eax, eax
jne 0x4245bc
mov ecx, dword [0x42a6c0]
test ecx, ecx
mov edx, ecx
jle 0x4246dc
lea eax, [ecx*4 + 0x42a6c4]
cmp dword [eax], edi
je 0x4246dc
dec edx
sub eax, 4
test edx, edx
jg 0x4246d0
test edx, edx
jne 0x42470d
push 0xf
pop ebx
cmp ecx, ebx
jg 0x4246e9
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x424701
lea eax, [edx*4 + 0x42a6c8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x4246ef
cmp ecx, 0x10
jge 0x42470d
inc ecx
mov dword [0x42a6c0], ecx
push 0
push 0x42a708
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
jmp 0x4245bc
xor eax, eax
jmp 0x4247a2
test esi, esi
jle 0x4245bc
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 1
push 0x42a708
call ebx
test eax, eax
jne 0x4245bc
cmp dword [esi*4 + 0x42a6c8], edi
je 0x424779
mov eax, dword [0x42a6c0]
lea esi, [eax - 1]
test esi, esi
jl 0x424767
cmp dword [esi*4 + 0x42a6c8], edi
je 0x424763
dec esi
jns 0x424757
test esi, esi
jge 0x424777
cmp eax, 0x10
jge 0x424772
inc eax
mov dword [0x42a6c0], eax
lea esi, [eax - 1]
jmp 0x424779
je 0x424791
xor ecx, ecx
test esi, esi
jl 0x424791
lea eax, [ecx*4 + 0x42a6c8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x42477f
push 0
push 0x42a708
call ebx
jmp 0x4245bc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret