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

Disassembly:
mov eax, dword [0x10093758]
push esi
mov esi, dword [esp + 8]
mov dword [eax + 0x5b24], 0
test esi, esi
je 0x1002076a
lea eax, [esp + 8]
mov dword [esp + 8], 0
push edi
push eax
call fcn.10020770
push 0x1007fc2c
push esi
mov edi, eax
call fcn.10013390
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10020769
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
ret

Function at 0x10025be0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [0x10093758]
cmp byte [esi + 0x5b20], 0
jne 0x10025d19
cmp dword [esi + 0x5b40], 0
je 0x10025c15
push 0x3289
push str.D:Projectm2extLibrariesimguiimgui.cpp
push str.g.SettingsWindows.empty__
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10025d12
push edi
push 0x1007fc28
push eax
call fcn.10013390
mov edi, eax
add esp, 8
test edi, edi
je 0x10025d11
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push ebp
push edi
call ebx
mov ebp, eax
add esp, 4
cmp ebp, 0xffffffff
je 0x10025d05
push 2
push 0
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10025d05
push edi
call ebx
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x10025d05
push 0
push ebp
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10025d05
mov eax, dword [0x10093758]
test eax, eax
je 0x10025c99
inc dword [eax + 0xb0]
push dword [0x10093760]
push ebx
call dword [0x1009100c]
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10025d05
push edi
push ebx
push 1
push ebp
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push edi
cmp eax, ebx
je 0x10025ccd
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
jmp 0x10025ce4
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x10025ce4
push ebx
push ebp
call fcn.10016c80
add esp, 8
mov eax, dword [0x10093758]
test eax, eax
je 0x10025cf3
dec dword [eax + 0xb0]
push dword [0x10093760]
push ebp
call dword [0x10091010]
add esp, 8
jmp 0x10025d0f
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop ebp
pop ebx
pop edi
mov byte [esi + 0x5b20], 1
movss xmm0, dword [esi + 0x5b24]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x10025d68
subss xmm0, dword [esi + 0x18]
comiss xmm1, xmm0
movss dword [esi + 0x5b24], xmm0
jb 0x10025d68
mov eax, dword [esi + 0x20]
test eax, eax
je 0x10025d57
push eax
call fcn.10020710
add esp, 4
mov dword [esi + 0x5b24], 0
pop esi
ret
mov byte [esi + 0x96], 1
mov dword [esi + 0x5b24], 0
pop esi
ret
Function at 0x1002be10
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
cmp edi, 8
ja 0x1002bf39
test byte [esi], 2
jne 0x1002bf39
cmp dword [esi + 0x468], 0xffffffff
jne 0x1002be4b
push 0x91c
push str.D:Projectm2extLibrariesimguiimgui_draw.cpp
push str.PackIdMouseCursors____1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
push dword [esi + 0x468]
mov ecx, esi
call fcn.1002bdb0
lea edx, [edi + edi*2]
movss xmm2, dword [edx*8 + 0x100811d8]
movss xmm4, dword [edx*8 + 0x100811dc]
movzx ecx, word [eax + 4]
movzx eax, word [eax + 6]
pop edi
movd xmm5, ecx
movd xmm3, eax
mov eax, dword [esp + 0x10]
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm3, xmm3
addss xmm5, dword [edx*8 + 0x100811d0]
addss xmm3, dword [edx*8 + 0x100811d4]
movss dword [eax + 4], xmm4
movss dword [eax], xmm2
mov ecx, dword [edx*8 + 0x100811e0]
mov edx, dword [edx*8 + 0x100811e4]
movaps xmm1, xmm5
mov eax, dword [esp + 0xc]
addss xmm4, xmm3
movaps xmm0, xmm3
mov dword [eax], ecx
mov dword [eax + 4], edx
mulss xmm1, dword [esi + 0x2c]
mov eax, dword [esp + 0x14]
mulss xmm0, dword [esi + 0x30]
movss dword [eax], xmm1
movaps xmm1, xmm2
movss dword [eax + 4], xmm0
addss xmm1, xmm5
addss xmm5, dword [0x100858c0]
movaps xmm0, xmm4
mulss xmm0, dword [esi + 0x30]
mulss xmm1, dword [esi + 0x2c]
movss dword [eax + 0xc], xmm0
movaps xmm0, xmm5
addss xmm5, xmm2
movss dword [eax + 8], xmm1
mulss xmm0, dword [esi + 0x2c]
mov eax, dword [esp + 0x18]
mulss xmm3, dword [esi + 0x30]
movss dword [eax], xmm0
movss dword [eax + 4], xmm3
mulss xmm5, dword [esi + 0x2c]
mulss xmm4, dword [esi + 0x30]
pop esi
movss dword [eax + 8], xmm5
movss dword [eax + 0xc], xmm4
mov al, 1
ret 0x14
pop edi
xor al, al
pop esi
ret 0x14
Function at 0x1005f3f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
push 0x1007fc28
push dword [esp + 0x14]
lea eax, [esp + 0xc]
mov dword [esp + 0x10], ecx
push eax
mov dword [esp + 0x10], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov ebx, dword [esp + 0x10]
add esp, 0xc
test ebx, ebx
jne 0x1005f429
lea eax, [ebx - 3]
pop ebx
add esp, 8
ret 4
push esi
push 2
push 0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
je 0x1005f443
mov esi, 0xfffffffd
jmp 0x1005f4bb
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
add esp, 4
test esi, esi
js 0x1005f43c
jne 0x1005f459
xor esi, esi
jmp 0x1005f4bb
push edi
lea eax, [esi + 1]
push 0x1008c6d0
push eax
call fcn.10074405
mov edi, eax
add esp, 8
test edi, edi
jne 0x1005f476
lea esi, [eax - 2]
jmp 0x1005f4ba
push 0
push 0
push ebx
mov byte [edi + esi], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push ebx
push esi
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x1c
cmp eax, esi
je 0x1005f4a4
push edi
call fcn.10074400
mov esi, 0xfffffffd
jmp 0x1005f4b7
mov ecx, dword [esp + 0x10]
push eax
push edi
call fcn.1005f270
push edi
mov esi, eax
call fcn.10074400
add esp, 4
pop edi
push dword [esp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 4

Function at 0x10063be0
Capabilities:
Terminate process

Disassembly:
cmp byte [0x10093c25], 0
push esi
mov esi, ecx
je 0x10063c08
push str.crash_direct3d__exiting.
call fcn.1005b860
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [0x10093c28]
test ecx, ecx
je 0x10063c22
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x10093c28], 0
mov byte [0x10093c25], 1
mov ecx, dword [esi + 0xc]
pop esi
test ecx, ecx
je 0x10063c3a
push dword [esp + 4]
call fcn.100688c0
call fcn.1006b040
ret 4
Function at 0x1006bbb0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x10092c98]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1006bc72
cmp byte [esi + 0x3d], 0
je 0x1006bc72
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1006bc5f
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 0x1006bc23
sub eax, 1
je 0x1006bc27
sub eax, 2
jne 0x1006bc5f
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10073e26
add esp, 0x28
ret
mov byte [esi + 0x3d], 0
mov edi, dword [esp + 8]
lea eax, [esp + 0xc]
sub edi, eax
je 0x1006bc47
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 0x1006bc5f
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10073e26
add esp, 0x28
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10073e26
add esp, 0x28
ret
mov ecx, dword [esp + 0x28]
mov al, 1
pop esi
xor ecx, esp
call fcn.10073e26
add esp, 0x28
ret
Function at 0x1006c1c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x10092c98]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1006c1f0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10073e26
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x1006c221
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x1006c221
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 [esp + 0x2c]
xor ecx, esp
call fcn.10073e26
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x1006c32d
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1006c24a
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 0x1006c27f
push dword [esi + 0x4c]
movsx eax, bl
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 [esp + 0x2c]
xor ecx, esp
call fcn.10073e26
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xc], bl
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1d]
push eax
lea eax, [esp + 0x20]
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 0x1006c2e7
sub eax, 1
je 0x1006c2e7
sub eax, 2
jne 0x1006c32d
push dword [esi + 0x4c]
push dword [esp + 0x10]
call fcn.10068cf0
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10073e26
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x1006c307
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 0x1006c32d
lea ecx, [esp + 0xc]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10073e26
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10073e26
add esp, 0x30
ret 4
Function at 0x10070350
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x14]
test eax, eax
jg 0x10070371
jl 0x10070367
test esi, esi
jne 0x10070371
pop esi
xor eax, eax
xor edx, edx
pop ebx
pop ecx
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x10070389
push eax
push esi
push dword [esp + 0x18]
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
pop ecx
ret 0xc
mov eax, dword [ebx + 0x1c]
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edx, dword [eax]
mov edi, esi
test edx, edx
je 0x100703d2
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x100703d9
mov edi, dword [esp + 0x1c]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x1c]
jmp 0x100703d9
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x10070446
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x10070403
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 [esp + 0x10]
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 0x10070434
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call eax
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x10070446
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10070410
test edi, edi
je 0x10070446
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call eax
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x20]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x10070460
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10070485
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
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 ebx
add esp, 0x14
ret 0xc
mov eax, dword [ebx + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], edi
test ecx, ecx
je 0x100704b2
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x100704b8
xor ecx, ecx
mov dword [esp + 0x14], eax
mov eax, ecx
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10070520
jg 0x100704cf
test esi, esi
je 0x10070520
test ecx, ecx
jl 0x1007051a
jg 0x100704d9
test eax, eax
je 0x1007051a
cmp edi, ecx
jg 0x100704ed
jl 0x100704e3
cmp esi, eax
jae 0x100704ed
mov eax, esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x28]
push eax
push ebp
push dword [esp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
add ebp, ecx
sub esi, ecx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x10070524
mov ebp, dword [esp + 0x28]
jmp 0x1007052e
mov ebp, dword [esp + 0x28]
test edi, edi
jl 0x10070548
jg 0x1007052e
test esi, esi
je 0x10070548
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10070548
push eax
push esi
push 1
push ebp
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 + 0x1c]
mov edx, dword [esp + 0x20]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 0xc
Function at 0x10071c10
Capabilities:
Encode data using xor
Hash data with crc32
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x204]
sub esp, 0x204
push 0xffffffffffffffff
push 0x1007704d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10092c98]
xor eax, ebp
mov dword [ebp + 0x200], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
call fcn.10062a40
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.1005c110
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
or esi, 0xffffffff
call fcn.1005c380
push eax
call fcn.10062930
add esp, 4
test al, al
je 0x10071d67
push 0x1007fc28
lea ecx, [ebp - 0x28]
call fcn.1005c380
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10071d67
push ebx
push 0x200
lea eax, [ebp]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, eax
add esp, 0x10
test edx, edx
je 0x10071cf8
nop dword [eax]
xor ecx, ecx
movzx eax, byte [ebp + ecx]
inc ecx
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x1008abd0]
mov edi, esi
cmp ecx, edx
jb 0x10071cc2
push ebx
push 0x200
lea eax, [ebp]
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10071cc0
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.1005b780
not esi
push esi
push 0x1008afd0
call fcn.1005ba70
add esp, 8
cmp esi, 0x931b4825
ja 0x10071d4d
je 0x10071d3b
cmp esi, 0x2f388d11
je 0x10071d3b
cmp esi, 0x8c4b7b3a
jne 0x10071d85
push dword [ebp + 0x20c]
call fcn.10072400
add esp, 4
mov al, 1
jmp 0x10071d87
cmp esi, 0xae196a1e
jne 0x10071d85
push dword [ebp + 0x20c]
call fcn.10071dd0
add esp, 4
mov al, 1
jmp 0x10071d87
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.1005b780
push 0
push 0x1008afd0
call fcn.1005ba70
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.10073e26
lea esp, [ebp + 0x204]
pop ebp
ret
Function at 0x100736d0
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10077097
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10092c98]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100738a5
sub eax, 1
jne 0x100738c6
push 0x100735f0
push 0x1008b248
push 0x1008b25c
call fcn.1005bc60
add esp, 0xc
mov dword [0x10098c80], eax
cmp byte [0x10098c84], 0
jne 0x100738c6
push 0x10073600
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call fcn.1005f7d0
call fcn.10060ed0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x10], eax
xor edi, edi
mov ebx, dword [eax + 0x3c]
add ebx, eax
xor eax, eax
movzx ecx, word [ebx + 0x14]
lea esi, [ebx + 0x18]
add esi, ecx
cmp ax, word [ebx + 6]
jae 0x10073838
mov ecx, 0x1008b13c
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10073797
test dl, dl
je 0x10073793
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10073797
add eax, 2
add ecx, 2
test dl, dl
jne 0x10073777
xor eax, eax
jmp 0x1007379c
sbb eax, eax
or eax, 1
test eax, eax
je 0x10073800
mov ecx, 0x1008b144
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100737c7
test dl, dl
je 0x100737c3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100737c7
add eax, 2
add ecx, 2
test dl, dl
jne 0x100737a7
xor eax, eax
jmp 0x100737cc
sbb eax, eax
or eax, 1
test eax, eax
je 0x10073800
mov ecx, str..textnc
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100737f7
test dl, dl
je 0x100737f3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100737f7
add eax, 2
add ecx, 2
test dl, dl
jne 0x100737d7
xor eax, eax
jmp 0x100737fc
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10073828
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push eax
mov eax, dword [esi + 8]
add eax, 0xfff
and eax, 0xfffff000
push 0x40
push eax
mov eax, dword [esi + 0xc]
add eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, word [ebx + 6]
inc edi
add esi, 0x28
cmp edi, eax
jl 0x10073770
push dword [0x100937ac]
push str.imagebase__0x_p
call fcn.1005ba70
push 0x100
call fcn.10074234
add esp, 0xc
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x1007386c
mov ecx, eax
call fcn.100633c0
jmp 0x1007386e
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x10098c7c], eax
test eax, eax
je 0x1007388e
mov ecx, eax
call fcn.10063aa0
test al, al
mov eax, str.m2ext_initialised.
jne 0x10073893
mov eax, str.m2ext_instance_failed_to_create.
push eax
call fcn.1005b860
add esp, 4
mov byte [0x10098c84], 1
jmp 0x100738c6
push str.terminate_the_process.
call fcn.1005b860
add esp, 4
call fcn.1005b820
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a810
Capabilities:
Accept command line arguments
Read .ini file

Disassembly:
sub esp, 0x414
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
lea eax, [esp + 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [esp + 0x218]
push ecx
call ebx
lea edx, [esp + 0xc]
mov esi, eax
push edx
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
push str.system.ini
lea eax, [esp + 0x14]
push 0x104
push eax
push esi
push str.shell
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveArgsW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
test edi, edi
je 0x44a8a1
mov eax, dword [0x653d44]
push 0x653a78
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
lea ecx, [esp + 0x10]
push ecx
call ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
push edi
call dword [sym.imp.SHELL32.dll_StrCmpNIW]
test eax, eax
je 0x44a8da
push str.install.exe
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x44a8da
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x414
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x414
ret

Function at 0x4a1dd9
Capabilities:
Encode data using base64

Disassembly:
invalid
xlatb
jg 0x4a1dd0
sub esi, dword [ebp + 0x677591d7]
cdq
rol dword [esi + 0x33], 0x46
xchg ebx, eax
invalid
Function at 0x4f21b3
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [eax]
and al, byte [eax + 0x14]
inc ebx
dec ecx
pop eax
lea edi, [edx + 0x45]
and bl, byte [eax + edx*4]
sbb al, 0x90
pop ebp
fisttp word [edx]
cmp ebx, ecx
jle 0x4f20c6
iretd
sbb al, 0xd2
je 0x4f20f0
imul esi, eax, 0x18
pop es
mov ebx, 0xac17aaac
sahf
stosb byte es:[edi], al
adc dl, byte [ebp + 0x18809297]
mov edx, 0x3e8a5c99
xchg ebp, eax
xchg edi, eax
xchg edx, eax
sbb byte [eax], 0xba
cdq
pop esp
mov bh, byte [esi]
jmp 0x4f2102
invalid
inc ebp
mov esp, 0x52a7b0bf
push ebp
repne insd dword es:[edi], dx
cwde
jns 0x4f20d2
stc
jmp 0xe85710
dec ecx
jnp 0x4f21b9
imul esp, dword [esi - 0x41], 0xffffffde
mov byte [0x75b44075], al
out dx, al
push 0x68
jg 0x4f20dd
jae 0x4f210a
dec ebx
dec edi
fimul word [ebp - 0x4e]
sbb byte [ebx], 0xfb
cmp ch, byte [eax + 9]
push eax
mov dl, 0xc8
sahf
mov edi, 0xd2b18e44
sbb eax, 0x5081aaa1
sbb eax, 0xe16fa560
adc al, 0xe
xor eax, 0x28faf94b
invalid
xor ch, byte [0xbce7132b]
push ss
inc eax
pop ecx
xlatb
add dword [ebp + 0x3192e2d4], edx
loop 0x4f2147
xor dword [eax - 0x22d3c2fd], esp
loop 0x4f2147
xor dword [eax - 0x22d3c2fd], esp
sub al, 0xdd
sbb cl, bl
adc cl, byte [0xddef7c81]
bound esp, qword [eax - 0x56bdd689]
insd dword es:[edi], dx
sbb bh, al
mov cl, 0x6f
inc edi
or eax, 0x9aaf55c9
or dword [esi - 0x2416a85b], esp
cmp al, 0x30
push ecx
xchg dword [edx + 0x28d42729], eax
dec ebx
sbb byte [edx - 0x44ad1416], bl
cmp eax, edi
mov byte [eax + 0x7aaf67ad], dl
mov ds, word [edi + 0x6b]
loop 0x4f21a6
fstp dword [ebx - 0x67]
cdq
mov edx, 0x33dbc5e5
stosd dword es:[edi], eax
arpl cx, bx
push cs
jmp 0x4f21fa

Function at 0x51ddc0
Capabilities:
Encode data using xor

Disassembly:
fistp word [edx]
out dx, eax
test al, 0x7d
push esi
test eax, 0xad0138b0
inc eax
lock xor edx, dword [bx + si - 0x7f]
lock xor edx, dword [eax - 0x7f]
outsb dx, byte [esi]
jle 0x51ddcd
jmp 0xcbf04098