joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10010000
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100221ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov eax, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], esi
call fcn.1000f000
mov dword [esp + 0x5c], 0
mov dword [esi + 0x24], 0x1001ab5c
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebp, [esp + 0x14]
lea edi, [esi + 0x68]
mov ebx, 0x10
mov eax, dword [ebp]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [fcn.1001aa74]
mov dword [edi], eax
add ebp, 4
add edi, 4
dec ebx
jne 0x100100c7
mov ebx, 1
push 0x110
mov byte [esp + 0x60], bl
mov dword [esi], 0x1001ab54
mov byte [esi + 0x13], bl
mov dword [esi + 0x18], 8
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x64], eax
test eax, eax
mov byte [esp + 0x5c], 2
je 0x10010123
push 0x64
push 0
push 8
mov ecx, eax
call fcn.10012000
jmp 0x10010125
xor eax, eax
push ebx
push 0
push 0
push esi
push 0x10010720
push 0
push 0
mov byte [esp + 0x78], bl
mov dword [esi + 0xa8], eax
mov byte [esi + 0x10], bl
mov byte [esi + 0x12], 0
mov byte [esi + 0x11], 0
mov byte [esi + 0x14], 0
call fcn.10014080
push ebx
push 0
push 0
push esi
push 0x10010790
push 0
push 0
mov dword [esi + 0x1c], eax
call fcn.10014080
mov ecx, dword [esp + 0x8c]
add esp, 0x38
mov dword [esi + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x10012470
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
push edi
xor edi, edi
cmp ebx, edi
mov esi, ecx
je 0x1001264a
cmp dword [esi + 0x1c], edi
je 0x1001264a
call fcn.10012b20
lea ebp, [esi + 4]
push 1
push ebp
mov ecx, esi
mov dword [esi + 0x20], edi
call fcn.10012900
lea eax, [esp + 0x14]
push eax
call dword [0x1001aa20]
lea ecx, [esp + 0x14]
push 8
push ecx
mov ecx, esi
call fcn.10012900
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x14
push edx
call dword [0x1001aa24]
test eax, eax
je 0x1001252e
cmp dword [esp + 0x20], 1
jne 0x1001252e
mov ecx, dword [esp + 0x24]
lea eax, [esi + 0xcc]
cmp ecx, dword [eax]
je 0x100124f3
inc edi
add eax, 4
cmp edi, 0x10
jl 0x100124e6
push 0x100186f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
push 0x100186e0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esp + 0x24]
push eax
call dword [0x1001aa28]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp edi, 0x10
jne 0x10012526
or edi, 0xffffffff
mov ebx, dword [esp + 0x34]
mov eax, edi
jmp 0x10012531
or eax, 0xffffffff
lea ecx, [esp + 0x13]
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x1b], al
call fcn.10012900
cmp byte [ebp], 2
jne 0x10012599
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x44]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esi + 0x80]
push eax
push ecx
push edx
mov ecx, esi
call fcn.10012b60
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x20]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x1c]
add edx, eax
mov eax, dword [esi + 0x60]
push ecx
mov ecx, dword [esi + 0x78]
push edx
push eax
push ecx
mov ecx, esi
call fcn.10012bd0
mov ecx, dword [esi + 0x20]
pop edi
add eax, ecx
mov dword [ebx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
mov ebp, dword [esp + 0x18]
xor edx, edx
lea eax, [ebp - 0x13]
test eax, eax
setl dl
dec edx
and edx, eax
mov eax, dword [0x10022fa4]
cmp ebp, eax
mov edi, edx
je 0x100125c6
push edi
mov ecx, esi
call fcn.10012660
test al, al
je 0x100125c6
add edi, 0x13
jmp 0x100125c9
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x100125e7
push edi
mov ecx, esi
call fcn.10012660
test al, al
je 0x100125dd
add edi, 0x13
mov eax, dword [esi + 0x2c]
add edi, 0x13
cmp edi, eax
jl 0x100125ce
mov eax, dword [esp + 0x18]
mov ecx, 0x13
mov dword [0x10022fa4], eax
mov eax, dword [esi + 0x30]
add eax, 3
lea edi, [esi + 0x14]
cdq
idiv ecx
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
mov dword [ebx], edx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jae 0x10012633
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call ebp
call ebx
mov edx, dword [edi]
mov ecx, dword [esi + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x10012622
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
Function at 0x10014080
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x30
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x15], cl
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], cl
mov cl, 0x74
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 2], al
mov byte [esp + 5], al
mov byte [esp + 8], al
mov byte [esp + 4], cl
mov byte [esp + 0xa], cl
lea eax, [esp]
push esi
lea ecx, [esp + 0x14]
mov dl, 0x6e
push eax
push ecx
mov byte [esp + 0x1c], 0x6b
mov byte [esp + 0x1e], 0x72
mov byte [esp + 0x1f], dl
mov byte [esp + 0x22], 0x33
mov byte [esp + 0x23], 0x32
mov byte [esp + 0x24], 0x2e
mov byte [esp + 0x25], 0x64
mov byte [esp + 0x28], 0
mov byte [esp + 0xc], 0x43
mov byte [esp + 0xd], 0x72
mov byte [esp + 0xf], 0x61
mov byte [esp + 0x12], 0x45
mov byte [esp + 0x13], 0x76
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push 0
mov dword [esp + 0x28], edx
mov dl, byte [esp + 0x54]
push 0
push 0
push 0
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], dl
call eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x4c]
lea edx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push section.CCCCC31
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
mov edx, dword [esp + 0x48]
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
add esp, 0x30
ret

Function at 0x10014190
Capabilities:
Enumerate processes

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
push 0x128
mov dword [esp + 0x14], edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov esi, eax
push esi
push edi
mov dword [esi], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x1001420e
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.MSVCRT.dll__strcmpi]
lea edi, [esi + 0x24]
push ebx
push edi
call ebp
add esp, 8
test eax, eax
jne 0x100141e5
mov eax, dword [esi + 8]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push esi
push eax
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x1001420e
push ebx
push edi
call ebp
add esp, 8
test eax, eax
je 0x100141dc
mov ecx, dword [esp + 0x10]
push esi
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x100141f4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10015000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov cl, 0x6c
mov al, 0x65
mov byte [esp + 0x21], cl
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], cl
mov cl, 0x74
mov byte [esp + 0x1d], al
mov byte [esp + 0x20], al
mov byte [esp + 0xe], al
mov byte [esp + 0x11], al
mov byte [esp + 0x14], al
mov byte [esp + 0x10], cl
mov byte [esp + 0x16], cl
lea eax, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [esp + 0x20]
mov bl, 0x72
mov dl, 0x6e
push eax
push ecx
mov dword [esi], 0x1001ab74
mov byte [esp + 0x28], 0x6b
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x33
mov byte [esp + 0x2f], 0x32
mov byte [esp + 0x30], 0x2e
mov byte [esp + 0x31], 0x64
mov byte [esp + 0x34], 0
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], bl
mov byte [esp + 0x1b], 0x61
mov byte [esp + 0x1e], 0x45
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], dl
mov byte [esp + 0x23], 0x41
mov byte [esp + 0x24], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push 0x100185e4
mov ebx, eax
call edi
push 0
push 0
push 0
push 0
mov dword [0x10022fbc], eax
call ebx
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.10015250
test al, al
je 0x10015151
mov al, byte [0x10022fb8]
test al, al
jne 0x10015151
mov edx, dword [0x10022fbc]
push 0x10018954
push edx
call ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x80000000
push 0x10022d10
push 0x1001894c
push ebx
call eax
mov ebx, dword [sym.imp.MSVCRT.dll_putchar]
push 0x1c
mov dword [esi + 0x10], eax
call ebx
add esp, 4
push 0x1001893c
call edi
mov edi, eax
push 0x10018924
push edi
call ebp
mov ecx, dword [esi + 0x10]
push 0
push ecx
push 0
push 0
push 0
push 0
push 0x50000000
push 0x10018918
call eax
push 0x1c
mov dword [esi + 0x14], eax
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0xc02aec
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0xc17008], 0x8088405
inc edx
mov dword [ebx + 0xc17008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0xc02f44
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0xc1701c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0xc02fdc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0xc02fbc
xor eax, eax
push ebp
push 0xc02fb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0xc02ff8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc02fbc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0xc1701c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0xc1701c], ax
mov esp, ebp
pop ebp
ret

Function at 0xc03930
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0xc18044], 0
je 0xc03991
cmp word [0xc18218], 0xd7b2
jne 0xc03959
cmp dword [0xc18220], 0
jbe 0xc03959
mov eax, 0xc18214
call dword [0xc18230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0xc17064
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0xc039b8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0xc17028], 0
jne 0xc039ad
push 0
push 0xc1705c
push 0xc17064
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0xc03aec
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00c0287c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0xc18045], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0xc03ab4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0xc04e54
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0xc04eba
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00c03d8c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00c02b08
mov ebx, eax
cmp dword [ebp - 4], 0
je 0xc04ea4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc04ec1
lea eax, [ebp - 0x10]
call fcn.00c03b38
ret

Function at 0xc07394
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0xc073cd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00c03c28
jmp 0xc073d6
mov eax, ebx
mov edx, esi
call fcn.00c03b8c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0xc073e0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0xc07401
mov al, byte [esp]
jmp 0xc07403
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0xc07a98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0xc07900
mov eax, dword [0xc17aac]
cmp byte [eax], 0
je 0xc07b14
mov eax, dword [0xc17a08]
call fcn.00c02a68
call fcn.00c02980
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00c06620
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0xc07b5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0xc07b4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0xc179e8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0xc18660]
call fcn.00c047e0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0xc08634
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0xc08698
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00c03d8c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00c0630c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xc0869f
lea eax, [ebp - 0xc]
call fcn.00c03b38
ret

Function at 0xc092b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, ecx
mov dword [esp], edx
mov esi, eax
test esi, esi
jne 0xc092d2
mov eax, 0xc0938c
call fcn.00c0f230
jmp 0xc092f3
cmp dword [esp], 0
jne 0xc092e4
mov eax, 0xc093b4
call fcn.00c0f230
jmp 0xc092f3
cmp ebx, 5
jae 0xc092f3
mov eax, 0xc093e0
call fcn.00c0f230
lea ebp, [ebx + 5]
mov eax, ebp
call fcn.00c0287c
mov edi, eax
lea eax, [esp + 8]
push eax
push 0x40
push ebp
push edi
call sub.kernel32.dll_VirtualProtect
lea eax, [esp + 8]
push eax
push 0x40
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
mov ecx, ebx
mov edx, esi
mov eax, edi
call fcn.00c05398
mov ebp, edi
add ebp, ebx
mov byte [ebp], 0xe9
mov edx, esi
mov eax, edi
call fcn.00c119b4
inc ebp
mov dword [ebp], eax
cmp ebx, 5
jbe 0xc0934f
mov edx, ebx
sub edx, 5
mov eax, esi
add eax, 5
call fcn.00c092ac
mov byte [esi], 0xe9
mov edx, dword [esp]
mov eax, esi
call fcn.00c119b4
mov edx, esi
inc edx
mov dword [edx], eax
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push ebx
push esi
call sub.kernel32.dll_VirtualProtect
mov dword [esp + 4], edi
mov eax, dword [esp + 4]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0xc0ed9c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test edx, edx
je 0xc0edc1
test ecx, ecx
je 0xc0edc1
push ebx
push edi
mov ebx, 0
mov edi, 0xc0edc4
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0xc0edb0
pop edi
pop ebx
ret
xor eax, eax
ret

Function at 0xc12fc0
Capabilities:
Allocate or change rwx memory

Disassembly:
add esp, 0xfffffff4
mov al, byte [0xc13140]
cmp al, byte [0xc1726c]
je 0xc13139
push 0x2b
push 0x2b
mov ecx, 0xc177e8
mov edx, dword [0xc1867c]
mov eax, dword [0xc18674]
call fcn.00c11a64
mov dword [esp], eax
push 0
mov ecx, dword [0xc1867c]
mov edx, dword [0xc18674]
mov eax, dword [esp + 4]
call fcn.00c119bc
test al, al
je 0xc13015
mov eax, 0xc13144
call fcn.00c0f7b0
mov eax, dword [esp]
mov dword [esp + 4], eax
test byte [0xc1726c], 2
je 0xc13054
lea eax, [esp + 8]
push eax
push 0x40
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov byte [eax], 0xeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
test byte [0xc1726c], 1
je 0xc130b9
mov eax, dword [esp]
sub eax, 0x28
sub eax, 0x2b
mov dword [esp], eax
mov eax, dword [esp]
cmp word [eax], 0xd74
jne 0xc130a4
lea eax, [esp + 8]
push eax
push 0x40
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov byte [eax], 0xeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0xc130b9
mov dl, byte [0xc13154]
mov eax, 0xc13160
call fcn.00c0fa34
jmp 0xc13139
test byte [0xc1726c], 4
je 0xc13139
push 0x27
push 0x11
mov ecx, 0xc1783c
mov edx, dword [0xc1867c]
mov eax, dword [esp + 0xc]
call fcn.00c11a64
mov dword [esp], eax
push 0
mov ecx, dword [0xc1867c]
mov edx, dword [0xc18674]
mov eax, dword [esp + 4]
call fcn.00c119bc
test al, al
je 0xc1310a
mov dl, byte [0xc13154]
mov eax, 0xc131ac
call fcn.00c0fa34
jmp 0xc13139
lea eax, [esp + 8]
push eax
push 0x40
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov byte [eax], 0xeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
add esp, 0xc
ret
Function at 0xc131f0
Capabilities:
Allocate or change rwx memory

Disassembly:
add esp, 0xfffffff4
mov al, byte [0xc13370]
cmp al, byte [0xc1726c]
je 0xc1336a
push 0x26
push 0x26
mov ecx, 0xc17814
mov edx, dword [0xc1867c]
mov eax, dword [0xc18674]
call fcn.00c11a64
mov dword [esp], eax
push 0
mov ecx, dword [0xc1867c]
mov edx, dword [0xc18674]
mov eax, dword [esp + 4]
call fcn.00c119bc
test al, al
je 0xc13245
mov eax, 0xc13374
call fcn.00c0f7b0
mov eax, dword [esp]
mov dword [esp + 4], eax
test byte [0xc1726c], 2
je 0xc13284
lea eax, [esp + 8]
push eax
push 0x40
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov byte [eax], 0xeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
test byte [0xc1726c], 1
je 0xc132ea
mov eax, dword [esp]
sub eax, 0x25
sub eax, 0x26
mov dword [esp], eax
mov eax, dword [esp]
dec eax
cmp word [eax], 0x7401
jne 0xc132d5
lea eax, [esp + 8]
push eax
push 0x40
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov byte [eax], 0xeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0xc132ea
mov dl, byte [0xc13384]
mov eax, 0xc13390
call fcn.00c0fa34
jmp 0xc1336a
test byte [0xc1726c], 4
je 0xc1336a
push 0x27
push 0x11
mov ecx, 0xc1783c
mov edx, dword [0xc1867c]
mov eax, dword [esp + 0xc]
call fcn.00c11a64
mov dword [esp], eax
push 0
mov ecx, dword [0xc1867c]
mov edx, dword [0xc18674]
mov eax, dword [esp + 4]
call fcn.00c119bc
test al, al
je 0xc1333b
mov dl, byte [0xc13384]
mov eax, 0xc133dc
call fcn.00c0fa34
jmp 0xc1336a
lea eax, [esp + 8]
push eax
push 0x40
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esp]
mov byte [eax], 0xeb
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 1
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
add esp, 0xc
ret
Function at 0xc13420
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
add esp, 0xfffffff4
lea ebx, [esp + 4]
mov dl, 1
mov eax, 0xc13538
call fcn.00c0e470
mov dword [esp], eax
mov cl, 1
xor edx, edx
mov eax, dword [esp]
call fcn.00c0e4f4
mov eax, dword [esp]
mov eax, dword [eax + 8]
add eax, 0xab
xor edx, edx
mov dl, byte [0xc17100]
lea edx, [edx + edx*2]
sub eax, edx
mov dword [ebx], eax
push 0
mov ecx, dword [0xc1867c]
mov edx, dword [0xc18674]
mov eax, dword [ebx]
call fcn.00c119bc
test al, al
jne 0xc13487
xor ecx, ecx
mov dx, 0xc085
mov eax, dword [ebx]
call fcn.00c11a9c
test al, al
je 0xc13491
mov eax, 0xc13548
call fcn.00c0f230
lea eax, [esp + 8]
push eax
push 0x40
push 4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, 4
mov eax, dword [ebx]
call fcn.00c092ac
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 4
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
mov ecx, 9
mov edx, 0x840fc085
mov eax, dword [ebx]
call fcn.00c11aa8
test al, al
je 0xc134e1
mov eax, 0xc13584
call fcn.00c0f230
mov eax, dword [ebx]
add eax, 0xb
mov dword [ebx], eax
lea eax, [esp + 8]
push eax
push 0x40
push 6
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebx]
mov byte [eax], 0xe9
mov eax, dword [ebx]
mov edx, eax
add edx, 2
movzx edx, byte [edx]
inc edx
inc eax
mov dword [eax], edx
mov eax, dword [ebx]
add eax, 5
mov byte [eax], 0x90
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
push 6
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_VirtualProtect
add esp, 0xc
pop ebx
ret

Function at 0xc135b8
Capabilities:
Allocate or change rwx memory

Disassembly:
add esp, 0xfffffff8
push 0xf
push 0xf
mov ecx, 0xc17864
mov edx, dword [0xc1867c]
mov eax, dword [0xc17120]
call fcn.00c11a64
mov dword [esp], eax
push 0
mov ecx, dword [0xc1867c]
mov edx, dword [0xc18674]
mov eax, dword [esp + 4]
call fcn.00c119bc
test al, al
je 0xc135fc
mov eax, 0xc136ac
call fcn.00c0f230
mov eax, dword [esp]
mov al, byte [eax]
sub al, 0x5e
je 0xc1360f
sub al, 0x8a
je 0xc13615
dec al
je 0xc1361a
jmp 0xc13626
add dword [esp], 2
jmp 0xc13630
inc dword [esp]
jmp 0xc13630
mov eax, 0xc136ec
call fcn.00c0f230
jmp 0xc13630
mov eax, 0xc1371c
call fcn.00c0f230
mov eax, dword [esp]
call fcn.00c119a4
mov dword [0xc171ac], eax
push 1
mov ecx, dword [0xc1867c]
mov edx, dword [0xc18674]
mov eax, dword [0xc171ac]
call fcn.00c119bc
test al, al
je 0xc13663
mov eax, 0xc1375c
call fcn.00c0f230
lea eax, [esp + 4]
push eax
push 0x40
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
mov edx, 0xc10fb8
mov eax, dword [esp]
dec eax
call fcn.00c119ac
mov edx, dword [esp]
mov dword [edx], eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 8]
push eax
push 4
mov eax, dword [esp + 0xc]
push eax
call sub.kernel32.dll_VirtualProtect
pop ecx
pop edx
ret