joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45cf10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x484374
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x56100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
cmp byte [0x5610ce], 0
jne 0x45d06a
cmp byte [edi + 0x38], 0
jne 0x45d06a
mov ebx, dword [0x5639b8]
mov ecx, ebx
mov eax, dword [0x5639bc]
add ecx, 1
mov dword [ebp - 0x10], eax
adc eax, 0
mov byte [edi + 0x38], 1
cmp byte [edi], 0
mov dword [0x5639b8], ecx
mov dword [0x5639bc], eax
je 0x45cfce
cmp dword [edi + 0x40], 0
jne 0x45cf90
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call dword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [edi + 0x40], eax
jne 0x45cfa3
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 0
push dword [edi + 0x40]
push dword [edi + 0x3c]
call dword [sym.imp.MSVCP140.dll__Thrd_join]
add esp, 0xc
test eax, eax
je 0x45cfc0
push 2
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0x28
mov byte [edi], 1
call fcn.00480f69
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea ecx, [esi + 8]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
mov dword [esi], ebx
mov dword [ebp - 0x10], ecx
call fcn.00479be0
lea ecx, [ebp - 0x10]
mov dword [esi + 0x20], edi
mov dword [ebp - 0x10], 0
call fcn.0047ea30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0047ea30
lea eax, [ebp - 0x18]
push eax
push 0
push esi
push 0x47f060
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x45d096
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.0047ea30
cmp dword [edi + 0x40], 0
je 0x45d05e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x45d0af
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45d0a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x45d0a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push edx
call fcn.00480f52
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x46f7e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
push 0x563674
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x46f804
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
sub esp, 0x18
mov eax, 0x7fffffff
mov ecx, esp
mov dword [esp + 0x20], ecx
mov edx, dword [0x5618a8]
sub eax, edx
cmp eax, 0xb
jb 0x46f98a
cmp dword [0x5618ac], 0x10
mov eax, 0x561898
push edx
cmovae eax, dword [0x561898]
push eax
push 0xb
push str.onlinedata_
push ecx
push dword [esp + 0x34]
call fcn.004298c0
mov ecx, 0x5613c0
call fcn.0045cf10
cmp dword [0x56344c], 2
jne 0x46f95d
mov esi, dword [0x563908]
mov edi, dword [0x56390c]
cmp esi, edi
je 0x46f8b8
mov ecx, dword [esi]
cmp byte [ecx + 5], 0
je 0x46f8a6
cmp byte [0x563445], 0
jne 0x46f8a6
cmp byte [ecx + 4], 0
je 0x46f8b1
sub esp, 0x18
mov ecx, esp
push str._ERROR__4___Exiting_with_code_0
call fcn.00428410
call fcn.0044fb20
add esp, 0x18
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
cmp byte [ecx + 4], 0
je 0x46f8b1
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, edi
jne 0x46f870
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov esi, dword [0x5616a8]
cmp esi, 0xffffffff
je 0x46f940
cmp edx, dword [0x56393c]
jl 0x46f934
jg 0x46f8db
cmp eax, dword [0x563938]
jb 0x46f934
mov ecx, eax
call fcn.00482360
addsd xmm0, qword [0x557968]
call fcn.00482250
mov dword [0x563938], eax
lea eax, [esi + esi*8]
mov ecx, dword [eax*4 + 0x563774]
mov dword [0x56393c], edx
cmp ecx, 0xffffffff
je 0x46f91a
push ecx
mov dl, 1
call fcn.00453450
mov esi, dword [0x5616a8]
add esp, 4
lea eax, [esi + esi*8]
mov ecx, dword [eax*4 + 0x563774]
cmp ecx, 0xffffffff
je 0x46f934
push ecx
xor dl, dl
call fcn.00453450
add esp, 4
mov dword [0x5616a8], 0xffffffff
jmp 0x46f95d
cmp dword [0x56393c], edx
jg 0x46f95d
jl 0x46f952
cmp dword [0x563938], eax
jae 0x46f95d
mov dword [0x563938], eax
mov dword [0x56393c], edx
push 0x563674
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
mov dword [esp + 8], 2
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.0047b150
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00407f80
int3
Function at 0x4782a0
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 0x4782cc
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 0x4782f4
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x4782fa
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 0x478362
jg 0x478311
test esi, esi
je 0x478362
test ecx, ecx
jl 0x47835d
jg 0x47831b
test eax, eax
je 0x47835d
cmp edi, ecx
jg 0x47832f
jl 0x478325
cmp esi, eax
jae 0x47832f
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 0x478365
mov ecx, dword [ebp + 8]
jmp 0x47836f
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x478389
jg 0x47836f
test esi, esi
je 0x478389
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x478389
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 0x4783a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
test eax, eax
jg 0x4783c4
jl 0x4783b9
test ecx, ecx
jne 0x4783c4
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x4783de
push eax
push ecx
push dword [ebp + 8]
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 ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
push esi
push edi
mov edi, ecx
mov eax, dword [eax]
mov dword [ebp - 8], eax
test eax, eax
je 0x47842a
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [eax]
test eax, eax
je 0x478430
mov edi, dword [ebp + 8]
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 + 8], 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
jmp 0x478430
lea eax, [ebx + 0x2c]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x4784a6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x47845c
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 - 4]
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 0x478494
nop dword [eax]
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 0x4784a6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x478470
test edi, edi
je 0x4784a6
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 0x478800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x56100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x478830
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480d36
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x478860
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x478860
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
pop esi
mov byte [eax], bl
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480d36
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x478938
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x478889
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 0x478895
movsx eax, bl
jmp 0x4788cd
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 0x4788f7
sub eax, 1
je 0x4788f7
sub eax, 2
jne 0x478938
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
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480d36
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x478915
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 0x478938
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.00480d36
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.00480d36
mov esp, ebp
pop ebp
ret 4
Function at 0x47a190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x56100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x47a24c
cmp byte [esi + 0x3d], 0
je 0x47a24c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x47a23a
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 0x47a201
sub eax, 1
je 0x47a205
sub eax, 2
jne 0x47a23a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480d36
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x47a223
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 0x47a23a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480d36
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00480d36
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00480d36
mov esp, ebp
pop ebp
ret
Function at 0x47fe20
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp byte [0x5610fc], 0
push ebx
push esi
push edi
je 0x47ff9a
nop dword [eax]
push 0x5638d8
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
jne 0x47ffc2
cmp byte [0x563445], al
je 0x47ff66
mov byte [esp + 0xc], 1
nop word [eax + eax]
mov edx, dword [eax + 0x563450]
xor ebx, ebx
cmp edx, dword [eax + 0x48cb78]
mov ecx, dword [esp + 0xc]
mov esi, dword [eax + 0x48cb7c]
mov edi, dword [eax + 0x48cb80]
movzx ecx, cl
cmove ebx, ecx
xor edx, edx
cmp dword [eax + 0x563454], esi
mov esi, dword [eax + 0x48cb84]
movzx ecx, bl
cmove edx, ecx
xor ebx, ebx
cmp dword [eax + 0x563458], edi
movzx ecx, dl
cmove ebx, ecx
xor edx, edx
cmp dword [eax + 0x56345c], esi
movzx ecx, bl
cmove edx, ecx
xor ebx, ebx
movzx ecx, dl
mov edx, dword [eax + 0x48cb88]
cmp dword [eax + 0x563460], edx
cmove ebx, ecx
add eax, 0x14
mov dword [esp + 0xc], ebx
cmp eax, 0x3c
jl 0x47fe70
xor ecx, ecx
movzx eax, bl
cmp dword [0x56348c], 0xfff777a3
cmove ecx, eax
xor edx, edx
cmp dword [0x563490], 0xffe9f0c5
movzx eax, cl
cmove edx, eax
xor ecx, ecx
cmp dword [0x563494], 0xffffe881
movzx eax, dl
cmove ecx, eax
xor edx, edx
cmp dword [0x563498], 0xfffb149f
movzx eax, cl
cmove edx, eax
xor ecx, ecx
cmp dword [0x56349c], 0xfffffa8d
movzx eax, dl
cmove ecx, eax
xor edx, edx
cmp dword [0x5634a0], 0xfff8e13b
movzx eax, cl
cmove edx, eax
xor ecx, ecx
cmp dword [0x5634a4], 0xfffff037
movzx eax, dl
cmove ecx, eax
test cl, cl
je 0x47ffa3
push 0x5638d8
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
mov dword [esp + 0x10], 0x32
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.0047b150
cmp byte [0x5610fc], 0
jne 0x47fe40
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
sub esp, 0x18
mov ecx, esp
push str._ERROR__3__Exiting_with_code_0_
call fcn.00428410
call fcn.0044fb20
add esp, 0x18
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3

Function at 0x481937
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x481976
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x481976
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x481976
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x481976
cmp dword [ecx + 0x74], 0xe
jbe 0x481976
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x5d1f51a1
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x74d77221
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1b13379d
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x42e0d2
nop
nop
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x10185187
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x8de048
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de04e
pop ebp
sub ebp, 6
sub ebp, 0x4de048
jmp 0x8de0ac
jmp 0x8de0b5
mov eax, 0x4de048
add eax, ebp
add eax, 0x93
mov ecx, 0x63c
mov edx, 0x9e1d6452
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de0cc
jmp 0x8de0df
cmp byte [edx], dl
cmp dl, byte [edx + 0x42]
push edx
push edx
cmp dl, byte [edx - 0x62]
jle 0x8de13d
shl dword [edx - 0x554152d8], cl
shl dword [edx - 0x554152d8], cl
popal
xchg edx, eax
add ch, byte [ebp + 0x16736ec7]
push edx
add bl, cl
lahf
fstpnce st(3), st(0)
outsb dx, byte [esi]
push edx
push edx
push edx
rcl dword [ebx + 0x525252aa], cl
push ecx
lahf
ljmp 0x7ae8
push edx
push edx
mov ebx, 0x5252527a
pop es
fnstcw word [esi + 0x525ad7d9]
push edx
push edx
fld st(7)
pop esi
push edx
push edx
push edx
fstpnce st(7), st(0)
inc edx
push edx
push edx
push edx
xchg ebx, eax
mov ebx, 0xd1506350
nop
push esi
sbb ebx, dword [ebp - 0x29]
cmpsb byte [esi], byte es:[edi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
lodsd eax, dword [esi]
seto byte [esi + 0x52]
fstpnce st(6), st(0)
jbe 0x8de1c6
push edx
push edx
push edx
cmp bl, byte [0x3a525b64]
stosd dword es:[edi], eax
sti
push ss
push edx
push ebx
jle 0x8de1f6
add edi, dword [edx + 0x52525257]
mov ebx, 0x52525019
pop es
fnstcw word [esi - 0x52a1d853]
daa
pop edx
mov edx, 0x5252522c
invalid
ficomp dword [edx]
push edx
push edx
push edx
xor al, 0xd9
dec esi
imul edx, edx, 0xffffffa9
mov edx, 0x5248d65d
push edx
push edx
shr byte [ecx + 0x43d65dbb], cl
push edx
push edx
push edx
xor al, 0xd3
test eax, 0xd65d77ad
inc edi
push edx
push edx
push edx
adc edi, dword [ebx - 0x52525262]
jnp 0x8de212
imul edx, dword [ebx - 0x2f], 0xffffff93
rcl dword [ebx + 0x56bad157]
mov ebx, 0xadadadef
push edi
sar dword [edx - 0x521044aa], 1
lodsd eax, dword [esi]
lodsd eax, dword [esi]
jnp 0x8de209
imul edx, dword [eax - 0x2f], 0xffffff93
push esp
sar dword [eax + 0x57bad156], 1
mov eax, 0x57bad156
mov ebx, 0xadadadf9
lodsd eax, dword [esi]
seto byte [esi + 0x52]
pop es
fnstcw word [esi - 0x26f8fafc]
daa
pop esi
fldcw word [edi]
pop edx
scasb al, byte es:[edi]
loopne 0x8de1f8
fcom dword [ebx + edx*8 - 0x6c]
push ebx
push edx
push edx
push edx
ficom dword [ebp - 0x2d]
xchg ebp, eax
push ebx
push edx
push edx
push edx
jmp 0x52e0348b
Function at 0x1007661
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100c2c4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xa8], 0
cmp dword [0x100c5e4], 0xfffffffe
mov dword [ebp - 0xb0], 0xc
jne 0x1007786
and dword [0x100c5e4], 0
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0xa4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1007786
cmp dword [ebp - 0x94], 1
jne 0x1007786
cmp dword [ebp - 0xa0], 4
jne 0x1007786
cmp dword [ebp - 0x9c], 0xa
jae 0x1007786
push 0x4a
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1007786
lea eax, [ebp - 0xac]
push eax
push 0x20019
push 0
push 0x10015bc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1007786
push edi
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0x10012e1
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xac]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x1007786
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0100753e
test eax, eax
je 0x1007786
and dword [ebp - 0xa8], 0x3ff
cmp dword [ebp - 0xa8], 1
je 0x100777c
cmp dword [ebp - 0xa8], 0xd
jne 0x1007786
mov dword [0x100c5e4], 1
mov ecx, dword [ebp - 4]
mov eax, dword [0x100c5e4]
xor ecx, ebp
call fcn.01006b07
leave
ret

Function at 0x10077f7
Capabilities:
Get disk size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0100779c

Function at 0x1008bc3
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x1008c04
push ebx
movzx edx, byte [ecx]
dec eax
inc ecx
movzx ebx, byte [ecx]
shl ebx, 8
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
test eax, eax
jg 0x1008bdd
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x1008c22
dec esi
je 0x1008c19
dec esi
jne 0x1008c27
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x44ff2c0c
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x3c7a5513
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219