joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45691d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa4]
test edi, edi
je 0x4569fc
cmp word [edi], 0x5a4d
jne 0x4569fc
mov eax, dword [edi + 0x3c]
add eax, edi
cmp dword [eax], 0x4550
jne 0x4569fc
mov ebx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
lea ebp, [ebx + edi]
cmp ebp, edi
je 0x4569fc
mov edx, dword [ebp + 0x1c]
mov esi, dword [esp + 0xa8]
add edx, edi
test esi, 0xffff0000
mov dword [esp + 0x1c], edx
jne 0x45699d
mov ecx, dword [ebp + 0x10]
cmp esi, ecx
jb 0x4569fc
mov eax, esi
sub eax, ecx
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jae 0x4569fc
mov eax, dword [edx + eax*4]
jmp 0x456a22
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
add eax, edi
xor edx, edx
test ecx, ecx
jbe 0x4569fc
mov dword [esp + 0x10], eax
jmp 0x4569b8
mov esi, dword [esp + 0xa8]
mov eax, dword [eax]
add eax, edi
mov bl, byte [esi]
mov cl, bl
cmp bl, byte [eax]
jne 0x4569e0
test cl, cl
je 0x4569dc
mov bl, byte [esi + 1]
mov cl, bl
cmp bl, byte [eax + 1]
jne 0x4569e0
add esi, 2
add eax, 2
test cl, cl
jne 0x4569bc
xor eax, eax
jmp 0x4569e5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x456a0b
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
inc edx
add eax, 4
cmp edx, ecx
mov dword [esp + 0x10], eax
jb 0x4569b1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x90
ret 0xc
mov ecx, dword [ebp + 0x24]
mov ebx, dword [esp + 0x14]
xor eax, eax
lea edx, [ecx + edx*2]
mov ecx, dword [esp + 0x1c]
mov ax, word [edx + edi]
mov eax, dword [ecx + eax*4]
test eax, eax
je 0x4569fc
cmp eax, ebx
jb 0x456ab2
mov edx, dword [esp + 0x18]
add edx, ebx
cmp eax, edx
ja 0x456ab2
mov ebx, dword [esp + 0xac]
test ebx, ebx
je 0x4569fc
lea edx, [eax + edi]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x80
jae 0x4569fc
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea ebp, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, ebp
push 0x2e
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
push ecx
call fcn.004575dd
add esp, 8
test eax, eax
je 0x4569fc
mov byte [eax], 0
inc eax
push ebx
lea edx, [esp + 0x24]
push eax
push edx
call ebx
push eax
call fcn.0045691d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc
add eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0xc

Function at 0x456b2d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov al, 0x74
mov cl, 0x72
mov byte [esp + 3], al
mov byte [esp + 0xa], al
mov byte [esp + 0xd], al
mov eax, dword [esp + 0x14]
mov byte [esp + 2], cl
mov byte [esp + 8], cl
lea ecx, [esp]
push eax
push ecx
push eax
mov byte [esp + 0xc], 0x56
mov byte [esp + 0xd], 0x69
mov byte [esp + 0x10], 0x75
mov byte [esp + 0x11], 0x61
mov byte [esp + 0x12], 0x6c
mov byte [esp + 0x13], 0x50
mov byte [esp + 0x15], 0x6f
mov byte [esp + 0x17], 0x65
mov byte [esp + 0x18], 0x63
mov byte [esp + 0x1a], 0
call fcn.00456acd
push eax
call fcn.0045691d
add esp, 0x10
ret 4
Function at 0x456b9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov al, 0x6c
lea ecx, [esp]
mov byte [esp + 6], al
mov byte [esp + 8], al
mov byte [esp + 9], al
mov eax, dword [esp + 0x14]
push eax
push ecx
push eax
mov byte [esp + 0xc], 0x56
mov byte [esp + 0xd], 0x69
mov byte [esp + 0xe], 0x72
mov byte [esp + 0xf], 0x74
mov byte [esp + 0x10], 0x75
mov byte [esp + 0x11], 0x61
mov byte [esp + 0x13], 0x41
mov byte [esp + 0x16], 0x6f
mov byte [esp + 0x17], 0x63
mov byte [esp + 0x18], 0
call fcn.00456acd
push eax
call fcn.0045691d
add esp, 0x10
ret 4

Function at 0x456c5d
Capabilities:
Parse pe header

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
test esi, esi
push edi
jne 0x456c78
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esp + 0x24]
push eax
call fcn.00456b2d
mov edx, eax
test edx, edx
mov dword [esp + 0x10], edx
jne 0x456c96
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
cmp word [esi], 0x5a4d
je 0x456ca9
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
je 0x456cc2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
mov ecx, dword [eax + 0x34]
cmp ecx, esi
je 0x456d6e
mov edi, dword [esp + 0x20]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [edi]
test eax, eax
je 0x456d6e
mov ebx, dword [edi + 4]
lea eax, [edi + 8]
sub ebx, 8
mov dword [esp + 0x20], 0
shr ebx, 1
je 0x456d62
mov ebp, eax
mov ax, word [ebp]
mov ecx, eax
and ecx, 0xf000
test cx, cx
je 0x456d52
cmp cx, 0x3000
jne 0x456cb6
mov ecx, dword [edi]
and eax, 0xfff
add eax, ecx
lea ecx, [esp + 0x24]
add eax, esi
push ecx
mov esi, eax
push 4
push 4
push esi
call edx
test eax, eax
je 0x456cb6
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
add eax, edx
mov dword [esi], eax
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push ecx
push 4
push esi
call dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ebp, 2
inc eax
cmp eax, ebx
mov dword [esp + 0x20], eax
jb 0x456cfa
add edi, dword [edi + 4]
cmp dword [edi], 0
jne 0x456ce3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0xc
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x36016cb0
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, 0x72134868
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x402eb2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 8], esi
jne 0x402ed1
mov dword [ebp - 8], 0x8000
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], edi
jne 0x402ee2
mov dword [ebp - 0xc], 0x78d858
mov eax, dword [ebp + 8]
cmp eax, ebx
jl 0x402ef7
mov ecx, dword [0x7a26f8]
add ecx, eax
push ecx
call fcn.004030e9
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004030b7
test eax, eax
je 0x4030a5
test byte [ebp + 0x17], 0x80
je 0x403046
call dword [0x40708c]
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov byte [0x40afa0], 0xb
mov dword [0x40afb8], ebx
mov dword [ebp + 8], eax
jle 0x4030ad
mov ebx, 0x789858
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402f4f
mov esi, dword [ebp + 0x14]
push esi
push ebx
call fcn.004030b7
test eax, eax
je 0x4030a5
sub dword [ebp + 0x14], esi
mov dword [0x40af90], ebx
mov dword [0x40af94], esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push 0x40af90
mov dword [0x40af98], edi
mov dword [0x40af9c], eax
call fcn.00405f05
test eax, eax
mov dword [ebp - 0x18], eax
jl 0x40303e
mov esi, dword [0x40af98]
sub esi, edi
call dword [0x40708c]
test byte [0x7a2754], 1
mov edi, eax
je 0x402fef
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x402fbc
cmp dword [ebp + 0x14], 0
jne 0x402fef
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [0x407130]
push eax
lea eax, [ebp - 0x58]
push 0x40911c
push eax
call dword [0x407200]
add esp, 0xc
lea eax, [ebp - 0x58]
push eax
push 0
call fcn.00404e36
mov dword [ebp - 0x10], edi
xor eax, eax
cmp esi, eax
je 0x403033
cmp dword [ebp + 0x10], eax
jne 0x40301a
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call dword [0x407128]
test eax, eax
je 0x403042
cmp dword [ebp - 0x14], esi
jne 0x403042
add dword [ebp - 4], esi
jmp 0x403028
mov eax, dword [0x40af98]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x18], 4
je 0x4030ad
jmp 0x402f6d
cmp dword [ebp + 0x14], eax
jg 0x402f42
jmp 0x4030ad
push 0xfffffffffffffffc
jmp 0x4030a7
push 0xfffffffffffffffe
jmp 0x4030a7
cmp edi, ebx
jne 0x403092
cmp dword [ebp + 0x14], ebx
jle 0x4030ad
mov ebx, 0x789858
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x40305f
mov esi, dword [ebp + 0x14]
push esi
push ebx
call fcn.004030b7
test eax, eax
je 0x4030a5
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [0x407128]
test eax, eax
je 0x403042
cmp esi, dword [ebp + 0x10]
jne 0x403042
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403054
jmp 0x4030ad
cmp dword [ebp + 0x14], esi
jge 0x40309a
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.004030b7
test eax, eax
jne 0x4030aa
push 0xfffffffffffffffd
pop eax
jmp 0x4030b0
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4053e3
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405699
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x405417
push edi
call dword [0x407144]
neg eax
sbb eax, eax
inc eax
add dword [0x7a2728], eax
jmp 0x4055b0
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x405435
test eax, eax
je 0x40555b
test byte [ebp + 0xc], 2
je 0x40555b
mov esi, 0x79fca0
push edi
push esi
call fcn.00405acd
test ebx, ebx
je 0x405452
push 0x409328
push esi
call fcn.00405af0
jmp 0x405458
push edi
call fcn.004055fd
cmp byte [edi], 0
jne 0x405466
cmp byte [0x79fca0], 0x5c
jne 0x405471
push 0x409010
push edi
call fcn.00405af0
push edi
call fcn.00405ae3
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [0x407140]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x405551
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.004055e1
cmp byte [eax], 0
je 0x4054b7
cmp byte [ebp - 0x18], 0
je 0x4054b7
lea esi, [ebp - 0x18]
mov al, byte [esi]
cmp al, 0x2e
jne 0x4054d2
cmp byte [esi + 1], 0
je 0x405530
cmp al, al
jne 0x4054d2
cmp byte [esi + 1], al
jne 0x4054d2
cmp byte [esi + 2], 0
je 0x405530
push esi
push ebx
call fcn.00405acd
test byte [ebp - 0x148], 0x10
je 0x4054f7
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405530
push dword [ebp + 0xc]
push edi
call fcn.004053e3
jmp 0x405530
push edi
call fcn.00405783
push edi
call dword [0x407144]
test eax, eax
jne 0x405528
test byte [ebp + 0xc], 4
je 0x405520
push edi
push 0xfffffffffffffff1
call fcn.00404e36
push 0
push edi
call fcn.0040581a
jmp 0x405530
inc dword [0x7a2728]
jmp 0x405530
push edi
push 0xfffffffffffffff2
call fcn.00404e36
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [0x40713c]
test eax, eax
jne 0x405495
push dword [ebp + 8]
call dword [0x407138]
cmp dword [ebp - 4], 0
je 0x40555b
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x4055b0
cmp dword [ebp - 8], esi
jne 0x405570
inc dword [0x7a2728]
jmp 0x4055b0
push edi
call fcn.00405df2
test eax, eax
je 0x4055b0
push edi
call fcn.004055b6
push edi
call fcn.00405783
push edi
call dword [0x4070d0]
test eax, eax
jne 0x4055a8
test byte [ebp + 0xc], 4
je 0x405568
push edi
push 0xfffffffffffffff1
call fcn.00404e36
push esi
push edi
call fcn.0040581a
jmp 0x4055b0
push edi
push 0xffffffffffffffe5
call fcn.00404e36
pop edi
pop esi
leave
ret 8
Function at 0x40581a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405e19
test eax, eax
mov esi, dword [esp + 0x18]
je 0x40583e
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405977
mov ebx, dword [0x407068]
mov dword [0x7a0e28], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x7a0e28
je 0x405882
push 1
push 0
push esi
call fcn.004057a2
push eax
call dword [0x4070ec]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x40597d
cmp eax, edi
jg 0x40597d
mov esi, 0x7a08a0
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x40597d
cmp eax, edi
jg 0x40597d
push esi
push ebp
push 0x409334
push 0x7a04a0
call dword [0x407200]
mov ebx, eax
mov eax, dword [0x7a26b0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405b01
push 4
push 0xc0000000
push esi
call fcn.004057a2
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x405977
push 0
push ebp
call dword [0x407090]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [0x407100]
mov esi, eax
test esi, esi
je 0x405970
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [0x40712c]
test eax, eax
je 0x405970
cmp edi, dword [esp + 0x18]
jne 0x405970
push str._Rename__r_n
push esi
call fcn.00405711
test eax, eax
jne 0x405984
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405acd
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x7a04a0
push eax
call fcn.0040575d
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [0x407134]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [0x407128]
push esi
call dword [0x4070fc]
push ebp
call dword [0x4070ec]
inc dword [0x7a2730]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409330
push eax
call fcn.00405711
test eax, eax
je 0x40593b
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x4059ab
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x4059a0
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x40593d

Function at 0x405e8f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x7a122c], esi
push edi
jne 0x405ec9
mov ecx, 0x7a1228
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405ea5
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x7a1628
jl 0x405ea0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405efe
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1228]
xor eax, esi
inc ecx
dec edx
jne 0x405ee1
pop edi
pop esi
not eax
ret 0xc
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x402fc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x402fd8
pop dword [ebp - 4]
mov eax, 0x5a2abf1d
sub eax, 0x59ea8f45
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x60ab8bbb
add dword [ebp - 0x14], 0xeda6b990
mov dword [ebp - 0x10], 0xe9fc9026
add dword [ebp - 0x10], 0x4836bc1f
mov dword [ebp - 0xc], 0x8676ca72
sub dword [ebp - 0xc], 0x3a2a8644
mov dword [ebp - 8], 0xc775fef0
add dword [ebp - 8], 0x388a0110
lea eax, [ebp - 0x14]
push eax
mov eax, 0x8517cc29
sub eax, 0x84d6fbd5
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0xe3410571
add dword [ebp - 0x14], 0x913163e5
mov dword [ebp - 0x10], 0x93acbdec
sub dword [ebp - 0x10], 0x52405c77
mov dword [ebp - 0xc], 0xfd36e191
sub dword [ebp - 0xc], 0x99c77525
mov dword [ebp - 8], 0xac2e7b71
sub dword [ebp - 8], 0xac2e7b71
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, 0x14422443
add eax, 0xebfeac09
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x3753b
push 0
call eax
mov ecx, 0x15bca1b
sub ecx, 0x15b8ae1
xor edi, edi
add edi, eax
mov esi, 0x227eab7d
add esi, 0xddc30483
add esi, dword [ebp - 4]
mov ebx, 0xecee2ef3
sub ebx, 0x38d943c5
mov edx, dword [esi]
xor edx, ebx
mov dword [edi], edx
add edi, 0x2e013db4
sub edi, 0x2e013db0
add esi, 0x42125929
add esi, 0xbdeda6db
loop 0x4030fc
add eax, 0x2969da7c
add eax, 0xd697153f
mov ebx, eax
add eax, 0x383f991a
sub eax, 0x383f9915
mov ecx, 0x400000
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x406865
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x40689d
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x40688b
mov al, 1
jmp 0x4068e7
cmp dword [ebx + 0x54], ecx
jne 0x406894
mov al, 2
jmp 0x4068e7
cmp dword [ebx + 0x7c], ecx
jne 0x4068e7
mov al, 3
jmp 0x4068e7
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4068b2
mov al, 4
jmp 0x4068e7
cmp ecx, 5
jne 0x4068d2
cmp ebx, 0
jne 0x4068c0
mov al, 5
jmp 0x4068e7
cmp ebx, 1
jne 0x4068c9
mov al, 6
jmp 0x4068e7
cmp ebx, 2
jne 0x4068d2
mov al, 7
jmp 0x4068e7
cmp ecx, 6
jne 0x4068de
cmp ebx, 0
jne 0x4068e0
mov al, 8
jmp 0x4068e7
cmp ebx, 1
jne 0x4068e7
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407d15
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00407ec5
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x407e13
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x407db6
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x407df9
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x407dcd
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x407de8
test al, 0x40
je 0x407ddf
mov ecx, dword [edi + 0x20]
jmp 0x407de6
test al, 0x80
je 0x407df9
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x407df9
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x407d85
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x432350
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f951b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004ed6ff
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4323d2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004eafee
mov eax, dword [eax]
push 0x560d20
push eax
call fcn.004dc0c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004ed98a
test bl, bl
je 0x4323d2
push 0x560d20
lea ecx, [esp + 0xc]
call fcn.004edd1a
push 0x560d2c
lea ecx, [esp + 0xc]
call fcn.004edd1a
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x43240e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004ed98a
jmp 0x4324d9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x432492
lea edx, [esp + 0x7c]
push 0x560d28
push edx
call fcn.004dc0c4
add esp, 8
test eax, eax
je 0x432492
lea eax, [esp + 0x7c]
push 0x560d24
push eax
call fcn.004dc0c4
add esp, 8
test eax, eax
je 0x432492
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x432422
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004ed98a
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x432ce0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x432d42
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x432d50
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f959b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x576830]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x432e88
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x432db6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ed98a
xor eax, eax
jmp 0x432eff
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004edac7
push esi
lea ecx, [esp + 0xc]
call fcn.004edd56
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x560d60
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x432edd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x560d58
push bind
call fcn.00432ce0
test eax, eax
jne 0x432edd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x560d44
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.00432ce0
test eax, eax
jne 0x432edd
lea eax, [esp + 0x14]
push 0x560d3c
push eax
call fcn.004dd2a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x432ebc
lea ecx, [esp + 0x14]
push 0x560d38
push ecx
call fcn.004dd220
mov esi, eax
add esp, 8
test esi, esi
jne 0x432ebc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x432ebf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004eda77
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x432dce
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004ed98a
xor eax, eax
jmp 0x432eff
mov byte [esi], 0
push 0x560d34
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.004ed98a
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4