joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ce550
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 4], edi
shl eax, cl
cmp edx, eax
ja 0x5ce6a5
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 8], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0047d930
mov edx, dword [edi + 4]
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov edx, dword [edx]
cmp edx, ebx
je 0x5ce680
mov ecx, edx
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul esi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor esi, eax
movzx eax, byte [ecx + 0xa]
imul esi, esi, 0x1000193
xor esi, eax
movzx eax, byte [ecx + 0xb]
imul esi, esi, 0x1000193
xor esi, eax
imul eax, esi, 0x1000193
mov esi, dword [edi + 0x18]
and esi, eax
mov eax, dword [edi + 0xc]
lea ebx, [eax + esi*8]
mov eax, dword [ebp - 8]
mov dword [ebp + 8], ebx
cmp dword [ebx], eax
jne 0x5ce603
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
jmp 0x5ce670
mov eax, dword [ebx + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x5ce63a
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp eax, ecx
je 0x5ce635
mov edi, dword [ecx + 4]
mov ebx, dword [ebp - 0xc]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov ebx, dword [ebp + 8]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov dword [ebx + 4], ecx
jmp 0x5ce66d
mov ebx, dword [ebx]
mov esi, eax
cmp ebx, eax
je 0x5ce650
mov eax, dword [eax + 4]
mov esi, eax
cmp edi, dword [eax + 8]
je 0x5ce689
cmp ebx, eax
jne 0x5ce642
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov edi, dword [ebp - 4]
mov ecx, edx
cmp edx, dword [ebp - 8]
jne 0x5ce5b2
nop dword [eax + eax]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 4]
mov ebx, dword [eax]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x5ce66d
push str.invalid_hash_bucket_count
call fcn.0054c6a3
int3
Function at 0x5cf490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6de805
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x7ce134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0xc], edi
cmp dword [edi + 0x14], 0x10
jb 0x5cf4cd
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x5cf4f5
mov edx, dword [ebp + 0xc]
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x5cf4e0
mov edx, dword [ebp - 0x10]
push esi
push edi
lea eax, [ebp - 0x20]
mov ecx, edx
push eax
call fcn.005ab860
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x5cf515
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor cl, cl
jmp 0x5cf5fe
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x7ffffff
je 0x5cf614
add eax, 4
mov dword [ebp - 0x18], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.0054d1de
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax + 8], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
movups xmm0, xmmword [edi]
movups xmmword [eax + 8], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [eax + 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6eace0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6eace0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x5cf5e5
mov ecx, edi
call fcn.005ce8e0
mov eax, dword [ebp - 0x14]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.005ab860
mov ecx, dword [eax]
jmp 0x5cf5e8
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x14]
push ecx
push esi
mov ecx, edi
call fcn.005ce880
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov cl, 1
mov eax, dword [ebp + 8]
mov byte [eax + 4], cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.0054c6a3
int3
Function at 0x5cf620
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6de845
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7ce134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x5cf657
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x5cf675
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x5cf663
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.005ab860
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x5cf695
mov eax, dword [ebp + 8]
mov dword [eax], ecx
xor cl, cl
jmp 0x5cf74b
cmp dword [ebx + 8], 0x7ffffff
je 0x5cf762
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.0054d1de
add esp, 4
mov dword [ebp - 0x18], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 0xc], eax
push edi
call fcn.0046d3c0
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 + 0x6eace0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6eace0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x5cf732
mov ecx, ebx
call fcn.005ce8e0
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.005ab860
mov ecx, dword [eax]
jmp 0x5cf735
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.005ce880
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov cl, 1
mov eax, dword [ebp + 8]
mov byte [eax + 4], cl
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.0054c6a3
int3
Function at 0x5e8e70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d9e25
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x7ce134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x1c]
push ebx
push eax
call fcn.0057c0f0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x5e8f03
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
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
cmp dword [edi + 8], 0xfffffff
je 0x5e9060
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0054d1de
mov ecx, dword [ebx]
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [edi + 8]
mov ebx, dword [edi + 0x1c]
movss xmm3, dword [edi]
mov dword [ebp - 4], 1
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6eace0]
mov eax, ebx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x6eace0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x5e8fff
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x1c], xmm0
fld qword [ebp - 0x1c]
fstp qword [esp]
call fcn.00566ac0
fstp qword [ebp - 0x1c]
movsd xmm0, qword [ebp - 0x1c]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0054dcd0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp ebx, ecx
jae 0x5e8fde
cmp ebx, 0x200
jae 0x5e8fdc
shl ebx, 3
cmp ebx, ecx
jae 0x5e8fde
mov ebx, ecx
push ebx
mov ecx, edi
call fcn.0057e520
push dword [ebp + 0xc]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0057c0f0
mov ecx, dword [edi + 8]
mov edx, dword [eax]
jmp 0x5e9002
mov edx, dword [ebp - 0x1c]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi], edx
mov dword [esi + 4], ebx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x5e9030
mov dword [ecx + eax*8], esi
jmp 0x5e903f
cmp edi, edx
jne 0x5e9039
mov dword [ecx + eax*8], esi
jmp 0x5e9043
cmp dword [ecx + eax*8 + 4], ebx
jne 0x5e9043
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
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.0054c6a3
int3
Function at 0x5e9120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e053d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x7ce134]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [esi], vtable.google::protobuf::DynamicMessageFactory.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
call fcn.005e9070
push 0x30
lea eax, [esi + 0x30]
mov dword [esi + 0x2c], 0
push 0
push eax
call fcn.0054f8a0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40c5d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x210
mov ebx, dword [ebp + 8]
mov eax, dword [0x43300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x21a]
push 0x20a
push 0
push edi
call fcn.0040f9d0
add esp, 0xc
push ebx
call fcn.0040d0bb
add esp, 4
xor esi, esi
cmp eax, 0x104
ja 0x40c63e
mov esi, dword [ebp + 0xc]
push 0x104
push ebx
push edi
call fcn.0040d26d
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [esi], ecx
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040dac1
mov eax, esi
add esp, 0x210
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40e1f0
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x431bd8
call fcn.0040dc90
push 1
call fcn.0040d76f
pop ecx
test al, al
je 0x40e1ce
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0040d720
mov byte [ebp - 0x24], al
mov eax, dword [0x433a1c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x40e1ce
test eax, eax
jne 0x40e0ec
mov dword [0x433a1c], ecx
push 0x430730
push 0x430714
call fcn.00413ff9
pop ecx
pop ecx
test eax, eax
je 0x40e0cf
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x40e1be
push 0x430710
push 0x430708
call fcn.00413f9d
pop ecx
pop ecx
mov dword [0x433a1c], 2
jmp 0x40e0f1
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0040d752
pop ecx
call fcn.0040e303
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x40e122
push esi
call fcn.0040d68c
pop ecx
test al, al
je 0x40e122
mov esi, dword [esi]
push edi
push 2
push edi
mov ecx, esi
call dword [section..00cfg]
call esi
call fcn.0040e309
mov esi, eax
cmp dword [esi], edi
je 0x40e140
push esi
call fcn.0040d68c
pop ecx
test al, al
je 0x40e140
push dword [esi]
call fcn.00412e85
pop ecx
call fcn.00410142
mov edi, dword [eax]
call fcn.0041013c
mov esi, eax
call fcn.00413aba
push eax
push edi
push dword [esi]
call main
add esp, 0xc
mov esi, eax
call fcn.0040d904
test al, al
je 0x40e1d5
test bl, bl
jne 0x40e173
call fcn.00412e67
push 0
push 1
call fcn.0040d7a8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x40e1be
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push 7
call fcn.0040d964
push esi
call fcn.00412e3b
push dword [ebp - 0x20]
call fcn.00412e51
int3
call fcn.004c7000
jmp 0x40e062

Function at 0x41cb59
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041cda4

Function at 0x41f379
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f384
Function at 0x401000
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov al, byte [ecx]
and dword [esp + 0x18], 0
push ebx
push esi
mov byte [edx], al
lea eax, [edx + 1]
push edi
xor edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
xor ebx, ebx
lea eax, [ecx + 1]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
call fcn.004011b2
test eax, eax
je 0x401164
lea ecx, [esp + 0x18]
call fcn.004011b2
lea ecx, [esp + 0x18]
test eax, eax
je 0x4010d3
call fcn.004011b2
test eax, eax
je 0x401091
push 4
xor edi, edi
pop ebx
lea ecx, [esp + 0x18]
call fcn.004011b2
lea edi, [eax + edi*2]
dec ebx
jne 0x401063
mov edx, dword [esp + 0x1c]
test edi, edi
je 0x401084
mov eax, edx
sub eax, edi
mov al, byte [eax]
mov byte [edx], al
jmp 0x401087
mov byte [edx], 0
mov ebx, dword [esp + 0x10]
inc edx
jmp 0x401176
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, byte [eax]
mov ecx, esi
and ecx, 1
inc eax
add ecx, 2
shr esi, 1
mov dword [esp + 0x18], eax
je 0x4010c7
test ecx, ecx
je 0x40115f
mov edi, edx
sub edi, esi
mov al, byte [edi]
mov byte [edx], al
inc edx
inc edi
dec ecx
jne 0x4010b9
jmp 0x40115b
xor ebx, ebx
inc ebx
mov dword [esp + 0x10], ebx
jmp 0x40115f
jmp section..htext
mov dword [esp + 0x1c], edx
xor edi, edi
inc edi
jmp 0x40117c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov al, byte [ecx]
mov byte [edx], al
inc edx
inc ecx
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x1c], edx
test ebx, ebx
je 0x401033
sub edx, dword [esp + 0x14]
pop edi
pop esi
mov eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40120f
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x828], ax
push 0x400
xor edi, edi
lea eax, [ebp - 0x828]
push eax
mov ebx, edi
mov esi, edi
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x828]
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4012b0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.00401450
mov esi, eax
push 0
lea eax, [ebp - 0x24]
push eax
push ebx
push esi
push edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401298
cmp dword [ebp - 0x24], ebx
je 0x4012a9
mov ecx, esi
call fcn.00401460
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00401520
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401690
mov eax, dword [ebp - 0xc]
push 0x40
mov edi, dword [eax + 0x3c]
add edi, eax
push 0x3000
mov eax, dword [edi + 0x50]
mov dword [ebp - 8], eax
add eax, 0x18
add eax, ebx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x40142e
mov edx, dword [ebp - 0xc]
push 0x40
mov ecx, ebx
jmp 0x4413b8
mov ecx, dword [ebp - 0xc]
call fcn.00401460
mov ecx, esi
call fcn.00401460
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x1004dc90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1004dcbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1004dcbd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x64fb5c
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc eax, eax
dec ebp
xchg ebx, eax
xlatb
ror byte [ebp - 0x6d], 0xd7
loopne 0x400fc8
pushal
outsd dx, dword [esi]
cwde
call 0x5f48ce29
inc ebp
dec ebp
xchg edi, eax
and al, 0x67
xchg esi, eax
invalid
xor byte [ecx + 0x15], ah
dec edi
cmpsb byte [esi], byte es:[edi]
adc eax, 0x40fb4a9a
cdq
cdq
out 0x31, eax
pop esp
aaa
and bh, ch
push ecx
add eax, dword [edi - 0x4e]
jge 0x40105f
pop es
bound ecx, qword [ebx + eax]
sti
fcomp st(0)
inc esi
mov ah, 0x99
in eax, 0x36
popfd
mov byte [0xebffc3a], cl
pop edx
pop esi
and ebx, eax
and bh, byte [ebx - 0x32819ec8]
popal
jle 0x401050
cwde
cmovle edi, dword [esi + 0x2cbefb73]
sbb bh, cl
cwde
mov dword [eax], edx
push esp
movsd dword es:[edi], dword [esi]
andps xmm7, xmmword [ebx + 0x3bbb7fde]
cmp byte [ecx - 0x353cb3af], dh
inc esp
pop esi
jle 0x401024
pop es
jo 0x40104d
ret
Function at 0x100076d9
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
mov dword [0x102b1f94], 0x37a
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10008902
lea ecx, [0x1000781b]
mov edx, dword [0x102b1f94]
mov esi, dword [esp + 0x80]
mov dword [esp + 0x54], esi
add edx, 0xffffdcc0
mov dword [0x102b1f94], edx
mov dword [esp + 0x5c], 0x125600
mov edx, dword [0x102b1f80]
mov dword [esp + 0x68], edx
mov edx, dword [0x102b1f84]
mov dword [esp + 0x2c], edx
mov edx, dword [0x102b1f88]
mov dword [esp + 0x60], edx
mov edx, dword [0x102b1f8c]
mov dword [esp + 0x58], edx
mov edx, dword [0x102b1f90]
mov dword [esp + 0x44], edx
mov dword [0x102b1f98], 0x1a2
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x10007799
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x100077ad
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10007776
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x70], ecx
mov dword [0x102b1f94], 0xd16
mov edx, dword [esp + 0x14]
mov esi, dword [ecx + edx + 0x50]
add eax, 8
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [ecx], edx
mov esi, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10008795
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102b1f94], 0x4fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10007e65
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x102b1f98]
add edi, 0x1064
mov dword [0x102b1f94], edi
mov dword [0x102b1fa0], 0
mov byte [0x102b1fa4], 0
mov dword [0x102b1f98], 0x1215
mov dword [0x102b1f9c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x102b1f9c]
add eax, 1
mov dword [0x102b1f9c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007ebc
mov dword [0x102b1f94], 0x1408
mov dword [0x102b1f9c], 0
mov eax, dword [0x102b1f98]
add eax, 0xffffd9c5
mov dword [ebp - 0x20], eax
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
jmp 0x10007f10
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0xffffdcb5
mov esi, 0x100
mov edi, dword [0x102b1fa0]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x2c], eax
xor edi, edi
mov dword [ebp - 0x30], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x102b1fa0], edx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x2c]
mov bl, byte [esi + ebx]
mov byte [0x102b1fa4], bl
mov dword [0x102b1f98], ecx
mov bl, byte [esi + edx]
mov ecx, dword [ebp - 0x2c]
mov byte [esi + ecx], bl
mov edx, dword [0x102b1f94]
add edx, 0x2328
mov dword [0x102b1f94], edx
mov bl, byte [0x102b1fa4]
mov edx, dword [0x102b1fa0]
mov byte [esi + edx], bl
mov dword [0x102b1f98], 0x2f0
mov edx, dword [0x102b1f9c]
add edx, 1
mov dword [0x102b1f9c], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
jl 0x10007f10
mov dword [0x102b1f98], 0x2133
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret