joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035920
Capabilities:
Access peb ldr_data
Allocate or change rwx memory
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x10035af9
mov eax, dword fs:[0x30]
push esi
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x1003599a
cmp ecx, esi
jne 0x10035991
mov edx, dword [eax + 4]
test edx, edx
je 0x1003595f
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax + 4]
test edx, edx
je 0x1003595f
mov ecx, dword [eax]
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x14]
test edx, edx
je 0x1003596b
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [eax + 0x10]
test edx, edx
je 0x10035978
mov ecx, dword [eax + 0x14]
mov dword [edx + 4], ecx
mov edx, dword [eax + 8]
test edx, edx
je 0x10035991
mov ecx, dword [eax + 0xc]
mov dword [ecx], edx
mov edx, dword [eax + 8]
test edx, edx
je 0x10035991
mov ecx, dword [eax + 0xc]
mov dword [edx + 4], ecx
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x10035944
push esi
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
test esi, esi
je 0x100359f6
push edi
mov edi, dword [esi + 0x3c]
lea eax, [ebp + 0xc]
push eax
push 4
push 0x40
push esi
add edi, esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100359cb
push 0x40
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test edi, edi
je 0x100359f5
lea eax, [ebp + 0xc]
push eax
push 4
push 0xf8
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100359f5
push 0xf8
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
pop edi
mov ecx, esi
call fcn.1002da40
push 0xc8
push 0xc8
call dword [sym.imp.KERNEL32.dll_Beep]
pop esi
test eax, eax
je 0x10035af9
push 0x100428bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10035b02
lea edx, [ebp + 8]
mov ecx, 0x100356b0
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002e030
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002dae0
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002db30
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002f160
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002f700
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002fca0
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002fec0
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002ff10
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x10030090
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002ff40
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002ff70
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002ffa0
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x1002fff0
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x10030140
call fcn.1002d8d0
lea edx, [ebp + 8]
mov ecx, 0x10030260
call fcn.1002d8d0
mov eax, 1
pop ebp
ret 0xc
push 0x50031
push 0
push 0x100428c8
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x10035b38
push eax
push 0x1003e59e
push 0x1003e59e
push str.https:__discord.gg_7UsZ3qkwSU
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10035f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x10035f8c
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 + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x10035fae
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x10035fb0
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x10036035
jg 0x10035fc5
test esi, esi
je 0x10036035
test ecx, ecx
jl 0x10036018
jg 0x10035fcf
test eax, eax
je 0x10036018
cmp edi, ecx
jg 0x10035fe3
jl 0x10035fd9
cmp esi, eax
jae 0x10035fe3
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov eax, dword [ebx + 0x30]
sub esi, ecx
mov edx, dword [ebp + 8]
sbb edi, dword [esp + 0x10]
add edx, ecx
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
test edi, edi
jl 0x10036035
jg 0x1003601b
test esi, esi
je 0x10036035
jmp 0x1003601b
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x10036035
push eax
push esi
push 1
push edx
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 + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10036050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 0xc]
test eax, eax
jg 0x10036074
jl 0x10036068
test esi, esi
jne 0x10036074
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1003608d
push eax
push esi
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__::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, esi
mov ecx, dword [eax]
test ecx, ecx
je 0x100360cb
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x100360cb
mov edi, dword [ebp + 0xc]
cmp eax, edi
cmovb esi, eax
push esi
push ecx
push dword [ebp + 8]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebx + 0x2c]
sub edi, esi
add dword [ebp + 8], esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [ebp + 0xc]
jmp 0x100360d1
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [ebx + 0x4c], 0
mov edx, edi
je 0x10036150
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100360fa
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 [ebx + 0x2c]
mov dword [eax], edx
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov edx, edi
mov ecx, dword [ebp + 8]
cmp edi, 0xfff
jbe 0x1003613c
nop dword [eax]
push dword [ebx + 0x4c]
push 0xfff
push 1
push ecx
call eax
mov ecx, dword [ebp + 8]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp + 8], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x10036163
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x10036110
test edx, edx
je 0x10036150
push dword [ebx + 0x4c]
push edi
push 1
push ecx
call eax
mov edx, edi
add esp, 0x10
sub edx, eax
sub esi, edx
mov edx, dword [ebp + 0x10]
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [ebp + 0x10]
sub esi, edi
pop edi
mov eax, esi
sbb edx, 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100364e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1004700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10036510
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038e20
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov eax, dword [eax]
test eax, eax
je 0x10036540
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, eax
cmp eax, edx
jae 0x10036540
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.10038e20
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
push edi
je 0x10036616
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10036569
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 0x10036575
movsx eax, bl
jmp 0x100365ad
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 0x100365d7
sub eax, 1
je 0x100365d7
sub eax, 2
jne 0x10036616
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.10038e20
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100365f5
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 0x10036616
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
je 0x10036616
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038e20
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.10038e20
mov esp, ebp
pop ebp
ret 4
Function at 0x10036860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1004700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003691c
cmp byte [esi + 0x3d], 0
je 0x1003691c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1003690a
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 0x100368d1
sub eax, 1
je 0x100368d5
sub eax, 2
jne 0x1003690a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038e20
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x100368f3
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 0x1003690a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038e20
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038e20
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.10038e20
mov esp, ebp
pop ebp
ret

Function at 0x1003a040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1003a1f0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1003a10d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10047014]
jb 0x1003a08a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10047018]
ja 0x1003a08a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003a05a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003a0b0
jmp 0x1003a10d
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a0f3
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a0f3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003a0e6
mov eax, dword [ebp - 8]
jmp 0x1003a10f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a108
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1003a1f0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003a05a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003a120
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1003a220
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1003a1e5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10047014]
jb 0x1003a165
mov eax, dword [ebp - 4]
cmp eax, dword [0x10047018]
ja 0x1003a165
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1003a135
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1003a18b
jmp 0x1003a1e5
cmp dword [ebp - 0x14], 0x10000
jne 0x1003a1ce
cmp dword [ebp - 0x18], 0x10000
jb 0x1003a1ce
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003a1c1
mov eax, dword [ebp - 8]
jmp 0x1003a1e7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1003a1e0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1003a220
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1003a135
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003a250
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003a640
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x101096d4], 0
jne 0x1003a28d
cmp dword [0x101096d0], 0
je 0x1003a28d
mov eax, dword [0x101096d0]
mov dword [0x101096d4], eax
cmp dword [0x101096d4], 0
je 0x1003a30a
mov ecx, dword [0x101096d4]
cmp dword [ecx + 8], 0
je 0x1003a30a
mov edx, dword [0x101096d4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1003a30a
mov ecx, dword [0x101096d4]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1003a30a
mov eax, dword [0x101096d4]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1003a2d9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1003a2e0
xor eax, eax
jmp 0x1003a429
mov ecx, dword [0x101096d4]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1003a429
mov edx, dword [0x101096d0]
mov dword [0x101096d4], edx
jmp 0x1003a326
mov eax, dword [0x101096d4]
mov ecx, dword [eax + 4]
mov dword [0x101096d4], ecx
cmp dword [0x101096d4], 0
je 0x1003a366
cmp dword [0x101096d4], 0
je 0x1003a364
mov edx, dword [0x101096d4]
cmp dword [edx + 8], 0
je 0x1003a364
mov eax, dword [0x101096d4]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1003a364
mov edx, dword [0x101096d4]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1003a364
jmp 0x1003a2be
jmp 0x1003a318
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003a430
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a427
mov eax, dword [ebp - 0x18]
mov dword [0x101096d4], eax
mov ecx, dword [0x101096d4]
mov dword [ecx], 0x52727464
mov edx, dword [0x101096d4]
mov dword [edx + 8], 0
mov eax, dword [0x101096d4]
mov ecx, dword [0x101096d0]
mov dword [eax + 4], ecx
mov edx, dword [0x101096d4]
mov dword [0x101096d0], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x101096d4]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1003a3f7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1003a417
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1003a3ee
mov eax, dword [0x101096d4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1003a2be
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402090
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, esp
mov dword [esi + 8], ebp
lea eax, [ebp + 8]
mov edx, esp
mov dword [esi + 0x64], edx
mov dword [esi + 0x70], 0xffffffff
lea edx, [esi + 0x68]
mov dword [esi + 0x6c], 0x405cc0
mov edi, dword fs:[0]
mov dword [esi + 0x68], edi
mov dword fs:[0], edx
mov edx, eax
add edx, 8
mov dword [esi + 0xc], edx
add eax, 0x20
mov dword [esi + 0x10], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x5c], 0x40e8bea0
mov dword [esi + 0x58], 0
mov byte [esi + 0x57], 0
mov dword [esi + 0x4c], 0x40e00160
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0x107c
mov dword [esi + 0x3c], 0x40f47240
mov dword [esi + 0x38], 0
mov dword [esi + 0x34], 0x40d37500
mov dword [esi + 0x30], 0
mov dword [esi + 0x70], 1
mov eax, esp
mov dword [eax], str.kiskcurkkgxmfmanlrkqfqqrnesraogndtxowjqopaearbvffpmybtvxqkofvkyaxpxenwwppnruidbpmtpeqszfsnygfd
lea ecx, [esi + 0x18]
call fcn.00405d20
sub esp, 4
jmp 0x40213e
mov dword [esi + 0x14], 0x60
cmp dword [esi + 0x14], 0
jle 0x40215d
mov eax, dword [esi + 0x14]
add eax, 0xffffffff
mov dword [esi + 0x14], eax
jmp 0x402145
lea ecx, [esi + 0x18]
call fcn.00405de0
mov ecx, dword [esi + 0xc]
call fcn.00405de0
mov ecx, dword [esi + 0x10]
call fcn.00405de0
mov eax, dword [esi + 0x68]
mov dword fs:[0], eax
fld dword [0x423218]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x50
Function at 0x402ce0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
neg edx
bswap edx
rol eax, 0xf9
neg esi
neg edi
sub eax, 0x4d
sub edi, 0x77
inc eax
rcl edx, 0x35
not edx
rcl edx, 0xd5
bswap edi
sbb edx, 0xb2
and edi, 0xc3
ror esi, 0x4d
or edi, 0x58
bswap eax
and eax, 0x3f
rcl edi, 6
neg edx
mov esi, 0x87
rcl edi, 0x1f
bswap edi
dec edi
bswap ebx
or edx, 0x7b
inc esi
ror ebx, 0x66
inc esi
or esi, 0xbf
not ebx
sbb eax, 0x39
ror eax, 0x89
ror esi, 0x7c
bswap eax
sbb edx, 0xa4
ror eax, 0xec
rcr ebx, 0x48
rol edx, 0x85
add esi, 0x6f
ror ebx, 0x6f
neg eax
mov esi, 0xee
rcr edi, 0xff
sbb edx, 0x66
dec edx
neg esi
bswap ebx
inc esi
rol esi, 0x58
xor ecx, ecx
xor edi, edi
add ebx, 0xd0
dec edi
rcl ebx, 0xe5
rcr esi, 0x96
rol eax, 0xb2
dec eax
inc edx
imul esi
sub ebx, 0xde
not eax
or eax, 0x7b
dec ebx
and esi, 0xbe
rcl esi, 0xb4
mov edi, 0x86
bswap eax
rcr edx, 0x81
or esi, 0xb5
rol esi, 0xfb
imul edx
add eax, 0xaf
inc edx
dec eax
imul edx
ror eax, 0x64
mov edx, 0x82
inc ebx
inc ebx
imul esi
bswap eax
and edx, 0xab
add esi, 0xb8
rcr edi, 0xce
ror eax, 0xe3
sbb eax, 0x10
neg edi
not edx
rcl edx, 0xe9
and esi, 0x4f
bswap ebx
mov edi, 8
rcl esi, 0x71
neg eax
add eax, 0xa1
neg ebx
ror edi, 0xf4
rcl edi, 0x78
dec edx
inc edx
dec esi
mov ecx, dword [ebp + 0xc]
rcl ebx, 0x4f
sub edi, 0x9d
imul eax
dec edx
imul eax
imul edx
ror edx, 0x69
imul ebx
sbb ebx, 0x5d
neg eax
or ebx, 0x14
not edx
bswap edi
rol ebx, 0xcd
neg esi
rol eax, 0x97
sub ebx, 0xb1
imul edx
sbb edi, 0x95
not eax
inc esi
inc eax
rol edi, 0x32
rcl eax, 0xa0
inc edi
sbb ebx, 0xd6
inc edi
add ebx, 0xdf
not edx
inc edx
rcl eax, 0xb7
sub edi, 0xd2
imul esi
bswap ebx
dec ebx
bswap eax
and ebx, 0xc9
sbb ebx, 0xe5
neg esi
rol edx, 0x51
neg eax
dec edi
rcl edi, 0xe1
ror ebx, 0x9f
and edi, 0x9a
rcr eax, 0x42
dec ebx
bswap edi
neg esi
not edx
mov edi, dword [ebp + 8]
xor esi, esi
mov eax, eax
mov esi, esi
xor eax, esi
mov ebx, esi
xor eax, ebx
xor esi, esi
xor eax, esi
mov ebx, esi
mov esi, ebx
mov esi, esi
xor esi, eax
not byte [edi]
mov esi, eax
xor esi, ebx
mov ebx, ebx
mov ebx, ebx
xor esi, ebx
xor eax, esi
mov eax, esi
mov esi, esi
mov esi, eax
add byte [edi], 0x26
xor esi, esi
mov eax, ebx
xor eax, ebx
mov esi, ebx
mov eax, eax
mov esi, ebx
mov esi, ebx
mov esi, eax
mov eax, esi
sub byte [edi], 0x87
mov eax, eax
xor ebx, ebx
xor esi, eax
xor esi, ebx
mov esi, eax
mov ebx, ebx
xor esi, esi
xor ebx, esi
xor ebx, eax
imul byte [edi]
inc edi
loop 0x402ea3
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40987b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4098ba
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4098ba
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4098ba
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4098ba
cmp dword [ecx + 0x74], 0xe
jbe 0x4098ba
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40b334
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40b355
jl 0x40b34c
test edi, edi
jne 0x40b355
xor eax, eax
xor edx, edx
jmp 0x40b416
cmp dword [ebx + 0x38], 0
je 0x40b36a
push eax
push edi
push dword [ebp + 8]
call fcn.0040b41c
jmp 0x40b416
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40b3b1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40b3b1
cmp eax, edi
jb 0x40b38b
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.0040c280
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x40b3b7
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x40b40b
mov ecx, ebx
call fcn.0040aa20
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x40b3f6
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.00413472
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x40b40b
jmp 0x40b3c9
test edx, edx
je 0x40b40b
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.00413472
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc