joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100442c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, 0x1008b879
call fcn.1008a92c
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.1004550a
lea edi, [esi + 0x80]
xor ebx, ebx
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10058600
mov byte [ebp - 4], 1
lea ecx, [esi + 0xd4]
mov dword [esi], vtable.GlRender.0
mov dword [edi], vtable.GlRender.1.0
call fcn.100446bf
mov byte [ebp - 4], 2
mov byte [ebp - 0x1f], 0x7c
mov byte [ebp - 0x1e], 0x6c
mov byte [ebp - 0x1d], 0x71
mov byte [ebp - 0x1c], 0x58
mov byte [ebp - 0x1b], 0x7c
mov byte [ebp - 0x1a], 0x66
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x17], 0x7a
mov byte [ebp - 0x16], 0x6b
mov byte [ebp - 0x15], 0x6b
mov byte [ebp - 0x14], 0x6a
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x12], 0x78
mov byte [ebp - 0x11], bl
mov al, byte [ebp - 0x1f]
sub byte [ebp + ebx - 0x1f], 5
inc ebx
cmp ebx, 0xe
jb 0x1004434d
lea eax, [ebp - 0x1f]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10044384
push 1
push 1
push 0x10044268
push eax
mov ecx, edi
call fcn.10057000
mov dword [0x100e2990], esi
mov byte [esi + 4], 1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x100450a2
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov byte [esp + 0x17], 0x50
mov byte [esp + 0x18], 0x75
mov byte [esp + 0x19], 0x7f
mov byte [esp + 0x1a], 0x7c
mov byte [esp + 0x1b], 0x6d
mov byte [esp + 0x1c], 0x80
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1e], 0x74
mov byte [esp + 0x1f], 0x59
mov byte [esp + 0x20], 0x71
mov byte [esp + 0x21], 0x7f
mov byte [esp + 0x22], 0x7f
mov byte [esp + 0x23], 0x6d
mov byte [esp + 0x24], 0x73
push ebx
mov byte [esp + 0x29], 0x71
xor ebx, ebx
mov byte [esp + 0x2a], 0x4d
mov byte [esp + 0x2b], bl
mov al, byte [esp + 0x1b]
push esi
mov esi, ecx
mov eax, ebx
sub byte [esp + eax + 0x1f], 0xc
inc eax
cmp eax, 0x10
jb 0x1004510b
mov byte [esp + 9], 0x57
mov byte [esp + 0xa], 0x75
mov byte [esp + 0xb], 0x67
mov byte [esp + 0xc], 0x74
mov byte [esp + 0xd], 0x35
mov byte [esp + 0xe], 0x34
mov byte [esp + 0xf], bl
mov al, byte [esp + 9]
mov eax, ebx
sub byte [esp + eax + 9], 2
inc eax
cmp eax, 6
jb 0x1004513e
push 1
push 1
push 0x10044e9c
push ecx
lea eax, [esp + 0x2f]
push eax
lea eax, [esp + 0x1d]
push eax
call fcn.10058de0
pop ecx
push eax
mov ecx, esi
call fcn.10057000
mov dword [esp + 0x30], 0x5c
mov edx, ebx
mov byte [esp + 0x34], 0x18
mov byte [esp + 0x35], 0x35
mov byte [esp + 0x36], 0x2f
mov byte [esp + 0x37], 0x2c
mov byte [esp + 0x38], 0x3d
mov byte [esp + 0x39], 0x28
mov byte [esp + 0x3a], 0x3f
mov byte [esp + 0x3b], 0x34
mov byte [esp + 0x3c], 0x11
mov byte [esp + 0x3d], 0x39
mov byte [esp + 0x3e], 0x2f
mov byte [esp + 0x3f], 0x2f
mov byte [esp + 0x40], 0x3d
mov byte [esp + 0x41], 0x3b
mov byte [esp + 0x42], 0x39
mov byte [esp + 0x43], 0xb
mov al, byte [esp + 0x34]
mov byte [esp + 0x44], bl
mov al, byte [esp + edx + 0x34]
mov ecx, dword [esp + 0x30]
xor cl, al
mov byte [esp + edx + 0x34], cl
inc edx
cmp edx, 0x10
jb 0x100451cd
mov byte [esp + 0x44], bl
mov edx, ebx
mov dword [esp + 0x10], 3
mov byte [esp + 0x14], 0x56
mov byte [esp + 0x15], 0x70
mov byte [esp + 0x16], 0x66
mov byte [esp + 0x17], 0x71
mov byte [esp + 0x18], 0x30
mov byte [esp + 0x19], 0x31
mov al, byte [esp + 0x14]
mov byte [esp + 0x1a], bl
mov al, byte [esp + edx + 0x14]
mov ecx, dword [esp + 0x10]
xor cl, al
mov byte [esp + edx + 0x14], cl
inc edx
cmp edx, 6
jb 0x10045215
push 1
push 1
push 0x10044e9c
push ecx
lea eax, [esp + 0x44]
mov byte [esp + 0x2a], bl
push eax
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.10058de0
pop ecx
push eax
mov ecx, esi
call fcn.10057000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10046684
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1008bd9a
call fcn.1008a92c
sub esp, 0x24c
push ebx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
and dword [esi], eax
push edi
push 0x24
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call fcn.1007b2fb
pop ecx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0xc]
xor eax, eax
inc ebx
mov dword [ebp - 4], ebx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 8
mov byte [ebp - 4], 2
pop edi
push dword [esi + 4]
mov dword [esi + 0x18], 7
push 0x10
mov dword [esi + 0x1c], edi
mov dword [esi], 0x3f800000
call fcn.10006f71
and dword [ebp - 4], 0
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100467a8
lea eax, [ebp - 0x258]
mov dword [ebp - 0x258], 0x224
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32First]
jmp 0x1004679d
mov al, byte [ebp - 0x238]
lea edi, [ebp - 0x238]
jmp 0x1004674f
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll_toupper]
mov byte [edi], al
inc edi
pop ecx
mov al, byte [edi]
test al, al
jne 0x1004673f
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x34]
call fcn.10006b70
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.100077af
mov ecx, dword [eax]
mov eax, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
mov dword [ecx + 0x20], eax
lea ecx, [ebp - 0x34]
call fcn.10006f19
lea eax, [ebp - 0x258]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Module32Next]
test eax, eax
jne 0x10046731
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1004b4ac
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x14
jb 0x1004b4b2
pop edi
mov byte [esi + 0x18], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b4d0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x11
jb 0x1004b4d6
pop edi
mov byte [esi + 0x15], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b503
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0xd
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b510
mov byte [edi + 0x11], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b525
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0xd
jb 0x1004b52b
pop edi
mov byte [esi + 0x11], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b584
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x24
jb 0x1004b58a
pop edi
mov byte [esi + 0x28], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b5a8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x28
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b5b5
mov byte [edi + 0x2c], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b5ca
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x23
jb 0x1004b5d0
pop edi
mov byte [esi + 0x27], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b5ee
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x1d
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b5fb
mov byte [edi + 0x21], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x1c
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b61d
mov byte [edi + 0x20], bl
pop edi
pop esi
pop ebx
ret
Function at 0x1004b632
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x15
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b63f
mov byte [edi + 0x19], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b663
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x13
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b670
mov byte [edi + 0x17], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b694
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x1a
jb 0x1004b69a
pop edi
mov byte [esi + 0x1e], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b6b8
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x10
jb 0x1004b6be
pop edi
mov byte [esi + 0x14], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b6dc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x12
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b6e9
mov byte [edi + 0x16], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b6fe
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x11
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b70b
mov byte [edi + 0x15], bl
pop edi
pop esi
pop ebx
ret

Function at 0x1004b779
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov esi, ecx
xor eax, eax
mov dl, byte [esi + eax + 4]
mov ecx, dword [esi]
add cl, al
xor cl, dl
mov byte [esi + eax + 4], cl
inc eax
cmp eax, 0x13
jb 0x1004b77f
pop edi
mov byte [esi + 0x17], 0
lea eax, [esi + 4]
pop esi
ret

Function at 0x1004b7d9
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
push 0x16
pop ebx
lea eax, [edi + 4]
mov esi, eax
mov dl, byte [esi]
mov ecx, dword [edi]
xor cl, dl
mov byte [esi], cl
inc esi
sub ebx, 1
jne 0x1004b7e6
mov byte [edi + 0x1a], bl
pop edi
pop esi
pop ebx
ret
Function at 0x100546a9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, ecx
mov dword [ebp - 4], edx
push edi
push eax
mov dword [ebp - 8], eax
xor edi, edi
xor esi, esi
xor ebx, ebx
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
jne 0x10054732
cmp ebx, edi
jne 0x100546ed
lea eax, [edi + 0x3e8]
mov edx, edi
push eax
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.100533eb
pop ecx
test eax, eax
je 0x10054744
mov edi, dword [ebp - 0xc]
mov esi, eax
call dword [sym.imp.msvcrt.dll__errno]
push dword [ebp - 8]
and dword [eax], 0
mov eax, edi
sub eax, ebx
push eax
lea eax, [ebx + esi]
push 1
push eax
call dword [sym.imp.msvcrt.dll_fread]
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call dword [sym.imp.msvcrt.dll_ferror]
add esp, 0x14
test eax, eax
jne 0x10054769
push dword [ebp - 8]
add ebx, dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_feof]
pop ecx
test eax, eax
je 0x100546cc
cmp ebx, edi
jne 0x100547a2
lea eax, [edi + 1]
mov edx, edi
push eax
mov ecx, esi
call fcn.100533eb
pop ecx
test eax, eax
jne 0x100547a0
push str.out_of_memory
push 0xc8
push dword [ebp - 4]
call fcn.10035010
add esp, 0xc
test esi, esi
je 0x10054765
push esi
call dword [0x10094214]
pop ecx
xor eax, eax
jmp 0x100547c2
mov edi, dword [sym.imp.msvcrt.dll__errno]
call edi
cmp dword [eax], 0
je 0x10054783
call edi
push dword [eax]
call dword [sym.imp.msvcrt.dll_strerror]
pop ecx
jmp 0x10054788
mov eax, str.Error_reading_file
push eax
push 0x100a9c3c
push 0xc8
push dword [ebp - 4]
call fcn.10035010
add esp, 0x10
jmp 0x10054759
mov esi, eax
mov edx, dword [ebp - 4]
push ecx
mov ecx, esi
mov byte [ebx + esi], 0
call fcn.10054552
mov edi, eax
pop ecx
test esi, esi
je 0x100547c0
push esi
call dword [0x10094214]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10055590
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov dword [esp], 0x69
mov byte [esp + 4], 3
mov byte [esp + 5], 4
mov byte [esp + 6], 0x19
mov byte [esp + 7], 0x49
mov byte [esp + 8], 0x59
mov byte [esp + 9], 0x11
mov byte [esp + 0xa], 0x4c
mov byte [esp + 0xb], 0x59
mov byte [esp + 0xc], 0x51
mov byte [esp + 0xd], 0x11
mov al, byte [esp + 4]
mov byte [esp + 0xe], 0
xor eax, eax
nop dword [eax]
mov cl, byte [esp + eax + 4]
mov edx, dword [esp]
xor dl, cl
mov byte [esp + eax + 4], dl
inc eax
cmp eax, 0xa
jb 0x100555e0
push dword [ebp + 8]
lea eax, [esp + 8]
mov byte [esp + 0x12], 0
push eax
push dword [ebp + 0xc]
call fcn.10058150
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x10055620
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
mov dword [esp], 4
mov byte [esp + 4], 0x67
mov byte [esp + 5], 0x65
mov byte [esp + 6], 0x68
mov byte [esp + 7], 0x68
mov byte [esp + 8], 0x24
mov byte [esp + 9], 0x34
mov byte [esp + 0xa], 0x7c
mov byte [esp + 0xb], 0x21
mov byte [esp + 0xc], 0x34
mov byte [esp + 0xd], 0x3c
mov byte [esp + 0xe], 0x7c
mov al, byte [esp + 4]
mov byte [esp + 0xf], 0
xor eax, eax
mov cl, byte [esp + eax + 4]
mov edx, dword [esp]
xor dl, cl
mov byte [esp + eax + 4], dl
inc eax
cmp eax, 0xb
jb 0x10055672
push dword [ebp + 8]
lea eax, [esp + 8]
mov byte [esp + 0x13], 0
push eax
push dword [ebp + 0xc]
call fcn.10058150
add esp, 0xc
mov esp, ebp
pop ebp
ret 8
Function at 0x10056ef0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x28]
lea ebp, [esi + 1]
push 0
xor edx, edx
mov ecx, edi
call fcn.100583e0
add esp, 4
test eax, eax
cmove eax, ebp
add esi, eax
add edi, eax
cmp esi, 5
jb 0x10056f02
mov ebp, dword [esp + 0x28]
push ecx
push ebp
mov ecx, ebx
call fcn.10058c70
push esi
mov ebx, eax
push ebp
push ebx
call fcn.10058bb0
add ebx, eax
mov ecx, ebx
call fcn.100556b0
mov dword [esp + 0x10], 0x52
mov byte [esp + 0x14], 0x22
mov byte [esp + 0x15], 0x27
mov byte [esp + 0x16], 0x21
lea edi, [ebx + eax]
mov byte [esp + 0x17], 0x3a
mov byte [esp + 0x18], 0x72
mov byte [esp + 0x19], 0x37
mov byte [esp + 0x1a], 0x21
mov byte [esp + 0x1b], 0x22
mov al, byte [esp + 0x14]
mov byte [esp + 0x1c], 0
xor eax, eax
nop dword [eax]
mov cl, byte [esp + eax + 0x14]
mov edx, dword [esp + 0x10]
xor dl, cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jb 0x10056f80
lea eax, [esp + 0x14]
mov byte [esp + 0x1c], 0
push eax
push edi
call fcn.10058150
add esp, 8
add edi, eax
push edi
push dword [esp + 0x30]
call fcn.10055620
add edi, eax
mov ecx, edi
call fcn.10056280
push esi
add edi, eax
push ebp
push edi
call fcn.10055530
add edi, eax
lea eax, [esi + ebp]
push edi
push eax
call fcn.10055590
push ebp
push ebx
call fcn.10055590
sub esi, eax
mov edx, esi
lea ecx, [eax + ebp]
call fcn.10058000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret 8
Function at 0x10057fa0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
lea eax, [esp + 4]
push ebp
push esi
push eax
push 0x40
mov ebp, ecx
mov dword [esp + 0x14], 0
push ebx
push ebp
mov esi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push ebp
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x10058000
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push esi
push edi
mov edi, edx
mov esi, ecx
test edi, edi
je 0x10058076
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ebx, edi
nop word [eax + eax]
lea eax, [esp + 0x14]
mov byte [esp + 0x10], 0x90
push eax
push 0x40
push 1
push esi
mov dword [esp + 0x24], 0
call ebp
push 0
push 1
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push 1
push esi
call ebp
push 1
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
inc esi
sub ebx, 1
jne 0x10058020
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x10058080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
push ebx
push esi
mov ebx, edx
mov esi, ebx
push edi
mov edi, ecx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10058098
sub esi, ecx
cmp esi, 0x100
jae 0x10058143
push 0x228
lea eax, [esp + 0x14]
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [esp + 0x18], edi
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 0
push ebx
push 0x100
push eax
call dword [sym.imp.msvcrt.dll_strcpy_s]
add esp, 0xc
mov byte [esp + 0x10], 0
lea ecx, [esp + 0x10]
call fcn.10060280
test eax, eax
je 0x10058143
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 0xc]
push eax
push 0x40
push dword [esp + 0x28]
mov dword [esp + 0x18], 0
push edi
call esi
push 0
push dword [esp + 0x24]
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x10]
push dword [esp + 0x28]
push edi
call esi
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10058860
Capabilities:
Enumerate pe sections
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c060
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push ebx
xor bl, bl
push 0
mov byte [ebp - 0xd], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10058979
push esi
push edi
push 0x104
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x224]
push 0x100a9d98
push eax
call dword [sym.imp.msvcrt.dll__wfopen]
mov esi, dword [sym.imp.msvcrt.dll_fseek]
mov ebx, eax
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.msvcrt.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
push edi
call fcn.1007b845
push ebx
push 1
mov esi, eax
push edi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.msvcrt.dll_fread]
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
mov eax, 0x5a4d
add esp, 0x3c
cmp word [esi], ax
jne 0x1005896b
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x1005896b
movzx eax, word [ecx + 0x14]
xor esi, esi
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
mov dword [ebp - 0x18], eax
test ebx, ebx
je 0x10058968
mov edi, eax
nop dword [eax]
mov eax, edi
mov ecx, str..bind
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10058957
test dl, dl
je 0x10058953
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10058957
add ecx, 2
add eax, 2
test dl, dl
jne 0x10058937
xor eax, eax
jmp 0x1005895c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1005898c
inc esi
add edi, 0x28
cmp esi, ebx
jl 0x10058930
mov esi, dword [ebp - 0x14]
mov bl, byte [ebp - 0xd]
push esi
call fcn.1007b78b
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov al, bl
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0x18]
lea eax, [esi + esi*4]
mov esi, dword [ebp - 0x14]
lea edx, [ecx + eax*8]
mov eax, dword [ebp + 0x10]
mov bl, 1
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov ecx, dword [edx + 0x10]
cmp ecx, dword [edx + 8]
mov eax, dword [ebp + 0x14]
cmovbe ecx, dword [edx + 8]
mov dword [eax], ecx
jmp 0x1005896e
Function at 0x100589c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c07d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x148
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, ecx
mov dword [ebp - 0x14], esi
test edi, edi
jne 0x10058a0c
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp 0x10058b8b
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push edi
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.msvcrt.dll_strlen]
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push edi
call fcn.10007ea9
cmp dword [ebp - 0x1c], 0x10
lea eax, [esi + 0x14]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x18], eax
cmovae esi, dword [ebp - 0x30]
mov edx, 0x811c9dc5
xor ecx, ecx
cmp dword [ebp - 0x20], ecx
jbe 0x10058a67
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x20]
jb 0x10058a52
mov eax, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, eax
call fcn.1005b3c0
mov esi, dword [eax + 4]
test esi, esi
jne 0x10058a84
mov esi, dword [ebp - 0x14]
mov esi, dword [esi + 0x18]
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x10058ab8
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058aae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058ba0
push ecx
push edx
call fcn.1007b75a
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp esi, dword [eax + 0x18]
jne 0x10058b86
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push edi
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x34], 0
call dword [sym.imp.msvcrt.dll_strlen]
add esp, 4
lea ecx, [ebp - 0x48]
push eax
push edi
call fcn.10007ea9
push edi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x10058b46
push edi
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..dll
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x158]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x10058b46
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x48]
push eax
call fcn.100598f0
mov dword [eax], esi
mov ecx, dword [ebp - 0x34]
cmp ecx, 0x10
jb 0x10058b89
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10058b7a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10058ba5
push ecx
push edx
call fcn.1007b75a
add esp, 8
jmp 0x10058b89
mov esi, dword [esi + 0x20]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.1007c7c0
call fcn.1007c7c0
int3