joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411030
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x41104a
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x41107c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41107c
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
add esp, 0x28
ret 4
cmp dword [esi + 0x4c], 0
je 0x41114b
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x4110a4
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 0x4110b0
movsx eax, bl
jmp 0x4110f0
lea eax, [esp + 0x38]
mov byte [esp + 0xf], bl
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
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 0x411110
sub eax, 1
je 0x411110
sub eax, 2
jne 0x41114b
movsx eax, byte [esp + 0xf]
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
add esp, 0x28
ret 4
mov edi, dword [esp + 0x38]
lea eax, [esp + 0x14]
sub edi, eax
je 0x411130
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 0x41114b
lea ecx, [esp + 0xf]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x10], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
add esp, 0x28
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret 4

Function at 0x4112e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax + eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x411300
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
ret 4
Function at 0x4117d0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x411862
cmp byte [esi + 0x3d], 0
je 0x411862
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x41185a
mov ecx, dword [esi + 0x38]
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x14]
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 0x411829
sub eax, 1
je 0x41182d
sub eax, 2
jne 0x41185a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
add esp, 0x24
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x41184d
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 0x41185a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
add esp, 0x24
ret
pop edi
xor al, al
pop esi
add esp, 0x24
ret
mov al, 1
pop esi
add esp, 0x24
ret
Function at 0x417a00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x417a4f
lea edx, [esi + 8]
mov edi, eax
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x417a12
mov eax, dword [esi]
jmp 0x417b35
cmp eax, 0x4e0
jb 0x417b35
push ebx
mov ebx, dword [esi + 0x9c4]
lea edi, [esi + 0x9c4]
push ebp
mov ebp, 0xe3
nop dword [eax]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebp, 1
jne 0x417a70
mov ebx, dword [esi + 0xd50]
lea edi, [esi + 0xd50]
mov ebp, 0x18c
nop dword [eax]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub ebp, 1
jne 0x417ac0
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop ebp
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
pop ebx
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
ret
Function at 0x4191c0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x22c
push ebp
push esi
push 0
push 2
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4191e6
pop esi
xor al, al
pop ebp
add esp, 0x22c
ret
push ebx
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41922b
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
lea eax, [esp + 0x34]
push ebp
push eax
call edi
add esp, 8
test eax, eax
je 0x41923f
lea eax, [esp + 0x10]
push eax
push esi
call ebx
test eax, eax
jne 0x419210
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
xor al, al
pop ebp
add esp, 0x22c
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 0x22c
ret
Function at 0x41b6a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [esp + 0xc]
mov ecx, 0
sub esi, edi
je 0x41b6c9
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x41b6b8
pop edi
mov eax, edx
pop esi
ret 8
Function at 0x4250a0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x4250fe
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x4250e2
cmp edi, 2
jb 0x4250e2
cmp byte [esi], cl
jne 0x4250e2
cmp byte [esi + 1], cl
jne 0x4250e2
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x565c20]
jmp 0x4250b3
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x565c20]
test edi, edi
jne 0x4250b3
pop edi
pop esi
not eax
pop ebx
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x42512d
cmp cl, 0x23
jne 0x425114
cmp byte [esi], cl
jne 0x425114
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x565c20]
test cl, cl
jne 0x425105
pop edi
pop esi
not eax
pop ebx
ret

Function at 0x425230
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
test ebx, ebx
je 0x425242
mov dword [ebx], 0
mov edx, 0x56be2c
call fcn.00425140
mov esi, eax
test esi, esi
je 0x425320
mov ebp, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebp
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
je 0x425316
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x425316
push esi
call ebp
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x425316
push 0
push edi
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x425316
mov eax, dword [0x5f5498]
test eax, eax
je 0x4252b4
inc dword [eax + 0xb4]
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x425316
push esi
push ebp
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebp
je 0x425300
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x5f5498]
add esp, 4
test eax, eax
je 0x4252ef
dec dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x42530f
mov dword [ebx], ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x428660
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov edx, ecx
push esi
push edi
lea esi, [esp + 8]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [esp + 0x14], xmm0
not edx
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x565c20]
sub edi, 1
jne 0x4286d1
not edx
pop edi
mov eax, edx
pop esi
add esp, 0x10
ret 4
Function at 0x42bdb0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x42bded
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x42bdd3
cmp byte [esi], bl
jne 0x42bdd3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x565c20]
test bl, bl
jne 0x42bdc4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.0042bd50
Function at 0x4315a0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0xc
mov eax, dword [0x5f5498]
lea edx, [esp + 4]
push ebx
push ebp
push esi
mov eax, dword [eax + 0x3e48]
mov ebp, ecx
mov ebx, dword [eax + 0xec]
mov esi, 4
push edi
lea edi, [eax + 0xe4]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov dword [esp + 0x14], ebp
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x565c20]
sub esi, 1
jne 0x4315e0
mov eax, dword [esp + 0x18]
not ebx
mov eax, dword [eax]
cmp dword [eax + 0x3e7c], ebx
jne 0x431619
push ecx
push ebp
lea edx, [esi + 4]
mov ecx, ebx
call fcn.0043b140
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x431644
inc esi
test ecx, ecx
je 0x431632
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x431637
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.0043b940
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x439c20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aac], 0
lea esi, [edi + 0x5ab0]
je 0x439ca2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x439c5c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0043bd20
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.00425860
mov edx, dword [esi]
mov ecx, 0x5f53d5
push dword [edi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.00425860
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43a070
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x5f5498]
test bl, bl
je 0x43a0b9
push ebp
or ebp, 0xffffffff
nop dword [eax]
cmp bl, 0x23
jne 0x43a09f
cmp byte [esi], bl
jne 0x43a09f
cmp byte [esi + 1], bl
cmove eax, ebp
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x565c20]
test bl, bl
jne 0x43a090
pop ebp
mov esi, dword [edi + 0x5a54]
xor ecx, ecx
not eax
test esi, esi
jle 0x43a0dc
mov edi, dword [edi + 0x5a5c]
lea edx, [edi + 4]
cmp dword [edx], eax
je 0x43a0e2
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x43a0d0
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x444a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x444a9a
mov eax, dword [0x5f5498]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x444a8d
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x444acb
mov eax, dword [0x5f5498]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x444abe
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x444afc
mov eax, dword [0x5f5498]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x444aef
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x444b49
mov eax, dword [0x5f5498]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x444b3c
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x444b7a
mov eax, dword [0x5f5498]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x444b6d
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x444bab
mov eax, dword [0x5f5498]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x444b9e
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.00447a30
Function at 0x4489e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x174
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x5f5498]
test eax, eax
je 0x448a2a
inc dword [eax + 0xb4]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
shl edx, 8
add edx, ecx
mov dword [esp + 0xc], eax
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x448ae5
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x448ae5
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
mov edx, dword [esp + 0xc]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x5f5578], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x5f5580], edx
shl ecx, 8
add ecx, edx
mov dword [0x5f5584], edx
add edi, ecx
mov ecx, esi
mov dword [0x5f557c], edi
call fcn.0044c250
cmp eax, esi
je 0x448ae5
nop
cmp dword [0x5f5584], edi
ja 0x448ae5
mov ecx, eax
mov esi, eax
call fcn.0044c250
cmp eax, esi
jne 0x448ad0
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x448b03
mov ecx, 0x1e
lea edi, [esp + 0x108]
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x108]
jmp 0x448b47
push 0x78
lea eax, [esp + 0x1c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
lea esi, [esp + 0x18]
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
movss xmm0, dword [esp + 0x10]
lea edi, [esp + 0x90]
comiss xmm0, dword [0x56cc90]
mov eax, dword [esp + 0xc]
mov ecx, 0x1e
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x90]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
jbe 0x448b90
movss dword [esp + 0x28], xmm0
mov eax, dword [ebp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
call fcn.004484a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x468269
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x468290
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x468293
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.00468245
pop esi
leave
ret 8

Function at 0x468e66
Capabilities:
Parse pe header

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

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, eax
mov dword [esp + 0xc], edx
mov eax, dword [0x4a236c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, str._s_begin__s_n
mov dword [esp + 4], eax
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov eax, 0x35
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], str._Warning___The_lines_below_are_an_automatic_dump._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov eax, 0x47
mov dword [esp + 8], eax
mov eax, 1
mov dword [esp + 4], eax
mov dword [esp], str._Dont_edit_them__changes_will_be_deleted_and_replaced_automatically._n
call sub.msvcrt.dll_fwrite
add esp, 0x14
pop ebx
pop ebp
ret

Function at 0x41bb60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [esp + 0xc], eax
mov dword [ebp - 8], ebx
mov ebx, eax
mov eax, 0x35
mov dword [esp + 8], eax
mov eax, 1
mov dword [ebp - 4], esi
mov esi, edx
mov dword [esp + 4], eax
mov dword [esp], str._Warning___The_lines_above_are_an_automatic_dump._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov ecx, 0x47
mov edx, 1
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], str._Dont_edit_them__changes_will_be_deleted_and_replaced_automatically._n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], esi
mov eax, dword [0x4a236c]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, str._s_end__s_n
mov dword [esp + 4], eax
call sub.msvcrt.dll_fprintf
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42a760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [eax*4 + 0x4a2200]
mov esi, dword [0x872c90]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], eax
inc eax
movzx eax, word [esi + 0x12]
sete byte [ebp - 0x38]
dec eax
jle 0x42a850
mov eax, dword [0x4f2a70]
mov edi, dword [0x4f1660]
mov dword [ebp - 0x3c], eax
jmp 0x42a7b5
movzx eax, word [esi + 0x12]
inc ebx
cmp eax, ebx
jle 0x42a850
mov ecx, dword [ebp - 0x3c]
lea eax, [ebx + ebx*4]
lea eax, [ebx + eax*4]
lea edx, [ecx + eax*4]
lea eax, [ebx + ebx*8]
lea ecx, [edi + eax*4]
movzx eax, byte [edx + 0x24]
and al, 1
cmp dword [edx], 0
je 0x42a7a8
xor al, 1
movzx eax, al
mov dword [ebp - 0x4c], eax
movzx eax, byte [ebp - 0x38]
test dword [ebp - 0x4c], eax
jne 0x42a7a8
test byte [ebp + 8], 2
jne 0x42a810
mov eax, dword [0x4a49ec]
cmp byte [eax + 0xe4], 0
jne 0x42a810
mov eax, dword [0x4a49e8]
cmp byte [eax + 0x152], 0
jne 0x42a810
cmp word [ecx + 4], 0
je 0x42a7a8
lea esi, [esi]
cmp byte [edx + 0x4c], 0x19
ja 0x42a7a8
cmp byte [ebp - 0x38], 0
jne 0x42a837
movsx eax, byte [edx + 0x4f]
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x42a7a8
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov word [eax + ecx*4], bx
inc ecx
test byte [ebp + 8], 1
mov dword [ebp - 0x20], ecx
je 0x42a7a8
nop
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov eax, edx
mov word [ecx + edx*4], 0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x448880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x414
mov ebx, 0x400
mov dword [esp + 8], ebx
lea ebx, [ebp - 0x408]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00498050
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
xor edx, edx
cmp eax, 0xffffffff
je 0x4488be
xor edx, edx
test al, 0x10
sete dl
mov ebx, dword [ebp - 4]
mov eax, edx
leave
ret

Function at 0x448900
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
mov eax, 0x400
push ebx
sub esp, 0x410
lea ebx, [ebp - 0x408]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.00498050
mov ecx, ebx
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
not eax
and edx, eax
and edx, 0x80808080
je 0x448930
test edx, 0x8080
jne 0x448955
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, ebx
je 0x448968
cmp byte [ebp + ecx - 0x409], 0x5c
je 0x4489a3
mov dword [esp], ebx
call sub.KERNEL32.dll_GetFileAttributesA
sub esp, 4
xor edx, edx
cmp eax, 0xffffffff
je 0x448981
xor edx, edx
test al, 0x10
setne dl
test dl, dl
je 0x44898c
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
mov dword [esp + 4], esi
mov dword [esp], str.Cannot_find_required_directory:_n_s
call fcn.004954a0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
xor eax, eax
mov byte [ecx + ebp - 0x409], al
jmp 0x448968