joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404f20
Capabilities:
Print debug messages

Disassembly:
jmp 0x46381a
push esi
mov esi, ecx
call fcn.00416d20
mov eax, 0x400000
mov dword [esi], 0x38
lea ecx, [esi + 0x14]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0xe00
mov dword [esi + 0x10], 0x531624
call fcn.00401880
test eax, eax
jns 0x463869
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x463862
push str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x55ca58], 1
mov eax, esi
pop esi
ret

Function at 0x406e30
Capabilities:
Terminate thread

Disassembly:
jmp 0x45de70
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x45dee8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x45de8b
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
push 0x2bc
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45deb0
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test eax, eax
jne 0x45deb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 4]
mov dword [esi + 8], 0
test eax, eax
je 0x45ded5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0
mov eax, dword [esi]
test eax, eax
je 0x45dee8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x45def6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x10], 0
pop esi
ret

Function at 0x40ac00
Capabilities:
Terminate process

Disassembly:
jmp 0x4c5804
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x4c5815
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403420
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40cb10
Capabilities:
Check if file exists
Delete file

Disassembly:
jmp 0x462460
call fcn.0040f480
test eax, eax
je 0x4624b8
cmp byte [0x55d2f8], 0
je 0x4624b8
push 0x55d2f8
call fcn.00401050
add esp, 4
test al, al
je 0x4624b8
push esi
push 0x55d2f8
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 2
sete cl
or ecx, esi
pop esi
je 0x4624b9
push 0x104
push 0
push 0x55d2f8
call fcn.00408650
add esp, 0xc
ret
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x40fc30
Capabilities:
Parse pe header

Disassembly:
jmp 0x48cef7
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48cf37
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48cf37
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48cf37
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48cf37
cmp dword [ecx + 0x74], 0xe
jbe 0x48cf37
cmp dword [ecx + 0xe8], 0
je 0x48cf37
mov al, 1
ret
xor al, al
ret
Function at 0x414250
Capabilities:
Create thread
Set registry value

Disassembly:
jmp fcn.0045e090
jmp 0x45f360
call fcn.0040f480
test eax, eax
jne 0x45f36a
ret
mov ecx, 0x55d058
jmp 0x407a70

Function at 0x414d40
Capabilities:
Query environment variable

Disassembly:
jmp 0x50851e
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x508532
xor edi, edi
jmp 0x508569
push ebx
push esi
call fcn.00508428
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040cdf0
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x508559
push ebx
push esi
push edi
call fcn.004154e0
add esp, 0xc
push 0
call fcn.00403b70
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x41c710
Capabilities:
Allocate thread local storage

Disassembly:
jmp fcn.004ae1b3
jmp 0x499d01
call fcn.0040c5e0
call fcn.0041b980
mov dword [0x55ddf0], eax
jmp 0x40a680
Function at 0x4409e0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d200
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5588a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
je 0x440b8b
nop dword [eax]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00402f20
cmp dword [ebp - 0x14], 0
jne 0x440b7f
cmp dword [ebx + 8], 0x71c71c7
je 0x440b9f
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.004173d0
mov ecx, dword [esi]
lea edx, [esi + 4]
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [edi + 8], ecx
lea ecx, [edi + 0xc]
push edx
call fcn.00413530
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x52d020]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x52d020]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
seta al
test al, al
je 0x440b22
mov ecx, ebx
call fcn.004049f0
push dword [ebp - 0x10]
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00402f20
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
jmp 0x440b25
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
jne 0x440b61
mov dword [ecx + eax*8], edi
jmp 0x440b74
cmp dword [ecx + eax*8], edx
jne 0x440b6b
mov dword [ecx + eax*8], edi
jmp 0x440b78
mov edx, dword [ebp - 0x2c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x440b78
mov dword [ecx + eax*8 + 4], edi
mov dword [ebp - 4], 0xffffffff
add esi, 0x1c
cmp esi, dword [ebp + 0xc]
jne 0x440a20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00416710
int3
Function at 0x440c20
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51d240
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x5588a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov esi, dword [ebp + 8]
cmp esi, dword [ebp + 0xc]
je 0x440dcb
nop dword [eax]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00419db0
cmp dword [ebp - 0x14], 0
jne 0x440dbf
cmp dword [ebx + 8], 0x71c71c7
je 0x440ddf
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.004173d0
mov ecx, dword [esi]
lea edx, [esi + 4]
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x1c], edi
mov dword [edi + 8], ecx
lea ecx, [edi + 0xc]
push edx
call fcn.00413530
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x52d020]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x52d020]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
seta al
test al, al
je 0x440d62
mov ecx, ebx
call fcn.00406950
push dword [ebp - 0x10]
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00419db0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
jmp 0x440d65
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x1c], 0
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
jne 0x440da1
mov dword [ecx + eax*8], edi
jmp 0x440db4
cmp dword [ecx + eax*8], edx
jne 0x440dab
mov dword [ecx + eax*8], edi
jmp 0x440db8
mov edx, dword [ebp - 0x2c]
cmp dword [ecx + eax*8 + 4], edx
jne 0x440db8
mov dword [ecx + eax*8 + 4], edi
mov dword [ebp - 4], 0xffffffff
add esi, 0x1c
cmp esi, dword [ebp + 0xc]
jne 0x440c60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00416710
int3
Function at 0x5e970f
Capabilities:
Encode data using xor

Disassembly:
lodsb al, byte [esi]
in al, dx
inc eax
mov esi, 0x313e3496
insd dword es:[edi], dx
sbb eax, 0xa84e48a4
sub byte [edi], ch
movsb byte es:[edi], byte [esi]
dec eax
dec esi
test al, 0x28
das
pop ebp
sub al, 0x2c
test dword [esi - 0x58], 0x2c5d2f20
jbe 0x5e962e
push esp
push ds
and byte [ecx], dh
pop ebp
sbb eax, 0x2c5d3e77
sub eax, 0xac77208f
pop ebp
sub al, 0xf3
sub eax, 0xac77208f
pop ecx
sub al, 0xc2
mov dword [0x2ef32c43], eax
les eax, [ebx]
push es
jbe 0x5e9648
pop ss
mov dh, 0xcb
bound esp, qword [eax]
xor esi, edi
inc ecx
pushfd
call 0x2f51c3ca
lds esp, [ecx - 0x65]
jns 0x5e9624
xor al, 0xc9
pushfd
pop ebp
sub al, 0x14
clc
add cl, byte [edx + ecx + 0x2e]
xor eax, 0xb36450b8
dec ebp
jl 0x5e9666
lodsb al, byte [esi]
in al, dx
inc eax
mov esi, 0x313e3496
insd dword es:[edi], dx
sbb eax, 0xa84e48a4
int3
dec esi
test al, 0xc4
pop ebp
sub al, 6
jbe 0x5e968c
sub al, 0xf2
mov dh, 0xcb
bound esp, qword [eax]
xor esi, edi
inc ecx
pushfd
hlt
pop ebp
sub al, 0xf3
in eax, 0xc6
wait
jns 0x5e967c
sub al, 0xf3
pop ebp
xor al, 0x93
wait
pop ebp
sub al, 0xb6
int 0x61
popal
wait
jns 0x5e968c
sbb eax, 0x2c5d3978
in eax, 0xc6
wait
jns 0x5e9698
sub al, 0xf3
pop ebp
jmp 0x45bf4ef6
invalid
invalid
pushal
inc ebp
or byte [eax - 0x490dbaa0], bh
push ds
xor edi, dword [esi]
xor esi, edi
xchg edi, eax
mov bl, 0x3e
rcr dword [esi], 0xf3
pop ebp
inc ebp
xchg esp, eax
inc ebp
mov dl, 0xf3
jle 0x5e9763
test dword [esi + 0x121a8a18], esi
clc
add ebp, dword [eax]
jae 0x5e96d5
jae 0x5e96d5
aaa
ja 0x5e96c0
inc ebp
sub al, 0xc2
mov dword [0x2ef32c4b], eax
adc eax, 0x5d2ef32b
pop ebp
xor edx, edx
pop ebp
sub al, 0xa
xor eax, 0xb3799ced
dec ebp
js 0x5e971f
dec esi
test al, 0xc1
pop ebp
sub al, 0xa
xlatb
adc al, 0x1d
das
lea ebp, [0x5264e64b]
lds ecx, [ebp + 0x2ef7ea04]
sbb byte [edx - 0x7f47ede6], cl
and al, 4
pop es
fisubr dword [0xecc72ef3]
ret 0xbca2

Function at 0x5e9e9d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5e9f3b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5e9f3b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5e9f3b
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5e9f3b
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d1e85]
pop edi
test eax, eax
jne 0x5e9f2e
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d1e85]
pop edi
test eax, eax
je 0x5e9f3b
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4
Function at 0x5e9fc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea06c
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5ea001
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d1e85]
pop edi
pop ecx
test eax, eax
je 0x5ea05f
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5ea03f
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5ea054
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5e9fe8
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5ea073
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5ea28d
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea307
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005ea232
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d30bb]
pop edi
test eax, eax
jne 0x5ea2fd
pop ecx
jmp 0x5ea30e
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5ea2b6
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5ea4b4
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5ea608
cmp dword [ebp + 0xc], 0
jne 0x5ea608
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5ea4fb
sub eax, dword [ebp + 0x10]
js 0x5ea608
je 0x5ea608
cmp eax, dword [ebp + 0x14]
jl 0x5ea608
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5ea608
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5ea608
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d1e85]
pop edi
test eax, eax
je 0x5ea608
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ae86b]
push eax
call fcn.005e951c
pop edi
test eax, eax
je 0x5ea608
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124ae86f]
push eax
call fcn.005e951c
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5ea5fb
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5ea608
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5ea5e8
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5ea5b6
push dword [ebp + 8]
call fcn.005eb3aa
jmp 0x5ea60f
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5ea99a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5eaa89
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5eaa89
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5eaa35
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5eaa89
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124ae9cb]
pop edi
pop ecx
test eax, eax
jne 0x5ea9ee
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5eaa3b
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5eaa89
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5eaa89
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5eaa89
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5eaa89
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005ea8e3
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x40100a
Capabilities:
Hide graphical window

Disassembly:
jmp 0x401c30
sub esp, 0xc
mov edx, dword [str.f2npmsW8GlatqcSYCpSrlQzGzQhHdbUtUKIxkDcFyF3B79TaWJEsiFHDQWu1De6W]
push ebx
mov ebx, dword [0x41ed44]
push ebp
push esi
movsx esi, byte [edx]
mov eax, esi
test eax, eax
push edi
mov dword [esp + 0x10], ebx
mov ecx, edx
je 0x401c67
mov edi, dword [esp + 0x10]
imul edi, edi, 0x21
inc ecx
add edi, eax
movsx eax, byte [ecx]
test eax, eax
mov dword [esp + 0x10], edi
jne 0x401c52
mov eax, esi
test eax, eax
mov ecx, ebx
mov edi, edx
je 0x401c7e
imul ecx, ecx, 0x21
inc edi
add ecx, eax
movsx eax, byte [edi]
test eax, eax
jne 0x401c71
add ecx, 0xc6f4ea35
mov eax, esi
test eax, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebx
mov ecx, edx
je 0x401ca9
mov edi, dword [esp + 0x14]
imul edi, edi, 0x21
inc ecx
add edi, eax
movsx eax, byte [ecx]
test eax, eax
mov dword [esp + 0x14], edi
jne 0x401c94
mov eax, esi
test eax, eax
mov ebp, ebx
mov ecx, edx
je 0x401cc0
imul ebp, ebp, 0x21
inc ecx
add ebp, eax
movsx eax, byte [ecx]
test eax, eax
jne 0x401cb3
mov eax, esi
test eax, eax
mov edi, ebx
mov ecx, edx
je 0x401cdd
lea ebx, [ebx]
imul edi, edi, 0x21
inc ecx
add edi, eax
movsx eax, byte [ecx]
test eax, eax
jne 0x401cd0
mov eax, esi
test eax, eax
mov ecx, ebx
je 0x401cf2
imul ecx, ecx, 0x21
inc edx
add ecx, eax
movsx eax, byte [edx]
test eax, eax
jne 0x401ce5
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi - 0x390b1607]
add edx, dword [esp + 0x18]
mov eax, dword [edx + esi]
mov edx, dword [esp + 0x14]
add eax, esi
mov edx, dword [eax + edx - 0x390b162b]
mov ebp, dword [eax + ebp - 0x390b1627]
mov edi, dword [eax + edi - 0x390b1623]
mov eax, dword [ecx + eax - 0x390b161f]
add eax, esi
add ebp, esi
add edi, esi
xor ebx, ebx
test edx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
jbe 0x401d73
mov edi, edi
mov eax, dword [edi + ebx*4]
movsx ecx, byte [eax + esi]
mov edx, dword [0x41ed44]
add eax, esi
test ecx, ecx
je 0x401d60
imul edx, edx, 0x21
inc eax
add edx, ecx
movsx ecx, byte [eax]
test ecx, ecx
jne 0x401d53
cmp edx, dword [esp + 0x24]
je 0x401d6f
mov eax, dword [esp + 0x20]
inc ebx
cmp ebx, eax
jb 0x401d40
mov edx, dword [esp + 0x20]
cmp ebx, edx
jne 0x401d81
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
push 0
push 0
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + ebx*2]
mov eax, dword [ebp + ecx*4]
pop edi
add eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x401037
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hide graphical window

Disassembly:
jmp 0x401e00
push ecx
mov eax, dword [0x41ed50]
push ebx
push ebp
push esi
push edi
push eax
call fcn.00403df2
mov ecx, dword [0x41ed4c]
push ecx
mov ebx, eax
call fcn.00403df2
mov esi, eax
mov eax, dword [0x41ed54]
add esp, 8
xor ebp, ebp
xor ecx, ecx
test eax, eax
jbe 0x401e5f
mov eax, esi
sub eax, ebx
mov dword [esp + 0x10], eax
jmp 0x401e40
mov eax, dword [esp + 0x10]
mov edi, edi
lea edi, [ecx + ebx]
mov byte [eax + edi], cl
mov eax, ecx
cdq
idiv dword [esp + 0x24]
mov eax, dword [esp + 0x20]
inc ecx
mov dl, byte [edx + eax]
mov byte [edi], dl
cmp ecx, dword [0x41ed54]
jb 0x401e3a
mov eax, dword [0x41ed58]
xor edi, edi
test eax, eax
jbe 0x401eaa
mov eax, ebx
sub eax, esi
mov ecx, esi
mov dword [esp + 0x10], eax
jmp 0x401e80
mov eax, dword [esp + 0x10]
lea ebx, [ebx]
movzx edx, byte [eax + ecx]
mov bl, byte [ecx]
add edx, ebp
movzx eax, bl
add eax, edx
xor edx, edx
div dword [0x41ed5c]
inc edi
inc ecx
mov ebp, edx
mov al, byte [esi + ebp]
mov byte [esi + ebp], bl
mov byte [ecx - 1], al
cmp edi, dword [0x41ed58]
jb 0x401e76
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
test ecx, ecx
jle 0x401f2f
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
sub eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
jmp 0x401ed0
xor edx, edx
lea eax, [edi + 1]
div dword [0x41ed60]
push 0
push 0
mov edi, edx
mov cl, byte [edi + esi]
movzx eax, cl
add eax, ebx
xor edx, edx
div dword [0x41ed64]
mov ebx, edx
mov al, byte [ebx + esi]
mov byte [ebx + esi], cl
mov byte [edi + esi], al
call dword [sym.imp.USER32.dll_ShowWindow]
movzx ecx, byte [ebx + esi]
movzx eax, byte [edi + esi]
add eax, ecx
xor edx, edx
div dword [0x41ed68]
mov eax, dword [esp + 0x10]
mov cl, byte [eax + ebp]
mov eax, dword [esp + 0x1c]
mov dl, byte [edx + esi]
xor dl, cl
mov byte [ebp], dl
inc ebp
dec eax
mov dword [esp + 0x1c], eax
jne 0x401ed0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret