joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46c144
Capabilities:
Decompress data using aplib

Disassembly:
pushal
call 0x46c14a
pop eax
lea ebp, [eax - 0xe6]
lea ebx, [eax - 0x6c14a]
lea esi, [eax + 0x174]
lea ecx, [esi - 0xa]
dec eax
mov byte [eax - 5], 0xe9
lea edx, [ebx + 0xd28b]
sub edx, eax
mov dword [eax - 4], edx
lea edx, [ebx + 0x154]
jmp 0x46c215
add edx, 4
add edi, ebx
push ecx
rol edi, 1
shr edi, 1
jae 0x46c20f
push ebx
push ebp
push edx
mov dl, 0x80
mov ebx, ecx
movsb byte es:[edi], byte [esi]
mov dh, 0x80
call ebx
jae 0x46c192
xor ecx, ecx
call ebx
jae 0x46c1b5
xor eax, eax
call ebx
jae 0x46c1c8
mov dh, 0x80
inc ecx
mov al, 0x10
call ebx
adc al, al
jae 0x46c1aa
jne 0x46c1f4
stosb byte es:[edi], al
jmp 0x46c195
call fcn.0046c200
add dh, dh
sbb ecx, 1
jne 0x46c1d1
call fcn.0046c1fe
jmp 0x46c1f0
lodsb al, byte [esi]
shr eax, 1
je 0x46c20a
adc ecx, ecx
jmp 0x46c1ed
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.0046c1fe
cmp eax, 0x7d00
jae 0x46c1ed
cmp ah, 5
jae 0x46c1ee
cmp eax, 0x7f
ja 0x46c1ef
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov dh, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x46c195
pop edx
pop ebp
pop ebx
jmp 0x46c214
lodsd eax, dword [esi]
mov ecx, eax
rep movsb byte es:[edi], byte [esi]
pop ecx
mov edi, dword [edx]
test edi, edi
jne 0x46c17b
lea esi, [ebx + 0xd620]
jmp 0x46c264
mov eax, dword [esi + 0xc]
add eax, ebx
push eax
call dword [ebp]
push esi
mov esi, dword [esi]
or esi, esi
jne 0x46c239
mov esi, edi
add esi, ebx
add edi, ebx
jmp 0x46c25a
rol ecx, 1
shr ecx, 1
jae 0x46c24a
movzx ecx, cx
jmp 0x46c24f
add ecx, ebx
lea ecx, [ecx + 2]
push eax
push ecx
push eax
call dword [ebp + 4]
stosd dword es:[edi], eax
pop eax
add esi, 4
mov ecx, dword [esi]
test ecx, ecx
jne 0x46c23f
pop esi
add esi, 0x14
mov edi, dword [esi + 0x10]
test edi, edi
jne 0x46c227
lea ecx, [ebx - 0x400000]
mov eax, 0
or eax, eax
je 0x46c2ae
add eax, ebx
jmp 0x46c2a8
lea esi, [eax + 8]
add eax, dword [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [esi]
shld dx, bp, 4
cmp dl, 3
jne 0x46c2a2
and ebp, 0xfff
add ebp, edi
add ebp, ebx
add dword [ebp], ecx
inc esi
inc esi
cmp esi, eax
jne 0x46c284
mov edi, dword [eax]
test edi, edi
jne 0x46c27e
popal
jmp entry0
Function at 0x46cdb0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x45d015
lea edi, [esi - 0x5c015]
push edi
or ebp, 0xffffffff
jmp 0x46cdd2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x46cdd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46cdc8
mov eax, 1
add ebx, ebx
jne 0x46cdeb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x46cdfc
jne 0x46ce1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46ce1b
dec eax
add ebx, ebx
jne 0x46ce08
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x46cde0
add ebx, ebx
jne 0x46ce17
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46ce6d
xor ecx, ecx
sub eax, 3
jb 0x46ce33
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x46cea2
sar eax, 1
mov ebp, eax
jmp 0x46ce3e
add ebx, ebx
jne 0x46ce3e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46ce0c
inc ecx
add ebx, ebx
jne 0x46ce4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x46ce0c
add ebx, ebx
jne 0x46ce59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46ce4e
jne 0x46ce6a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46ce4e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46ce8c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46ce7e
jmp 0x46cdce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46ce8c
add edi, ecx
jmp 0x46cdce
pop esi
mov edi, esi
mov ecx, 0xaca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46ceaa
cmp byte [edi], 7
jne 0x46ceaa
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 0x46ceaf
lea edi, [esi + 0x6a000]
mov eax, dword [edi]
or eax, eax
je 0x46cf27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa50cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa516c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46cedc
mov ecx, edi
jns 0x46cf0b
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 + 0xa5170]
or eax, eax
je 0x46cf21
mov dword [ebx], eax
add ebx, 4
jmp 0x46cef9
call dword [esi + 0xa5180]
mov ebp, dword [esi + 0xa5174]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x46cf5b
sub esp, 0xffffff80
jmp 0x412a92
Function at 0x407e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407f09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407e68
mov eax, dword [ebp - 4]
call fcn.00407220
jmp 0x407e70
mov eax, dword [ebp - 4]
call fcn.00407c1c
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407ebc
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407ea6
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.00407220
jmp 0x407eb8
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407c1c
inc ebx
dec esi
jne 0x407e80
push 1
push dword [ebp - 4]
push 0x407f20
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f84
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f10
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push 0
push 2
push 0x402065
push 0x402053
call dword [sym.imp.Winmm.dll_mciSendStringA]
cmp eax, 0x107
je 0x40101c
ret
mov edi, edi
mov esi, 0x4010c7
mov edi, esi
push 1
push 0x402083
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateSemaphoreW]
mov edx, eax
pop ebx
mov ecx, 0x380
mov al, byte [esi]
sub al, bl
stosb byte es:[edi], al
inc esi
loop 0x401040
push dword fs:[0x30]
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
cmp word [eax], 0x5a4d
je 0x401066
xor eax, eax
mov dword [0x402096], eax
add esp, 4
ret
Function at 0xdc7e58
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc7e62
pushal
call 0xdc7e68
pop ebp
sub ebp, 0x10
sub ebp, 0x9c7e58
jmp 0xdc7e7e
mov eax, 0x9c7e58
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ce
mov edx, 0xbb1becfb
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc7e95
jmp 0xdc7ea8
jo 0xdc7ee0
jo 0xdc7f1e
invalid
cli
xlatb
fist word [ebx + 0x28696b95]
adc edi, esi
sti
sti
sti
adc dl, ch
sti
sti
sti
scasb al, byte es:[edi]
scasd eax, dword es:[edi]
cmpsb byte [esi], byte es:[edi]
jo 0xdc7f75
sti
sti
sti
jo 0xdc7f6b
idiv ebx
sti
sti
jo 0xdc7f79
jmp 0xdc7f00
idiv ebx
jo 0xdc7f99
invalid
sti
xchg ebx, eax
arpl word [eax - 0x7f], cx
sti
cli
xlatb
fbstp tbyte [esi - 0x61]
fild word [edi]
jb 0xdc7f31
fist word [ebx]
invalid
enter 0x7a32, 9
dec ecx
mov bl, ah
mov dl, 0x7a
or dword [ecx - 0x78], ecx
jecxz 0xdc7f2b
dec ecx
mov bl, ah
mov dl, 0xc8
sub dword [eax + 0x13], edi
enter 0x7829, 0x13
invalid
add byte [edx], dl
hlt

Function at 0x408956
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4085d8
call fcn.0040897c
dec edx
and esi, edx
xor dword [ecx], ebx
sub edx, edx
inc ecx
sub edx, esi
add edx, 0x704e51e8
cmp ecx, eax
jne fcn.00408956
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3ef43925
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4b4b7e44
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403abd
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 0x403af5
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x403ae3
mov al, 1
jmp 0x403b54
cmp dword [ebx + 0x54], ecx
jne 0x403aec
mov al, 2
jmp 0x403b54
cmp dword [ebx + 0x7c], ecx
jne 0x403b54
mov al, 3
jmp 0x403b54
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x403b0a
mov al, 4
jmp 0x403b54
cmp ecx, 5
jne 0x403b2a
cmp ebx, 0
jne 0x403b18
mov al, 5
jmp 0x403b54
cmp ebx, 1
jne 0x403b21
mov al, 6
jmp 0x403b54
cmp ebx, 2
jne 0x403b2a
mov al, 7
jmp 0x403b54
cmp ecx, 6
jne 0x403b52
cmp ebx, 0
jne 0x403b38
mov al, 8
jmp 0x403b54
cmp ebx, 1
jne 0x403b3f
mov al, 9
cmp ebx, 2
jne 0x403b46
mov al, 0xa
cmp ebx, 3
jne 0x403b4d
mov al, 0xb
cmp ebx, 4
jne 0x403b54
mov al, 0xc
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x407436
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x407544
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.00407554
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x407544
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.00407554
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x407544
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.00407554
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x407544
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x407541
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.00407567
test eax, eax
je 0x407530
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.0040759b
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x4074eb
add esp, 0xc
mov eax, 0
jmp 0x40754e
mov esp, ebp
pop ebp
ret 8
Function at 0x407749
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4077fd
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004076d9
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4077d6
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x407809
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x407824
test ebp, ebp
je 0x407824
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x40782c
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x40786c
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4078c8
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4078c3
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4078ae
test dl, dl
je 0x4078aa
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4078ae
add ecx, 2
add eax, 2
test dl, dl
jne 0x40788e
xor eax, eax
jmp 0x4078b3
sbb eax, eax
or eax, 1
test eax, eax
je 0x4078d2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x40787b
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4078e9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00407749
test eax, eax
jne 0x407901
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00407809
mov esi, eax
test esi, esi
jne 0x407937
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x407951
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x407a49
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00407749
mov esi, eax
test esi, esi
jne 0x407a67
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.00407809
mov dword [esp + 0x18], eax
test eax, eax
je 0x407a5f
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.00407809
mov dword [esp + 0x34], eax
test eax, eax
je 0x407a5f
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.00407809
mov dword [esp + 0x28], eax
test eax, eax
je 0x407a5f
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.00407809
mov dword [esp + 0x30], eax
test eax, eax
je 0x407a5f
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x407c2e
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x407c2e
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x407b91
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x407c12
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x407bb4
movzx esi, ax
jmp 0x407bb9
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x407bd8
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x407be7
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x407c3b
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x407ba9
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x407b6e
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x407c64
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x407c64
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x407c49
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x407c79
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00407749
mov esi, eax
test esi, esi
je 0x407d35
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00407809
mov ebp, eax
test ebp, ebp
je 0x407d34
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00407809
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x407d34
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x407d34
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x407d33
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x407d19
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4127c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a0f8b
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.00495b75
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412842
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004938b7
mov eax, dword [eax]
push 0x4d7cac
push eax
call fcn.00485844
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00495e00
test bl, bl
je 0x412842
push 0x4d7cac
lea ecx, [esp + 0xc]
call fcn.00496190
push 0x4d7cb8
lea ecx, [esp + 0xc]
call fcn.00496190
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 0x41287e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00495e00
jmp 0x412949
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 0x412902
lea edx, [esp + 0x7c]
push 0x4d7cb4
push edx
call fcn.00485844
add esp, 8
test eax, eax
je 0x412902
lea eax, [esp + 0x7c]
push 0x4d7cb0
push eax
call fcn.00485844
add esp, 8
test eax, eax
je 0x412902
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 0x412892
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.00495e00
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 0x413150
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 0x4131b2
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