joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d660
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 0xc]
mov dword [esi], 0
xorps xmm0, xmm0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
movups xmmword [ecx], xmm0
push 0x4b25ae
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004ae170
mov dword [ebp - 4], 0
lea ecx, [esi + 0x4c]
mov dword [esi + 0x24], 0
xorps xmm0, xmm0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xff
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
push 0
movups xmmword [ecx], xmm0
push 0x4b25ae
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004ae170
mov byte [ebp - 4], 1
lea edi, [ebp - 0x1c]
lea edx, [ebp - 0x40]
mov dword [esi + 0x64], 0
mov ecx, edi
mov dword [esi + 0x68], 0
sub ecx, edx
mov dword [ebp - 0x20], 0
lea eax, [esi + 0x6c]
sar ecx, 2
mov dword [ebp - 0x14], eax
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
test ecx, ecx
je 0x40d7bf
cmp ecx, 0x3fffffff
ja 0x40d7dc
push ecx
mov ecx, eax
call fcn.004ae8d0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
sub edi, eax
push edi
push eax
mov esi, dword [esi]
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [ebp - 0x14]
add esp, 0xc
sar edi, 2
lea ecx, [esi + edi*4]
mov esi, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret
call fcn.004ae7a0
int3
Function at 0x41d040
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x4bdcc4]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 1
jb 0x41d255
cmp dword [0x4bdcc8], 0xf
mov eax, 0x4bdcb4
push 1
cmova eax, dword [0x4bdcb4]
push 0x4b2a38
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.004ae690
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x44]
call fcn.00441cd0
mov ecx, eax
add esp, 4
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x10]
sub eax, edx
cmp eax, 4
jb 0x41d0e5
cmp dword [ecx + 0x14], 0xf
lea eax, [edx + 4]
mov dword [ecx + 0x10], eax
mov eax, ecx
jbe 0x41d0d7
mov eax, dword [ecx]
mov dword [eax + edx], 0x6766632e
mov byte [eax + edx + 4], 0
jmp 0x41d0fc
push 4
push str..cfg
mov byte [ebp - 0x14], 0
push dword [ebp - 0x14]
push 4
call fcn.004ae2c0
mov ecx, eax
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
movups xmm0, xmmword [ecx]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
cmp dword [ebp - 0x18], 0xf
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov ecx, dword [ebp - 0x18]
add esp, 4
cmp ecx, 0xf
jbe 0x41d17c
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d172
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d1f6
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x41d1be
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d1b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d1f6
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x41d206
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d1fc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d1fc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x41d23c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41d232
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41d232
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004af678
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret
call fcn.00401630
int3
Function at 0x43fa10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x43fa3c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x43fa64
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x43fa6a
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, ecx
cdq
mov dword [esp + 0x10], eax
mov ecx, edx
mov dword [esp + 0x14], ecx
test edi, edi
jl 0x43fad2
jg 0x43fa81
test esi, esi
je 0x43fad2
test ecx, ecx
jl 0x43facd
jg 0x43fa8b
test eax, eax
je 0x43facd
cmp edi, ecx
jg 0x43fa9f
jl 0x43fa95
cmp esi, eax
jae 0x43fa9f
mov eax, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x14]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x43fad5
mov ecx, dword [ebp + 8]
jmp 0x43fadf
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x43faf9
jg 0x43fadf
test esi, esi
je 0x43faf9
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x43faf9
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43fb10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test eax, eax
jg 0x43fb3c
jl 0x43fb30
test ecx, ecx
jne 0x43fb3c
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x43fb55
push eax
push ecx
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x43fba3
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 0xc], edx
mov eax, dword [eax]
test eax, eax
je 0x43fba9
mov edi, dword [ebp - 4]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push dword [ebp - 8]
push edi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [ebp - 4], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp - 4]
jmp 0x43fba9
lea eax, [ebx + 0x2c]
mov dword [ebp - 0xc], eax
cmp dword [ebx + 0x4c], 0
je 0x43fc16
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x43fbd2
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp edi, 0xfff
jbe 0x43fc04
nop
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
add esp, 0x10
add esi, eax
sub edi, eax
cmp eax, 0xfff
jne 0x43fc16
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x43fbe0
test edi, edi
je 0x43fc16
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ff90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x43ffc0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x43fffc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x43fffc
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4400d3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x440024
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x440030
movsx eax, bl
jmp 0x440068
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
sub eax, 0
je 0x440092
sub eax, 1
je 0x440092
sub eax, 2
jne 0x4400d3
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4400b0
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4400d3
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004af21a
mov esp, ebp
pop ebp
ret 4
Function at 0x4410b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x44116c
cmp byte [esi + 0x3d], 0
je 0x44116c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x44115a
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x441121
sub eax, 1
je 0x441125
sub eax, 2
jne 0x44115a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x441143
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x44115a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.004af21a
mov esp, ebp
pop ebp
ret
Function at 0x4ad890
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b134d
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.004af2e2
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x4af080
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x4ad912
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x4aff2e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4aff6d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4aff6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4aff6d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4aff6d
cmp dword [ecx + 0x74], 0xe
jbe 0x4aff6d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x1bcc4cad
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x596900e5
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..reloc
mov ebx, 0x40de38
nop
nop
mov ecx, 0x70e57df2
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x677c3a76
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219

Function at 0xe9ca2c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe9ca36
pushal
call 0xe9ca3c
pop ebp
sub ebp, 0x10
sub ebp, 0xa9ca2c
jmp 0xe9ca52
mov eax, 0xa9ca2c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5b3
mov edx, 0x9097cda0
xor byte [eax], dl
inc eax
dec ecx
jne 0xe9ca69
jmp 0xe9ca7c
sub ebp, dword [ebp + 0x2b]
sub dword [eax + 0x6121a0a0], ebx
pop eax
mov al, byte [0x6da3a0a0]
sbb byte [ebp + 0x1aa0a0a0], ah
mov byte [eax + 0x4257a0a0], ah
mov dword [0xac212b68], eax
mov al, byte [0x65a3a0a0]
invalid
Function at 0x4012bc
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
cmp esi, 1
jl 0x4012cd
cmp esi, 9
jle 0x4012d8
push str.Invalid_compression_level
call fcn.004052b4
pop ecx
mov edi, 0x10000
xor ebx, ebx
push edi
push ebx
push 0x44eeb0
mov dword [0x4324e8], esi
call fcn.00428300
mov eax, esi
add esp, 0xc
shl eax, 3
cmp esi, 1
movzx ecx, word [eax + 0x42f07a]
mov dword [0x4324d4], ecx
movzx ecx, word [eax + 0x42f078]
mov dword [0x4324ec], ecx
movzx ecx, word [eax + 0x42f07c]
movzx eax, word [eax + 0x42f07e]
mov dword [0x4324e0], ecx
mov dword [0x4324e4], eax
jne 0x40133a
mov eax, dword [esp + 0x14]
or byte [eax], 4
jmp 0x401346
cmp esi, 9
jne 0x401346
mov eax, dword [esp + 0x14]
or byte [eax], 2
push edi
push 0x45eeb0
mov dword [0x4324d0], ebx
mov dword [0x4324f4], ebx
call dword [0x4324c8]
pop ecx
cmp eax, ebx
pop ecx
mov dword [0x4324f8], eax
je 0x4013ba
cmp eax, 0xffffffff
je 0x4013ba
mov esi, 0x106
mov dword [0x4324dc], ebx
cmp eax, esi
jae 0x401392
cmp dword [0x4324dc], ebx
jne 0x401392
call fcn.0040150b
cmp dword [0x4324f8], esi
jb 0x40137d
xor eax, eax
xor ecx, ecx
movzx edx, byte [ecx + 0x45eeb0]
and eax, 0x3ff
and edx, 0x7fff
shl eax, 5
xor eax, edx
inc ecx
cmp ecx, 2
jb 0x401396
mov dword [0x4324d8], eax
jmp 0x4013ca
mov dword [0x4324dc], 1
mov dword [0x4324f8], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x40521c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40523d
call fcn.00405411
mov eax, dword [0x482bcc]
mov ecx, dword [0x4836e4]
add eax, dword [ebp + 0x10]
mov dword [0x482bcc], eax
lea edx, [eax - 0x8400]
cmp edx, ecx
jle 0x405276
cmp byte [0x48376e], 0
je 0x405276
sub eax, ecx
push eax
call fcn.0041742a
mov eax, dword [0x482bcc]
pop ecx
mov dword [0x4836e4], eax
pop ebp
ret

Function at 0x405acb
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, 0x482770
push edi
push 0x9c
mov ecx, esi
call fcn.0041fac3
push 0xa0
mov ecx, esi
mov dword [ebp - 0x10], eax
call fcn.0041fac3
push 0xa4
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.0041fac3
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
and byte [ebp - 1], 0
mov edi, eax
mov ebx, 0x3ff
lea ecx, [ebp - 0x2c]
shr ax, 0xa
and edi, ebx
mov dword [ebp - 0x20], eax
call fcn.0041ef35
and dword [ebp - 8], 0
cmp dword [ebp - 0x10], 0
jbe 0x405c06
push 8
push esi
mov ecx, 0x482bc0
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041fd49
test eax, eax
jl 0x405c06
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041fac3
push 8
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xc], eax
call fcn.0041fac3
lea eax, [eax + esi + 8]
mov ecx, 0x482bc0
push eax
call fcn.0041ff07
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041fd49
push 0
lea ecx, [ebp - 0x2c]
call fcn.0041fac3
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
call fcn.0041fac3
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
and dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], eax
cmp di, word [ebp - 0xc]
lea esi, [esi + ecx + 4]
je 0x405bbf
cmp byte [ebp - 1], 0
jne 0x405bf7
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jne 0x405bf7
cmp dword [0x482a9c], 0
mov byte [ebp - 1], 1
je 0x405bde
push dword [ebp - 8]
mov ecx, 0x482408
call fcn.00417c4f
mov eax, dword [ebp - 0x18]
jmp 0x405be7
mov ecx, dword [ebp - 0x1c]
mov dword [0x482ac4], ecx
cmp di, word [ebp - 0xc]
jne 0x405bf7
shr ax, 0xa
cmp word [ebp - 0x20], ax
je 0x405c06
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x405b35
lea ecx, [ebp - 0x2c]
call fcn.0041f06b
pop edi
pop esi
pop ebx
leave
ret