joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023aa0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100449f3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 1
lea eax, [ebp - 0x2c]
push 0xffffffffffffffff
push eax
call fcn.100238c0
add esp, 0xc
xor edi, edi
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], edi
jb 0x10023aea
mov ebx, dword [eax]
jmp 0x10023aec
mov ebx, eax
push 0xc
call fcn.10030eba
mov esi, eax
add esp, 4
mov dword [ebp - 0x30], esi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x10023b19
push ebx
mov dword [esi + 4], edi
mov dword [esi + 8], 1
call fcn.10015140
mov dword [esi], eax
mov ebx, esi
jmp 0x10023b1b
xor ebx, ebx
mov byte [ebp - 4], 0
cmp ebx, edi
jne 0x10023b2d
push 0x8007000e
call fcn.100150a0
mov eax, dword [ebx]
cmp eax, edi
je 0x10023b66
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ecx, ecx
cmp ecx, esi
sbb edi, edi
and edi, esi
lea edx, [ebx + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x10023b9a
mov eax, dword [ebx]
test eax, eax
je 0x10023b81
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10023b91
push eax
call fcn.1002eeea
add esp, 4
push ebx
call fcn.1002eeea
add esp, 4
cmp dword [ebp - 0x18], 0x10
jb 0x10023bac
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1002eeea
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x10023d00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044a28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call fcn.10023bd0
push 1
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100238c0
add esp, 0x10
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 0
mov eax, edi
cmp esi, 0x10
jae 0x10023d5c
lea eax, [ebp - 0x2c]
push 0
push 0x10047a54
push eax
call fcn.1000104f
add esp, 0xc
test eax, eax
jne 0x10023d8f
cmp dword [ebp - 0x1c], eax
setne al
test eax, eax
jne 0x10023d8f
cmp esi, 0x10
jb 0x10023d88
push edi
call fcn.1002eeea
add esp, 4
xor eax, eax
jmp 0x10023e41
mov eax, edi
cmp esi, 0x10
jae 0x10023d99
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.1000186f
mov eax, dword [eax]
test eax, eax
je 0x10023dae
mov eax, dword [eax]
test eax, eax
jne 0x10023db2
xor esi, esi
jmp 0x10023de7
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ecx, ecx
cmp ecx, edi
sbb esi, esi
and esi, edi
mov edi, dword [ebp - 0x30]
test edi, edi
je 0x10023e2d
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x10023e26
test edi, edi
je 0x10023e26
mov eax, dword [edi]
test eax, eax
je 0x10023e0d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x10023e1d
push eax
call fcn.1002eeea
add esp, 4
push edi
call fcn.1002eeea
add esp, 4
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x18], 0x10
jb 0x10023e3f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.1002eeea
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret

Function at 0x10023f70
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov dword [ebp - 0x10c], 0
mov byte [ebp - 0x108], 0
call fcn.10030e40
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x108]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10023fe7
sub eax, edx
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.10004791
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x10024010
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x108], 0
call fcn.10030e40
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea edx, [ebp - 0x124]
push edx
call fcn.100237f0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x10024077
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
cmp dword [ebp - 0x110], 0x10
jb 0x1002409d
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.1002eeea
add esp, 4
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea eax, [ebp - 0x108]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100240c4
sub eax, edx
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.10004791
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x10024240
Capabilities:
Allocate or change rwx memory
Execute shellcode via windows callback function

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x403]
push ebx
mov dword [ebp - 0x44c], ebx
push eax
mov byte [ebp - 0x404], bl
call fcn.10030e40
push 0x34
lea ecx, [ebp - 0x444]
push ebx
push ecx
call fcn.10030e40
add esp, 0x18
lea edx, [ebp - 0x44c]
push edx
xor eax, eax
push 0x40
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], eax
push 0x38
lea eax, [ebp - 0x448]
push eax
mov dword [ebp - 0x448], 0x83ec8b55
mov dword [ebp - 0x444], 0x1b80cec
mov dword [ebp - 0x440], 0xf000000
mov dword [ebp - 0x43c], 0x240489a2
mov dword [ebp - 0x438], 0x4245489
mov dword [ebp - 0x434], 0x8244c89
mov dword [ebp - 0x430], 0x8b08558b
mov dword [ebp - 0x42c], 0x2892404
mov dword [ebp - 0x428], 0x8b0c558b
mov dword [ebp - 0x424], 0x89042444
mov dword [ebp - 0x420], 0x10558b02
mov dword [ebp - 0x41c], 0x824448b
mov dword [ebp - 0x418], 0xc0330289
mov dword [ebp - 0x414], 0xc35de58b
mov dword [ebp - 0x410], ebx
mov dword [ebp - 0x44c], ebx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtectEx]
push ebx
lea ecx, [ebp - 0x408]
push ecx
lea edx, [ebp - 0x40c]
push edx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x448]
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov edx, dword [ebp - 0x408]
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
push edx
push eax
push ecx
lea edx, [ebp - 0x404]
push str._08X__08X__08X
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x404]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
add esp, 0x14
mov byte [esi], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100243b1
sub eax, edx
push eax
lea eax, [ebp - 0x404]
push eax
mov ecx, esi
call fcn.10004791
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x10024b30
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044b6a
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 0x1a4], 0
xor eax, eax
push 0x18e
push eax
lea ecx, [ebp - 0x19e]
push ecx
mov dword [ebp - 4], 1
mov word [ebp - 0x1a0], ax
call fcn.10030e40
add esp, 0xc
lea edx, [ebp - 0x1a0]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp dword [ebp + 0x20], 0x10
mov eax, dword [ebp + 0xc]
jae 0x10024bb3
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x10047a54
mov ecx, esi
mov edi, eax
mov byte [esi], 0
call fcn.10004791
mov dword [ebp - 0x1a4], 1
test edi, edi
je 0x10024c1a
cmp word [edi + 8], 2
jne 0x10024c1a
mov edi, dword [edi + 0xc]
cmp dword [edi], 0
je 0x10024c1a
mov edi, dword [edi]
mov eax, dword [edi]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10024c08
sub ecx, edi
push ecx
push eax
mov ecx, esi
call fcn.10004791
call dword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [ebp + 0x20], 0x10
jb 0x10024c32
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1002eeea
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x100254c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044d19
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x38], ebx
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x10047a54
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], esi
mov byte [esi], bl
call fcn.10004791
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], ebx
call fcn.10023240
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x10025533
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_GetVolumeInformationA]
cmp dword [ebp - 0x18], 0x10
mov edi, eax
jb 0x10025558
mov edx, dword [ebp - 0x2c]
push edx
call fcn.1002eeea
add esp, 4
cmp edi, ebx
je 0x100255b5
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x30]
push str._08X
push ecx
mov byte [ebp - 0x30], bl
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x30]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100255a0
sub eax, edx
push eax
lea edx, [ebp - 0x30]
push edx
mov ecx, esi
call fcn.10004791
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x10025ed0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10044ed8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1005a4a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
push ecx
sub esp, 0x1c
mov dword [ebp - 0x14], esp
mov ecx, esp
xor esi, esi
push 0xffffffffffffffff
push esi
lea edx, [ebp + 8]
mov edi, 0xf
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], esi
push edx
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], esi
mov byte [ecx], 0
call fcn.100044e0
call fcn.10025700
add esp, 0x24
lea ebx, [esi + 0x10]
test al, al
jne 0x10025f75
cmp dword [ebp + 0x1c], ebx
jb 0x10025f51
mov eax, dword [ebp + 8]
push eax
call fcn.1002eeea
add esp, 4
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], esi
mov byte [ebp + 8], 0
cmp dword [ebp + 0x38], ebx
jb 0x10025f6c
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.1002eeea
add esp, 4
lea edx, [ebp + 0x40]
push edx
jmp 0x1002605b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x1c], ebx
jae 0x10025f83
lea eax, [ebp + 8]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10025f40
cmp word [ebp + 0x40], 8
jne 0x10026002
mov esi, dword [ebp + 0x48]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
call edi
lea ebx, [eax + 2]
test esi, esi
jne 0x10025fb4
xor eax, eax
jmp 0x10025fd9
push esi
call edi
inc eax
cmp eax, 0x3fffffff
jle 0x10025fc3
xor eax, eax
jmp 0x10025fd9
lea edi, [eax + eax]
mov eax, edi
call fcn.10030fd0
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.10001ccf
cmp dword [ebp + 0x38], 0x10
mov ecx, dword [ebp + 0x24]
jae 0x10025fe5
lea ecx, [ebp + 0x24]
push ebx
push eax
mov eax, dword [ebp - 0x14]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, 0x10
lea edi, [ebx - 1]
xor esi, esi
jmp 0x10026021
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], ebx
jae 0x1002600d
lea eax, [ebp + 0x24]
mov edx, dword [ebp - 0x14]
push 4
lea ecx, [ebp + 0x48]
push ecx
push 4
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x1c], ebx
jb 0x1002603c
mov ecx, dword [ebp + 8]
push ecx
call fcn.1002eeea
add esp, 4
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], esi
mov byte [ebp + 8], 0
cmp dword [ebp + 0x38], ebx
jb 0x10026057
mov edx, dword [ebp + 0x24]
push edx
call fcn.1002eeea
add esp, 4
lea eax, [ebp + 0x40]
push eax
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], esi
mov byte [ebp + 0x24], 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
lea esp, [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10030fba
mov esp, ebp
pop ebp
ret
Function at 0x1002bf00
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push eax
call fcn.10032ff8
add esp, 4
test eax, eax
jne 0x1002bf8c
mov ecx, dword [esi]
mov edx, dword [esi + 8]
push edi
push ecx
push 0x40
push 1
push edx
call fcn.10032fdb
mov edi, eax
cdq
add esp, 0x10
add dword [esi + 0x228], eax
adc dword [esi + 0x22c], edx
cmp edi, 0x40
jge 0x1002bf87
push ebx
mov ebx, dword [esi + 8]
mov eax, 0x40
sub eax, edi
push eax
add ebx, edi
push 0
push ebx
call fcn.10030e40
add esp, 0xc
mov byte [ebx], 0x80
mov byte [0x1005a466], 0
pop ebx
cmp edi, 0x38
jge 0x1002bf87
mov ecx, dword [esi + 0x228]
mov edx, dword [esi + 0x22c]
mov esi, dword [esi + 8]
shld edx, ecx, 3
add ecx, ecx
add ecx, ecx
add ecx, ecx
pop edi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
xor al, al
pop esi
ret
pop edi
mov al, 1
pop esi
ret
mov eax, dword [esi + 8]
push 0x40
push 0
push eax
call fcn.10030e40
add esp, 0xc
cmp byte [0x1005a466], 0
je 0x1002bfab
mov ecx, dword [esi + 8]
mov byte [ecx], 0x80
mov edx, dword [esi + 0x228]
mov eax, dword [esi + 0x22c]
mov esi, dword [esi + 8]
shld eax, edx, 3
add edx, edx
add edx, edx
add edx, edx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], edx
xor al, al
pop esi
ret

Function at 0x1002c7f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100455e0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x1005a4a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
push 0x40
mov word [esi + 0x1c], 1
mov byte [esi + 0x262], bl
mov dword [ebp - 4], ebx
call fcn.10014d08
add esp, 4
mov dword [esi + 8], eax
jmp 0x1002c85e
mov eax, dword [esi + 8]
mov dword [esi + 4], eax
mov dword [esi + 0x228], ebx
mov dword [esi + 0x22c], ebx
mov dword [esi + 0xc], 0x67452301
mov dword [esi + 0x10], 0xefcdab89
mov dword [esi + 0x14], 0x98badcfe
mov dword [esi + 0x18], 0x10325476
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d2a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100547e8
push 0x10033028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1002d304
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3d]
jmp 0x1002d39f
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x1002d32b
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3e]
jmp 0x1002d39f
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0xd8]
cmp dword [ebp + 0xc], eax
jb 0x1002d366
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 0xdc]
cmp dword [ebp + 0xc], edx
jae 0x1002d366
mov byte [ebp - 0x3f], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3f]
jmp 0x1002d39f
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x40]
jmp 0x1002d39f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002d430
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1005de90]
mov dword [ebp - 4], eax
jmp 0x1002d449
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1002d466
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
jmp 0x1002d440
mov esp, ebp
pop ebp
ret
Function at 0x1002d470
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x1005de9c], eax
je 0x1002d48e
mov eax, 0x10dd
jmp 0x1002d56f
mov eax, dword [0x1005deac]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1002d50c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x17]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1002d4ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1002d4ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1002d5c0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.1002eeea
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1002d496
mov dword [0x1005deac], 0
call fcn.1002d580
mov ecx, dword [0x1005dea8]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x1002d559
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.1002eeea
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x1002d524
mov dword [0x1005dea8], 0
mov dword [0x1005de9c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1002d9f0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1005dea0], 0
je 0x1002da09
mov eax, dword [0x1005dea0]
jmp 0x1002daa9
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1002da1b
xor eax, eax
jmp 0x1002daa9
push 8
call fcn.10030eba
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1002da71
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x1002da5a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.1002eeea
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x1005dea0], eax
mov dword [0x1005dea4], 0
mov eax, dword [ebp - 4]
jmp 0x1002daa9
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x1002da8b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1002da3b
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x1005dea8]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x1005dea8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1002e1a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100547f8
push 0x10033028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffc0
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
jne 0x1002e1e1
xor eax, eax
jmp 0x1002e298
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1002e212
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
jmp 0x1002e298
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x1002e23c
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
jmp 0x1002e298
mov edx, dword [ebp - 0x3c]
movzx eax, word [edx + 0x14]
test eax, eax
jne 0x1002e25a
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
jmp 0x1002e298
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x4c]
jmp 0x1002e298
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret