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

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x52eae2
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.004ab5c0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x52eba5
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x52eb36
test esi, esi
jle 0x52eb84
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x52eb20
jmp 0x52eb84
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x52eb5a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.00559270
add esp, 0xc
test esi, esi
jle 0x52eb84
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x52eb70
push esi
push ebp
push ebp
push edi
call fcn.004ce070
add esp, 0x10
pop ebx
test eax, eax
jne 0x52eba5
push esi
push ebp
call fcn.004c0940
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret

Function at 0x52f430
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.00556c40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 0x1048
push 0x5cbae0
push esi
call fcn.005593d0
mov ecx, dword [esp + 0x2c]
mov eax, 0x48
mov edi, dword [esp + 0x30]
add esp, 0xc
cmp ecx, eax
cmovg ecx, eax
mov eax, edi
xor ebp, ebp
lea ebx, [ecx + edi]
nop
movzx edx, byte [eax]
inc eax
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
xor dword [esi + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x52f470
mov dword [esp + 0x10], 0
xor edi, edi
mov dword [esp + 0x14], 0
nop
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0052fe90
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x52f4c0
xor edi, edi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0052fe90
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x52f4e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x530480
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.00556c40
mov eax, dword [0x60e9b0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x530645
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x5305d5
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.0052fe90
mov ebx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x530570
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x53062c
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00555b37
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00555b37
add esp, 0x28
ret
Function at 0x5383e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x5384a9
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x538401
cmp al, 0x6b
jne 0x5384a9
inc ecx
cmp al, 0x6b
jne 0x53846b
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x538422
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x538422
cmp dl, 0xbb
jne 0x53844b
inc eax
cmp eax, esi
jl 0x538410
sub esi, eax
test eax, eax
jne 0x53846e
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004bb510
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004bb510
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x538497
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.004bb510
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.005593d0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.004bb510
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x53f910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.00556c40
mov eax, dword [0x60e9b0]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x53fae7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x53fae7
cmp dword [esp + 0x88], 0x40000000
ja 0x53fae7
push ebx
push edi
push eax
call fcn.004ce0b0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.004c4d30
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.004c4910
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.004c4ac0
add esp, 0x20
test eax, eax
je 0x53fac3
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004c4ac0
add esp, 0xc
test eax, eax
je 0x53fac3
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.004c4ac0
add esp, 0xc
test eax, eax
je 0x53fac3
push 0
cmp esi, edi
jb 0x53fa8b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.004c4840
add esp, 0xc
test eax, eax
je 0x53fac3
sub esi, edi
je 0x53fabb
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.004c4910
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.004c4ac0
add esp, 0x18
test eax, eax
jne 0x53f9d7
jmp 0x53fac3
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004c4840
add esp, 0xc
test eax, eax
je 0x53fac3
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.005593d0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.004c0940
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.004c4ad0
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00555b37
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.00555b37
add esp, 0x70
ret
Function at 0x541aa0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x541ab7
mov edi, ecx
jmp 0x541abb
mov edi, ebp
mov ebp, ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x541acb
mov eax, ebx
jmp 0x541ad5
push eax
push ebx
call fcn.004a48c0
add esp, 8
test eax, eax
jne 0x541add
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x541afb
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x541ae5
cmp esi, dword [edi + 4]
jge 0x541b10
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x541b00
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x541b34
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x541b31
dec ecx
test ecx, ecx
jg 0x541b23
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x578f1f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00578d9e

Function at 0x57db85
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0057d845

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 0x40184c
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40185e
mov eax, dword [0x55e09f]
shl eax, 2
mov dword [0x55e0a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0054efe0
pop edx
call fcn.0054ebe0
call fcn.0054f4fc
push 0
call fcn.00550844
pop ecx
push 0x55e048
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x55e0a7], eax
push 0
jmp fcn.00559394

Function at 0x402428
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
mov eax, 0x55e9f8
call fcn.0054fc68
mov word [ebp - 0x3c], 0xc
lea edx, [ebp - 0x28]
push edx
call fcn.00402590
pop ecx
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x18
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x3c], 0x18
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp + 0x10]
jae 0x402546
xor edx, edx
mov dword [ebp - 0x54], edx
mov word [ebp - 0x3c], 0x18
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x3c], 0x18
cmp dword [ebp - 0x58], 3
jae 0x4024b6
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x58]
cmp eax, dword [ebp + 0x10]
jae 0x4024ad
mov ecx, 2
sub ecx, dword [ebp - 0x58]
shl ecx, 3
mov edx, dword [ebp - 0x50]
add edx, dword [ebp - 0x58]
mov eax, dword [ebp + 0xc]
movsx edx, byte [eax + edx]
shl edx, cl
or dword [ebp - 0x54], edx
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 3
jb 0x402485
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov word [ebp - 0x3c], 0x18
cmp dword [ebp - 0x5c], 4
jae 0x402536
mov eax, dword [ebp - 0x50]
mov ecx, 3
xor edx, edx
div ecx
mov ecx, eax
shl ecx, 2
add ecx, dword [ebp - 0x5c]
mov eax, dword [ebp + 0x10]
add eax, 2
mov ebx, 3
xor edx, edx
div ebx
shl eax, 2
cmp ecx, eax
jae 0x40251f
mov eax, 3
sub eax, dword [ebp - 0x5c]
mov ecx, eax
add ecx, ecx
lea ecx, [ecx + ecx*2]
mov edx, dword [ebp - 0x54]
shr edx, cl
and edx, 0x3f
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dl, byte [eax + edx]
push edx
lea ecx, [ebp - 0x28]
push ecx
call fcn.00402608
add esp, 8
jmp 0x40252d
push 0x3d
lea eax, [ebp - 0x28]
push eax
call fcn.00402608
add esp, 8
inc dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 4
jb 0x4024c7
add dword [ebp - 0x50], 3
mov edx, dword [ebp - 0x50]
cmp edx, dword [ebp + 0x10]
jb 0x402469
mov word [ebp - 0x3c], 0x24
lea ecx, [ebp - 0x28]
push ecx
push dword [ebp + 8]
call fcn.00402620
add esp, 8
mov eax, dword [ebp + 8]
mov word [ebp - 0x3c], 0x30
push eax
dec dword [ebp - 0x30]
push 2
lea edx, [ebp - 0x28]
push edx
call fcn.004025dc
add esp, 8
pop eax
mov word [ebp - 0x3c], 0x24
inc dword [ebp - 0x30]
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4066d8
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push dword [ebp + 0xc]
push 8
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4066f8
xor eax, eax
jmp 0x40676f
push 0x224
push 0
lea edx, [ebp - 0x228]
push edx
call fcn.0054f77f
add esp, 0xc
mov dword [ebp - 0x228], 0x224
lea ecx, [ebp - 0x228]
push ecx
push dword [ebp - 4]

Function at 0x406774
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push esi
push edi
mov eax, 0x55fe18
call fcn.0054fc68
mov dword [ebp - 0x28], 1
mov word [ebp - 0x34], 0xc
mov word [ebp - 0x34], 0x18
lea edx, [ebp - 0x20]
push edx
call fcn.00405930
pop ecx
inc dword [ebp - 0x28]
mov word [ebp - 0x34], 0xc
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
jne 0x40681b
mov word [ebp - 0x34], 0x24
lea ecx, [ebp - 0x20]
push ecx
push dword [ebp + 8]
call fcn.00406900
add esp, 8
mov eax, dword [ebp + 8]
mov word [ebp - 0x34], 0x30
push eax
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 0x20]
push edx
call fcn.00404fdc
add esp, 8
dec dword [ebp - 0x28]
push 2
lea ecx, [ebp + 0x10]
push ecx
call fcn.004025dc
add esp, 8
pop eax
mov word [ebp - 0x34], 0x24
inc dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
jmp 0x4068f7
mov esi, 0x55f900
lea edi, [ebp - 0x174]
mov ecx, 0x4a
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x34], 0xc
lea eax, [ebp - 0x174]
push eax
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_Process32First
mov dword [ebp - 0x4c], eax
mov word [ebp - 0x34], 0xc
cmp dword [ebp - 0x4c], 0
je 0x40689a
lea edx, [ebp + 0x10]
push edx
call fcn.004034e0
pop ecx
push eax
lea ecx, [ebp - 0x150]
push ecx
call fcn.0054f900
add esp, 8
test eax, eax
jne 0x406882
lea eax, [ebp - 0x16c]
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.00406434
add esp, 8
lea ecx, [ebp - 0x174]
push ecx
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_Process32Next
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x406851
push dword [ebp - 0x48]
call sub.KERNEL32.DLL_CloseHandle
mov word [ebp - 0x34], 0x48
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.00406900
add esp, 8
mov eax, dword [ebp + 8]
mov word [ebp - 0x34], 0x54
push eax
dec dword [ebp - 0x28]
push 2
lea edx, [ebp - 0x20]
push edx
call fcn.00404fdc
add esp, 8
dec dword [ebp - 0x28]
push 2
lea ecx, [ebp + 0x10]
push ecx
call fcn.004025dc
add esp, 8
pop eax
mov word [ebp - 0x34], 0x48
inc dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
mov dword fs:[0], edx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x409540
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x56b16c
push 0xa
push 0x4095d4
mov eax, dword [0x56b0f4]
push eax
call sub.KERNEL32.DLL_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x409564
call fcn.0043cfc8
push ebx
mov eax, dword [0x56b0f4]
push eax
call sub.KERNEL32.DLL_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40957b
call fcn.0043cfc8
push ebx
call sub.KERNEL32.DLL_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40958d
call fcn.0043cfc8
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x56b170], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x56b174], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x56b178], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x56b17c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x56b180], ecx
add edx, dword [eax + 0x14]
mov dword [0x56b184], edx
pop esi
pop ebx
ret

Function at 0x425b28
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x425bc6
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x425b8a
cmp byte [ebx + 0x10], 0
jne 0x425b8a
cmp byte [ebx + 0x3c], 0
jne 0x425b8a
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x425bab
lea edx, [ebp - 4]
mov eax, dword [0x56a7f4]
call fcn.00452c94
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x41659c]
call fcn.0043a918
call fcn.0044e8ec
jmp 0x425bab
lea edx, [ebp - 8]
mov eax, dword [0x56a7f4]
call fcn.00452c94
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41659c]
call fcn.0043a918
call fcn.0044e8ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425bcd
lea eax, [ebp - 8]
mov edx, 2
call fcn.0044f9f4
ret

Function at 0x426444
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x426492
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.00425aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4264ab
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4264b4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00425aac
dec esi
jne 0x4264d6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x427cf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x56b3b0
cmp dword [edi], 0
jne 0x427d6c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x56b3ac]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x560738
mov ecx, 2
call fcn.0044d3a0
mov edx, 0x427cc8
lea eax, [esi + 5]
call fcn.00427ce8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00427ce8
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x427d41
mov dword [0x56b3ac], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8