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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7f65
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100ba008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.1009d3a0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009cc7a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1009cdc0
cmp dword [ebx + 8], 0xfffffff
jne 0x1009cc8e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.1009df72
mov ecx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov byte [esi + 0xc], 0
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b0290]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b0290]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1009cd73
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.1009f1e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1009cd55
cmp eax, 0x200
jae 0x1009cd53
shl eax, 3
cmp eax, ecx
jae 0x1009cd55
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10073040
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1009d3a0
mov edx, dword [eax]
jmp 0x1009cd76
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1009cda1
mov dword [ecx + eax*8], esi
jmp 0x1009cdb3
cmp ebx, edx
jne 0x1009cdaa
mov dword [ecx + eax*8], esi
jmp 0x1009cdb7
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1009cdb7
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
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
Function at 0x1009d410
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a7f65
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100ba008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.1009d3a0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009d49a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1009d5e2
cmp dword [ebx + 8], 0xfffffff
jne 0x1009d4ae
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.1009df72
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b0290]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100b0290]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1009d595
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.1009f1e0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1009d577
cmp eax, 0x200
jae 0x1009d575
shl eax, 3
cmp eax, ecx
jae 0x1009d577
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10073040
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.1009d3a0
mov edx, dword [eax]
jmp 0x1009d598
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1009d5c3
mov dword [ecx + eax*8], esi
jmp 0x1009d5d5
cmp ebx, edx
jne 0x1009d5cc
mov dword [ecx + eax*8], esi
jmp 0x1009d5d9
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1009d5d9
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
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
Function at 0x409961
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417344]
jne 0x40996b
repz ret
jmp fcn.0040e40c

Function at 0x41263c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040c202
and dword [ebp - 0x14], 0
cmp dword [0x4682ec], 0
mov dword [ebp - 0x18], eax
jne 0x4126ef
push 0x403754
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x412797
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403748
push ebx
call edi
test eax, eax
je 0x412797
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403738
push ebx
mov dword [0x4682ec], eax
call edi
push eax
call esi
push 0x403724
push ebx
mov dword [0x4682f0], eax
call edi
push eax
call esi
push 0x403708
push ebx
mov dword [0x4682f4], eax
call edi
push eax
call esi
mov dword [0x4682fc], eax
test eax, eax
je 0x4126ef
push 0x4036f0
push ebx
call edi
push eax
call esi
mov dword [0x4682f8], eax
mov eax, dword [0x4682f8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x412748
cmp dword [0x4682fc], ecx
je 0x412748
push eax
call esi
push dword [0x4682fc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x412748
test ebx, ebx
je 0x412748
call edi
test eax, eax
je 0x41273f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41273f
test byte [ebp - 8], 1
jne 0x412748
or dword [ebp + 0x10], 0x200000
jmp 0x41277b
mov eax, dword [0x4682f0]
cmp eax, dword [ebp - 0x18]
je 0x41277b
push eax
call esi
test eax, eax
je 0x41277b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41277b
mov eax, dword [0x4682f4]
cmp eax, dword [ebp - 0x18]
je 0x41277b
push eax
call esi
test eax, eax
je 0x41277b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4682ec]
call esi
test eax, eax
je 0x412797
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x412799
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409961
leave
ret
Function at 0x4145d0
Capabilities:
Delete directory
Delete file
Get disk information
Read .ini file

Disassembly:
mov eax, 0x1400
call fcn.00413c10
cmp dword [0x808444], 0x37
jne 0x414653
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x403f58
call edi
push 0
lea eax, [esp + 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40401c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapePosition]
push 0x404048
call edi
push 0
lea edx, [esp + 0xc08]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
pop edi
mov eax, dword [0x809028]
mov edx, dword [0x8054a4]
mov cl, byte [eax + esi + 0x38d6]
mov byte [edx + esi], cl
add esp, 0x1400
ret
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
mov ecx, 0x173e3fd0
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42cd70
nop
mov ecx, 0x403e77f5
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x114b0e5a
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3db473cd
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x734008], 0x8088405
inc edx
mov dword [ebx + 0x734008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d2ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d31d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d305
add dl, dl
jne 0x41d328
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d379
xor eax, eax
add dl, dl
jne 0x41d335
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d416
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d35a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d36f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d314
mov eax, 1
add dl, dl
jne 0x41d387
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d392
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d37e
sub eax, ebx
mov ebx, 1
jne 0x41d3c5
mov ecx, 1
add dl, dl
jne 0x41d3ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3b6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3a2
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d3dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3e7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3d3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d437
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d314
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f504
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x7179f2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f553
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
jmp 0x41f572
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f5e4
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f5cd
test esi, esi
jbe 0x41f5e4
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f5bf
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f5e4
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f59c
jmp 0x41f5e4
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f5e4
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7179f9
ret
Function at 0x420750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x718d6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0x73673c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0x73673c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0x735538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x718d72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x4120c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ax, word [0x455d34]
mov ecx, dword [0x43d860]
cwde
sar eax, 3
lea edx, [ecx + eax + 1]
xor edx, 0xb5facef3
cmp edx, 0xde7df9fa
jl 0x4120f5
mov eax, dword [0x440d98]
imul eax, eax, 0xa6f4aff2
mov dword [0x440d98], eax
push esi
mov ecx, 0x3ea0
push edi
mov edi, dword [ebp + 8]
mov word [0x459748], cx
mov ecx, dword [edi + 4]
sub ecx, 1
js 0x412121
mov edx, dword [edi + 8]
lea eax, [edx + ecx*4]
cmp dword [eax], 0
jne 0x412121
dec ecx
sub eax, 4
test ecx, ecx
jge 0x412114
mov esi, dword [ebp + 0xc]
mov eax, 0x1fef
mov word [0x4589ea], ax
mov eax, dword [esi + 4]
sub eax, 1
js 0x41214d
mov edx, dword [esi + 8]
lea edx, [edx + eax*4]
lea ecx, [ecx]
cmp dword [edx], 0
jne 0x41214d
dec eax
sub edx, 4
test eax, eax
jge 0x412140
mov edx, dword [0x438238]
push ebx
mov ebx, dword [0x444aa0]
xor edx, 0x5d75207b
cmp ebx, edx
jge 0x412181
mov edx, dword [0x4412e8]
movzx ebx, word [0x45310e]
add edx, 0x200c703b
imul ebx, edx
mov word [0x45310e], bx
pop ebx
test ecx, ecx
jge 0x41218e
test eax, eax
jl 0x4122d8
inc dword [0x44584c]
mov edx, dword [0x44584c]
imul edx, edx, 0xb5441335
cmp edx, 0xb8fcfeb3
jge 0x4121bc
movzx edx, word [0x452760]
add edx, 0x48000204
mov word [0x452760], dx
cmp ecx, eax
jle 0x4121c6
mov eax, dword [edi]
pop edi
pop esi
pop ebp
ret
mov edx, dword [0x436b0c]
imul edx, edx, 0xdc00eb8d
cmp eax, ecx
mov dword [0x436b0c], edx
jle 0x4121e4
mov eax, dword [edi]
pop edi
neg eax
pop esi
pop ebp
ret
and dword [0x44c360], 0x5f4bfdba
cmp dword [edi], 0
jle 0x412201
cmp dword [esi], 0
jge 0x412201
pop edi
mov eax, 1
pop esi
pop ebp
ret
movzx eax, word [0x4543d4]
add eax, 0x2a29114
mov word [0x4543d4], ax
cmp dword [esi], 0
jle 0x412224
cmp dword [edi], 0
jge 0x412224
pop edi
or eax, 0xffffffff
pop esi
pop ebp
ret
mov edx, 0x3412
mov word [0x45558e], dx
test ecx, ecx
jl 0x4122c6
jmp 0x412240
mov eax, dword [0x43a260]
cmp eax, 0xf19f866f
jg 0x41225e
mov edx, dword [0x44608c]
imul edx, edx, 0xd4450cf0
mov dword [0x44608c], edx
mov edx, dword [edi + 8]
mov eax, dword [esi + 8]
mov edx, dword [edx + ecx*4]
cmp edx, dword [eax + ecx*4]
ja 0x4121c0
mov ax, word [0x45360a]
movsx edx, ax
mov eax, dword [0x442464]
not eax
imul eax, edx
movzx edx, word [0x450a4a]
and eax, 0xfef446a4
add edx, eax
mov word [0x450a4a], dx
mov edx, dword [edi + 8]
mov eax, dword [esi + 8]
mov edx, dword [edx + ecx*4]
cmp edx, dword [eax + ecx*4]
jb 0x4121dc
movzx eax, word [0x451104]
imul eax, eax, 0x2917000
sub ecx, 1
mov word [0x451104], ax
jns 0x412240
mov ecx, dword [0x43e7dc]
imul ecx, ecx, 0x706e901
mov dword [0x43e7dc], ecx
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x416800
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ax, word [0x451218]
cwde
sub esp, 0x14
or eax, 0xcc3279ee
sub dword [0x43dabc], eax
push edi
mov edi, ecx
call fcn.00409db0
test al, al
jne 0x416a3e
mov ecx, dword [0x441104]
mov edx, 0x5f284719
sub edx, ecx
mov word [0x44fae0], dx
mov eax, dword [0x43a230]
or eax, 0xea6edb1c
push esi
mov dword [0x447c70], eax
lea ecx, [ebp - 0x14]
call fcn.0041c3f0
xor dword [0x4413fc], 0xdff7feff
movzx ecx, word [0x456cea]
sub ecx, 0x48501491
mov word [0x456cea], cx
mov ecx, edi
call fcn.00425d00
mov ecx, edi
mov esi, eax
call fcn.00402010
cmp esi, eax
je 0x41694d
lea ebx, [ebx]
movzx edx, word [0x457ec4]
xor edx, 0x57c717fe
mov ecx, esi
mov word [0x457ec4], dx
call fcn.00410070
push eax
call dword [0x459eb4]
test eax, eax
je 0x41691d
dec dword [0x43ec64]
mov eax, dword [0x43ec64]
xor eax, 0x30819807
or eax, 0x413c0468
cmp eax, 0x6455d836
je 0x4168de
mov dword [0x44a6ec], 0xea0b1836
jmp 0x4168fb
mov cx, word [0x450570]
mov edx, dword [0x443554]
movsx eax, cx
sub eax, edx
sub eax, 0x7563542a
mov word [0x450570], ax
push esi
lea ecx, [ebp - 0x14]
call fcn.0040f4b0
mov eax, dword [0x44d774]
mov ecx, dword [0x438c04]
or eax, 0xbefc5651
imul ecx, eax
mov dword [0x438c04], ecx
mov dx, word [0x4516f2]
movsx eax, dx
sar eax, 6
cmp eax, 0xe4cafe4e
jge 0x41693b
add dword [0x43ba44], 0xc614567e
mov ecx, edi
add esi, 0x14
call fcn.00402010
cmp esi, eax
jne 0x416890
lea ecx, [ebp - 0x14]
mov dword [0x443974], 0x176157ca
call fcn.00408950
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0041f560
cmp esi, eax
je 0x4169b7
lea ecx, [ecx]
and dword [0x43e29c], 0x7fefffd6
push esi
mov ecx, edi
call fcn.00423be0
dec dword [0x43ecfc]
mov eax, dword [0x43ecfc]
movzx ecx, word [0x453a2a]
xor eax, 0xfdde74f7
or ecx, eax
or ecx, 0xd1de64c2
mov word [0x453a2a], cx
lea ecx, [ebp - 0x14]
add esi, 0x14
call fcn.0041f560
cmp esi, eax
jne 0x416970
mov dx, word [0x4538f6]
mov ecx, dword [0x43e7f0]
movsx eax, dx
sar eax, 1
imul eax, eax, 0x5f0e6cdb
add ecx, ecx
or ecx, eax
cmp ecx, 0x886a394e
pop esi
jl 0x4169e8
and dword [0x44cec4], 0x91504ab
jmp 0x416a36
mov edx, dword [0x43af98]
xor edx, 0xceed5973
cmp edx, 0x8dffafab
jg 0x416a21
mov eax, dword [0x4488c4]
mov ecx, dword [0x448ca0]
mov edx, dword [0x44336c]
shl eax, 0xa
add eax, 0xc230b2a4
add eax, ecx
add edx, eax
mov dword [0x448ca0], edx
jmp 0x416a36
mov ax, word [0x45785c]
cwde
sar eax, 0xa
add eax, 0x2a0ab3fe
xor dword [0x43f0cc], eax
lea ecx, [ebp - 0x14]
call fcn.00423d40
dec dword [0x442104]
mov cx, word [0x44f6ae]
mov edx, dword [0x442104]
inc word [0x44f6ae]
movsx eax, cx
imul edx, eax
cmp edx, 0x4c1eeedc
pop edi
jge 0x416a75
add dword [0x44cf40], 0x655522b7
mov esp, ebp
pop ebp
ret
and dword [0x43a2cc], 0x96d68274
mov esp, ebp
pop ebp
ret