joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003b4c0
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 0x1003b4e4
jl 0x1003b4d9
test ecx, ecx
jne 0x1003b4e4
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1003b4fe
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 0x1003b54a
mov eax, dword [ebx + 0x2c]
lea edx, [ebx + 0x2c]
mov dword [ebp - 4], edx
mov eax, dword [eax]
test eax, eax
je 0x1003b550
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 0x1003b550
lea eax, [ebx + 0x2c]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
mov esi, dword [ebp + 8]
je 0x1003b5c6
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x1003b57c
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 0x1003b5b4
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 0x1003b5c6
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1003b590
test edi, edi
je 0x1003b5c6
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 0x1003ba10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x100b1010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x1003ba40
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1003ba7c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x1003ba7c
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1003bb53
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x1003baa4
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 0x1003bab0
movsx eax, bl
jmp 0x1003bae8
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 0x1003bb12
sub eax, 1
je 0x1003bb12
sub eax, 2
jne 0x1003bb53
movsx eax, byte [ebp - 0x25]
push dword [esi + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003bb30
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 0x1003bb53
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.1009823a
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.1009823a
mov esp, ebp
pop ebp
ret 4
Function at 0x1003c8e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b1010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003c99c
cmp byte [esi + 0x3d], 0
je 0x1003c99c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1003c98a
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 0x1003c951
sub eax, 1
je 0x1003c955
sub eax, 2
jne 0x1003c98a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003c973
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 0x1003c98a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1009823a
mov esp, ebp
pop ebp
ret
Function at 0x1003e270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x100b1010]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0xc], edi
nop
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, edi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.1003e070
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1003e2cb
test eax, 0x68000
jne 0x1003e2cb
mov eax, dword [esp + 0x22]
test eax, eax
je 0x1003e335
cmp eax, 5
je 0x1003e30d
xorps xmm0, xmm0
lea edx, [esp + 0x20]
mov ecx, edi
movaps xmmword [esp + 0x20], xmm0
movaps xmmword [esp + 0x30], xmm0
movq qword [esp + 0x40], xmm0
call fcn.1003e070
mov eax, dword [esp + 0x26]
cmp eax, 0xffffffff
je 0x1003e2ff
test eax, 0x68000
jne 0x1003e2ff
mov eax, dword [esp + 0x22]
jmp 0x1003e302
or eax, 0xffffffff
add esi, eax
add edi, esi
cmp esi, 5
jl 0x1003e290
jmp 0x1003e310
add esi, 4
push esi
call fcn.100988a5
add esp, 4
mov dword [esp + 0x18], eax
push 0x40
push 0x3000
push esi
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1003e34a
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.1009823a
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esp + 0xc]
push esi
push edi
push dword [esp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x20]
mov eax, edi
sub eax, ecx
mov byte [esp + 0x18], 0xe9
sub eax, 5
add esp, 0xc
mov dword [esp + 0xd], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + esi], eax
mov al, byte [esp + 0x10]
mov byte [ecx + esi + 4], al
lea eax, [esp + 0x1c]
push eax
push 0x40
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cl, 5
cmp esi, 5
jle 0x1003e3bd
mov eax, 5
nop dword [eax + eax]
inc cl
mov byte [eax + edi], 0x90
movzx eax, cl
cmp eax, esi
jl 0x1003e3b0
mov eax, dword [ebp + 0xc]
sub eax, edi
sub eax, 5
mov dword [esp + 0xd], eax
mov eax, dword [esp + 0xc]
mov dword [edi], eax
mov al, byte [esp + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x20]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
xor ecx, esp
call fcn.1009823a
mov esp, ebp
pop ebp
ret 8
Function at 0x1003e400
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
mov ecx, dword [edi]
test ecx, ecx
je 0x1003e45c
cmp dword [edi + 4], 0
je 0x1003e45c
cmp dword [edi + 8], 0
je 0x1003e45c
mov eax, dword [edi + 0xc]
lea edx, [ebp - 4]
push edx
push 0x40
push eax
push ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [edi + 0xc]
push dword [edi + 0x10]
push dword [edi]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1003e470
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b171
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b1010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x100b76f0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10186ad4]
cmp eax, dword [edx + 4]
jle 0x1003e59a
push 0x10186ad4
call fcn.1009832a
add esp, 4
cmp dword [0x10186ad4], 0xffffffff
jne 0x1003e59a
mov dword [ebp - 4], 0
mov al, 6
mov dh, al
mov byte [ebp - 0x1c], 0x6b
xor al, byte [ebp - 0x1c]
mov cl, 0x34
xor cl, byte [ebp - 0x1c]
mov ah, 0xe
mov byte [ebp - 0x1b], al
mov dl, 2
mov byte [ebp - 0x1a], cl
mov bl, 0x3f
mov cl, byte [ebp - 0x1c]
mov ch, 0xa
mov byte [ebp - 0x2d], 0x1e
xor ah, cl
mov al, byte [ebp - 0x2d]
mov bh, 0x25
xor al, cl
mov byte [ebp - 0x2e], dh
mov byte [ebp - 0x13], al
xor dl, cl
mov al, byte [ebp - 0x2e]
xor bl, cl
xor al, cl
mov byte [ebp - 0x11], 0
xor ch, cl
mov byte [ebp - 0x17], ah
xor dh, cl
mov byte [ebp - 0x12], al
xor bh, cl
mov byte [ebp - 0x19], dl
mov byte [ebp - 0x18], bl
mov cl, 4
mov byte [ebp - 0x16], ch
xor eax, eax
mov byte [ebp - 0x15], dh
mov byte [ebp - 0x14], bh
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x2c], 0x5b504004
mov dword [ebp - 0x28], 0x61776546
mov dword [ebp - 0x24], 0x6d706a41
mov word [ebp - 0x20], 0x7d70
mov byte [ebp - 0x1e], 0
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0xd
jae 0x1003e56f
mov cl, byte [ebp - 0x2c]
jmp 0x1003e560
mov ecx, dword [0x100bdcec]
lea eax, [ebp - 0x1b]
push 0
push eax
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x1e], 0
push eax
call fcn.1007d4a0
push 0x10186ad4
mov dword [0x10186adc], eax
call fcn.100982d9
add esp, 4
mov eax, dword [0x10186adc]
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret
Function at 0x1003e5c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b1b1
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100b1010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x100b76f0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10186ad0]
cmp eax, dword [edx + 4]
jle 0x1003e6ae
push 0x10186ad0
call fcn.1009832a
add esp, 4
cmp dword [0x10186ad0], 0xffffffff
jne 0x1003e6ae
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x100a7170]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0x595155
mov al, byte [ebp - 0x34]
xor byte [ebp + ecx - 0x33], al
inc ecx
cmp ecx, 0x12
jb 0x1003e640
mov byte [ebp - 0x21], 0
mov cl, 0x32
mov dword [ebp - 0x20], 0x6d667632
xor eax, eax
mov dword [ebp - 0x1c], 0x57415370
mov dword [ebp - 0x18], 0x5b465c77
mov word [ebp - 0x14], 0x4b46
mov byte [ebp - 0x12], 0
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xd
jae 0x1003e683
mov cl, byte [ebp - 0x20]
jmp 0x1003e674
mov ecx, dword [0x100bdcec]
lea eax, [ebp - 0x33]
push 0
push eax
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x12], 0
push eax
call fcn.1007d4a0
push 0x10186ad0
mov dword [0x10186af0], eax
call fcn.100982d9
add esp, 4
mov eax, dword [0x10186af0]
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret
Function at 0x1003e810
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b231
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b1010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x100b76f0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10186ad8]
cmp eax, dword [edx + 4]
jle 0x1003e92f
push 0x10186ad8
call fcn.1009832a
add esp, 4
cmp dword [0x10186ad8], 0xffffffff
jne 0x1003e92f
mov dword [ebp - 4], 0
mov al, 0x23
mov byte [ebp - 0x1c], 0x4e
mov ah, 0x2d
xor al, byte [ebp - 0x1c]
mov cl, 0x11
mov byte [ebp - 0x1b], al
mov dl, 0x38
mov al, byte [ebp - 0x1c]
mov bl, 0x2b
xor cl, al
mov byte [ebp - 0x2d], 0x3d
xor dl, al
mov byte [ebp - 0x12], 0
xor bl, al
mov byte [ebp - 0x1a], cl
xor ah, al
mov byte [ebp - 0x19], dl
mov ch, 3
mov byte [ebp - 0x17], ah
xor ch, al
mov byte [ebp - 0x18], bl
mov dh, 0x2f
mov byte [ebp - 0x16], ch
xor dh, al
mov byte [ebp - 0x12], 0
mov bh, 0x36
mov byte [ebp - 0x15], dh
xor bh, al
mov dword [ebp - 0x2c], 0x545f4f0b
mov al, byte [ebp - 0x2d]
mov cl, 0xb
xor al, byte [ebp - 0x1c]
mov byte [ebp - 0x13], al
xor eax, eax
mov byte [ebp - 0x14], bh
mov dword [ebp - 0x28], 0x6e786a49
mov dword [ebp - 0x24], 0x627f654e
mov word [ebp - 0x20], 0x727f
mov byte [ebp - 0x1e], 0
xor byte [ebp + eax - 0x2b], cl
inc eax
cmp eax, 0xd
jae 0x1003e904
mov cl, byte [ebp - 0x2c]
jmp 0x1003e8f5
mov ecx, dword [0x100bdcec]
lea eax, [ebp - 0x1b]
push 0
push eax
lea eax, [ebp - 0x2b]
mov byte [ebp - 0x1e], 0
push eax
call fcn.1007d4a0
push 0x10186ad8
mov dword [0x10186afc], eax
call fcn.100982d9
add esp, 4
mov eax, dword [0x10186afc]
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret
Function at 0x1003e960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b271
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100b1010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword fs:[0x2c]
mov edx, dword [0x100b76f0]
mov edx, dword [eax + edx*4]
mov eax, dword [0x10186ae0]
cmp eax, dword [edx + 4]
jle 0x1003ea60
push 0x10186ae0
call fcn.1009832a
add esp, 4
cmp dword [0x10186ae0], 0xffffffff
jne 0x1003ea60
mov dword [ebp - 4], 0
mov cl, 0x1e
mov dword [ebp - 0x20], 0x6841731e
xor eax, eax
mov dword [ebp - 0x1c], 0x6c517d7b
mov dword [ebp - 0x18], 0x70777977
mov byte [ebp - 0x14], 0
nop dword [eax]
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xb
jae 0x1003e9ff
mov cl, byte [ebp - 0x20]
jmp 0x1003e9f0
mov byte [ebp - 0x14], 0
mov cl, 0x32
mov dword [ebp - 0x30], 0x6d667632
xor eax, eax
mov dword [ebp - 0x2c], 0x57415370
mov dword [ebp - 0x28], 0x5b465c77
mov word [ebp - 0x24], 0x4b46
mov byte [ebp - 0x22], 0
xor byte [ebp + eax - 0x2f], cl
inc eax
cmp eax, 0xd
jae 0x1003ea35
mov cl, byte [ebp - 0x30]
jmp 0x1003ea26
mov ecx, dword [0x100bdcec]
lea eax, [ebp - 0x1f]
push 0
push eax
lea eax, [ebp - 0x2f]
mov byte [ebp - 0x22], 0
push eax
call fcn.1007d4a0
push 0x10186ae0
mov dword [0x10186ae4], eax
call fcn.100982d9
add esp, 4
mov eax, dword [0x10186ae4]
add eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1009823a
mov esp, ebp
pop ebp
ret
Function at 0x10047440
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100b1010]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [0x100b7f18]
mov cl, 0x7e
push ebx
push esi
push edi
mov eax, dword [edx]
mov dword [ebp - 0x14], 0x1f120e7e
mov dword [ebp - 0x10], 0x210c1b07
mov dword [ebp - 0xc], 0xa0c0b16
mov esi, dword [eax + 0xc]
xor eax, eax
mov byte [ebp - 8], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 0xb
jae 0x1004748f
mov cl, byte [ebp - 0x14]
jmp 0x10047480
push 0
lea eax, [ebp - 0x13]
mov byte [ebp - 8], 0
push eax
push 0x100b1324
mov ecx, edx
call esi
mov edx, dword [0x100b7f18]
mov cl, 0x48
mov dword [ebp - 0x24], 0x243d2a48
mov dword [ebp - 0x20], 0x173c2d24
mov dword [ebp - 0x1c], 0x29382521
mov eax, dword [edx]
mov word [ebp - 0x18], 0x3c2b
mov byte [ebp - 0x16], 0
mov esi, dword [eax + 0xc]
xor eax, eax
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 0xd
jae 0x100474df
mov cl, byte [ebp - 0x24]
jmp 0x100474d0
push 0
lea eax, [ebp - 0x23]
mov byte [ebp - 0x16], 0
push eax
push 0x100b1324
mov ecx, edx
call esi
mov edx, dword [0x100b7f18]
mov cl, 0x69
mov dword [ebp - 0x14], 0x1c061b69
mov dword [ebp - 0x10], 0x1a360d07
mov dword [ebp - 0xc], 0x1d1b081d
mov eax, dword [edx]
mov byte [ebp - 8], 0
mov esi, dword [eax + 0xc]
xor eax, eax
nop word [eax + eax]
xor byte [ebp + eax - 0x13], cl
inc eax
cmp eax, 0xb
jae 0x1004752f
mov cl, byte [ebp - 0x14]
jmp 0x10047520
push 0
lea eax, [ebp - 0x13]
mov byte [ebp - 8], 0
push eax
push 0x100b1324
mov ecx, edx
call esi
mov edx, dword [0x100b7f18]
mov cl, 0x3d
mov dword [ebp - 0x24], 0x5c514d3d
mov dword [ebp - 0x20], 0x624f5844
mov dword [ebp - 0x1c], 0x495c5859
mov eax, dword [edx]
mov word [ebp - 0x18], 0x55
mov esi, dword [eax + 0xc]
xor eax, eax
nop dword [eax]
xor byte [ebp + eax - 0x23], cl
inc eax
cmp eax, 0xc
jae 0x1004757f
mov cl, byte [ebp - 0x24]
jmp 0x10047570
push 0
lea eax, [ebp - 0x23]
mov byte [ebp - 0x17], 0
push eax
push 0x100b1324
mov ecx, edx
call esi
mov edi, dword [0x100b7f18]
mov cl, 0x35
mov byte [ebp - 0x14], 0x59
mov dl, 0x38
xor cl, byte [ebp - 0x14]
mov bl, 0x20
mov byte [ebp - 0x25], dl
mov ch, 0x2b
mov eax, dword [edi]
mov dh, 6
mov byte [ebp - 0x12], cl
mov bh, 0x2a
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0x26], bl
xor ch, cl
mov esi, dword [eax + 0xc]
xor dl, cl
mov al, 0x29
mov byte [ebp - 0xe], ch
xor al, byte [ebp - 0x14]
mov ah, 0x3c
mov byte [ebp - 0x13], al
xor ah, cl
mov al, byte [ebp - 0x25]
xor bl, cl
xor al, cl
mov byte [ebp - 0xf], ah
mov byte [ebp - 0xb], al
xor dh, cl
mov al, byte [ebp - 0x26]
xor bh, cl
xor al, cl
mov byte [ebp - 9], 0
mov byte [ebp - 0xa], al
mov ecx, edi
push 0
lea eax, [ebp - 0x13]
mov byte [ebp - 0x11], dl
push eax
push 0x100b1324
mov byte [ebp - 0x10], bl
mov byte [ebp - 0xd], dh
mov byte [ebp - 0xc], bh
mov byte [ebp - 9], 0
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009823a
mov esp, ebp
pop ebp
ret
Function at 0x1004a2d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0x40
mov ebx, edx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movzx eax, byte [ebp + 0x10]
push edi
push eax
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x100bf864], 0
push ebx
push esi
push edi
mov edi, edx
mov esi, ecx
jne 0x1004c75a
xor ebx, ebx
nop dword [eax]
mov edx, ebx
mov eax, ebx
shr eax, 1
and edx, 1
neg edx
and edx, 0xedb88320
xor edx, eax
mov eax, edx
shr edx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, edx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [ebx*4 + 0x100bf860], eax
inc ebx
cmp ebx, 0x100
jb 0x1004c6c0
mov ebx, dword [ebp + 8]
not ebx
mov eax, ebx
test edi, edi
jle 0x1004c786
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x100bf860]
sub edi, 1
jne 0x1004c765
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1004c7b8
nop dword [eax]
cmp cl, 0x23
jne 0x1004c79f
cmp byte [esi], cl
jne 0x1004c79f
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 + 0x100bf860]
test cl, cl
jne 0x1004c790
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
Function at 0x1004cd00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x1004cd12
mov dword [edi], 0
push 0x100a40f0
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1004cd2b
pop edi
pop esi
pop ebp
ret
push ebx
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 0x1004cdd7
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1004cdd7
push 0
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 0x1004cdd7
mov eax, dword [0x100b10e0]
push ebx
inc dword [eax + 0x308]
mov eax, dword [eax + 0xb4]
call eax
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
je 0x1004cdd7
push esi
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, ebx
je 0x1004cdc0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100b10e0]
push dword [ebp + 8]
dec dword [eax + 0x308]
mov eax, dword [eax + 0xb8]
call eax
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x1004cdcf
mov dword [edi], ebx
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret