joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10082430
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 2
push esi
push ebx
call fcn.100067f0
movzx eax, bl
add esp, 0xc
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp + 9]
xor ecx, eax
movzx eax, byte [ebp + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x10c88bcc
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.100031b0
mov ecx, dword [0x10c88bd0]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x10c88bd0]
je 0x10082605
lea eax, [ebp + 8]
mov ecx, 0x10c88bcc
push eax
call fcn.100820c0
push eax
call fcn.10082130
add esp, 4
test al, al
je 0x10082605
lea eax, [ebp + 8]
mov ecx, 0x10c88bcc
push eax
call fcn.100820c0
push esi
push str.jit_function_addr__p
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x24], xmm0
call fcn.10003d00
lea eax, [esi + 0x20]
mov dword [ebp - 0x14], 0x8b11118b
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0xffff25c6
push 0x10
push eax
mov dword [ebp - 0xc], 0x11893fff
mov dword [ebp - 8], 0x11111111
call fcn.10094c60
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x10082562
lea eax, [esi + 0x1000]
push eax
lea eax, [esi - 0x1000]
push eax
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.10094c60
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10082562
push str.cant_find_emu_baseaddr
call fcn.10003d00
add esp, 4
mov eax, dword [edi + 0xc]
and eax, 0xffff0000
push eax
push str.x86_base_addr__p
mov dword [0x10113638], eax
call fcn.10003d00
push 0xa08
lea eax, [ebp - 0xa44]
push 0
push eax
call fcn.100b2da0
mov eax, dword [ebp - 0x30]
add esp, 0x14
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x8c0], eax
or ecx, 0x401020
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x1c]
mov dword [ebp - 0x8a4], eax
mov eax, dword [ebp - 0x20]
sub esp, 0xa08
mov dword [ebp - 0x89c], eax
mov edi, esp
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x8c4], ecx
mov ecx, 0x282
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa44], esi
lea esi, [ebp - 0xa44]
mov dword [ebp - 0x8b4], eax
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x440], 2
rep movsd dword es:[edi], dword [esi]
call fcn.10003fa0
add esp, 0xa0c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
Function at 0x10085170
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x100852b7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str._RequestInterrupt_Isolate_v8__QAEXP6AXPAV12_PAX_Z1_Z
push dword [0x10c88c24]
call esi
push str._NewFromUtf8_String_v8__SA_AV__MaybeLocal_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_2_H_Z
push dword [0x10c88c24]
mov dword [0x10c88c28], eax
call esi
push str._NewFromUtf8_String_v8__SA_AV__Local_VString_v8___2_PAVIsolate_2_PBDW4NewStringType_12_H_Z
push dword [0x10c88c24]
mov dword [0x10c88c30], eax
call esi
push str._GetCurrentContext_Isolate_v8__QAE_AV__Local_VContext_v8___2_XZ
push dword [0x10c88c24]
mov dword [0x10c88c34], eax
call esi
mov ecx, dword [0x10c88c34]
mov dword [0x10c88c38], eax
test ecx, ecx
je 0x1008520b
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Handle_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c88c24]
mov dword [0x10c88c2c], ecx
call esi
mov dword [0x10c88c3c], eax
test eax, eax
jne 0x10085204
push str._Compile_Script_v8__SA_AV__Local_VScript_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c88c24]
call esi
mov dword [0x10c88c3c], eax
push str._Run_Script_v8__QAE_AV__Local_VValue_v8___2_XZ
jmp 0x10085230
mov eax, dword [0x10c88c30]
test eax, eax
je 0x10085248
push str._Compile_Script_v8__SA_AV__MaybeLocal_VScript_v8___2_V__Local_VContext_v8___2_V__Local_VString_v8___2_PAVScriptOrigin_2__Z
push dword [0x10c88c24]
mov dword [0x10c88c2c], eax
call esi
mov dword [0x10c88c3c], eax
push str._Run_Script_v8__QAE_AV__MaybeLocal_VValue_v8___2_V__Local_VContext_v8___2__Z
push dword [0x10c88c24]
call esi
mov ecx, dword [0x10c88c34]
mov dword [0x10c88c40], eax
mov eax, dword [0x10c88c30]
push eax
push ecx
push str._p__p
call fcn.10003d00
push dword [0x10c88c40]
push dword [0x10c88c3c]
push dword [0x10c88c2c]
push dword [0x10c88c38]
push str._p__p__p__p
call fcn.10003d00
add esp, 0x20
cmp dword [0x10c88c38], 0
pop esi
je 0x100852b7
cmp dword [0x10c88c2c], 0
je 0x100852b7
cmp dword [0x10c88c3c], 0
je 0x100852b7
cmp dword [0x10c88c40], 0
je 0x100852b7
mov eax, dword [0x10c88c28]
test eax, eax
je 0x100852b7
mov ecx, dword [ebp + 8]
push 0
push 0x10082db0
call eax
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret
Function at 0x1008fa10
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2c35
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x1010dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
add eax, 4
mov dword [ebp - 0x20], eax
push 0x38
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
call fcn.100b1588
mov esi, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], eax
add esp, 4
lea edi, [eax + 8]
mov edx, dword [esi]
mov ecx, edx
movups xmmword [edi], xmm0
mov dword [ebp - 0x14], edi
mov dword [edi + 0x10], 0
lea eax, [ecx + 2]
mov dword [edi + 0x14], 0
mov dword [ebp + 0xc], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008fa84
sub ecx, dword [ebp + 0xc]
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000abf0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
movups xmm0, xmmword [esi + 4]
movups xmmword [edi + 0x18], xmm0
movq xmm0, qword [esi + 0x14]
movq qword [edi + 0x28], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
cmp dword [edi + 0x14], 7
mov edx, dword [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp + 0xc], edi
jbe 0x1008faf0
mov eax, dword [edi]
mov dword [ebp + 0xc], eax
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x1008fb14
mov edi, dword [ebp + 0xc]
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1008fb00
mov edi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.1008f600
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1008fb61
cmp dword [ebp - 0x1c], 0
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov byte [esi + 4], 0
je 0x1008fb4c
mov ecx, edi
call fcn.1008ff90
push 0x38
push dword [ebp - 0x1c]
call fcn.100b15b8
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
cmp eax, 0x4924924
je 0x1008fbf4
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e7720]
mov eax, dword [ecx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100e7720]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ecx]
jbe 0x1008fbc9
call fcn.10090bf0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push esi
push edi
push eax
call fcn.1008f600
mov ecx, dword [ebp - 0x10]
mov edx, dword [eax]
jmp 0x1008fbcc
mov edx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push edx
push esi
call fcn.10018ea0
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1009a062
int3
Function at 0x10093620
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x664]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100936dd
mov bl, byte [ebp + 0xc]
test bl, bl
je 0x10093664
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100936dd
push 0x104
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + eax*2 - 0x414]
nop
mov ecx, eax
sub eax, 2
cmp word [eax], 0x5c
jne 0x10093680
push edi
push 0x104
push ecx
call fcn.100bd850
add esp, 0xc
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100936dd
test bl, bl
je 0x100936ca
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100936dd
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b18e0
mov esp, ebp
pop ebp
ret

Function at 0x10093c60
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10c8988c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10c893fc]
cmp eax, dword [ecx + 4]
jg 0x10093ca9
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x10c88f48
push edi
push dword [esi]
call ebx
test eax, eax
jne 0x10093ca4
add esi, 4
cmp esi, 0x10c893f8
jne 0x10093c90
pop edi
pop esi
pop ebx
pop ebp
ret
push 0x10c893fc
call fcn.100b1a25
add esp, 4
cmp dword [0x10c893fc], 0xffffffff
jne 0x10093c7f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x101135c8
push 0x4b0
push 0x10c88f48
push eax
call sub.KERNEL32.dll_K32EnumProcessModules
push 0x10c893fc
mov dword [0x10c893f8], eax
call fcn.100b19d4
add esp, 4
jmp 0x10093c7f

Function at 0x10093cf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10093d30
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10093d30
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10093d30
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x10093d32
add eax, 4
cmp eax, ecx
jb 0x10093d25
xor eax, eax
pop ebp
ret
Function at 0x10093d40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x10093d97
mov ecx, dword [edx + 0x3c]
add ecx, edx
cmp dword [ecx], 0x4550
jne 0x10093d97
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
test byte [eax + 0x24], 0x20
jne 0x10093d79
nop dword [eax]
add eax, 0x28
test byte [eax + 0x24], 0x20
je 0x10093d70
mov ecx, dword [ebp + 0xc]
add edx, dword [eax + 0xc]
mov dword [ecx], edx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 0x10]
and ecx, 0xfffff000
add ecx, 0x1000
add ecx, edx
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x10094060
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e3076
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
push edi
mov eax, dword [0x1010dfc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 4], 1
cmp dword [ebp - 0x68], esi
jbe 0x10094146
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x50]
mov dword [ebp - 0x38], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x50], xmm0
movq qword [ebp - 0x40], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100940e9
add esi, dword [ebp - 0x70]
jmp 0x10094139
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x50]
lea eax, [ecx + edx]
cmp eax, dword [ebp + 0x18]
jb 0x10094137
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp + 0x14]
jb 0x10094137
test eax, 0x100
jne 0x10094137
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], ecx
cmp edi, dword [ebp - 0x10]
je 0x1009411e
mov dword [edi], edx
mov dword [edi + 4], ecx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x10094134
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.100084e0
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x44]
add esi, ecx
cmp esi, dword [ebp - 0x68]
jb 0x100940c0
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x18], esi
jmp 0x10094148
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x30]
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x14], edx
cmp edx, eax
je 0x100941e7
mov ecx, dword [edx]
mov esi, dword [ebp + 0x18]
cmp ecx, esi
mov edx, dword [edx + 4]
cmova esi, ecx
cmp esi, dword [ebp + 0x1c]
jae 0x100941d7
lea eax, [edx + ecx]
mov dword [ebp - 0x24], eax
nop word [eax + eax]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push eax
push 0
push esi
call fcn.10093f60
mov esi, eax
add esp, 0x18
test esi, esi
je 0x100941d4
mov eax, dword [edi + 4]
mov ecx, esi
inc esi
mov dword [ebp - 0x20], ecx
cmp eax, dword [edi + 8]
je 0x100941c0
mov dword [eax], ecx
add dword [edi + 4], 4
jmp 0x100941cc
lea ecx, [ebp - 0x20]
push ecx
push eax
mov ecx, edi
call fcn.10008400
mov eax, dword [ebp - 0x24]
cmp esi, dword [ebp + 0x1c]
jb 0x10094190
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 8
mov dword [ebp - 0x14], edx
cmp edx, eax
jne 0x10094172
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x10094217
mov ecx, dword [ebp - 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1009420d
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009422a
push ecx
push esi
call fcn.100b15b8
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100bd74f
int3
Function at 0x10094230
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x100942b1
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x100942b1
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x100942b1
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.10096c50
add esp, 0xc
test eax, eax
je 0x100942b1
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10094282
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.10096ca0
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x10094360
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x100943ae
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x100943ae
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x100943ae
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x100943bf
add eax, 4
cmp eax, ecx
jb 0x100943a3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x100943ae
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x10094435
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x10094420
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x10094401
cmp dl, 0x11
jne 0x1009441a
inc eax
cmp eax, 6
jl 0x100943f0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x100943e7
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.10094c60
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
Function at 0x100944c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010dfc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1009450d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1009450d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1009450d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1009451d
add eax, 4
cmp eax, ecx
jb 0x10094502
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1009450d
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x10094531
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10094537
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x100945a5
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x10094590
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
nop dword [eax]
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x10094571
cmp dl, 0x11
jne 0x1009458a
inc eax
cmp eax, 6
jl 0x10094560
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x10094557
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.10094c60
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100b18e0
mov esp, ebp
pop ebp
ret

Function at 0x100945d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
sub esp, 0xc
cmp ax, word [edx]
jne 0x10094613
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x10094613
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x10094613
mov edx, dword [ebp + 0xc]
cmp dword [eax], edx
je 0x1009462e
add eax, 4
cmp eax, ecx
jb 0x10094608
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x10094613
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x10094642
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x10094648
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push dword [ebp + 8]
call fcn.10094060
mov eax, dword [ebp + 8]
add esp, 0x18
mov esp, ebp
pop ebp
ret

Function at 0x10094d40
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10094c90
add esp, 0x18
test eax, eax
je 0x10094d69
inc eax
cmp byte [eax], 0xcc
je 0x10094d63
pop ebp
ret
Function at 0x10094f70
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10094eb0
add esp, 0x18
test eax, eax
je 0x10094f99
inc eax
cmp byte [eax], 0xcc
je 0x10094f93
pop ebp
ret

Function at 0x10097290
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10097440
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1009735d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010df60]
jb 0x100972da
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010df64]
ja 0x100972da
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100972aa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b2da0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10097300
jmp 0x1009735d
cmp dword [ebp - 0x14], 0x10000
jne 0x10097343
cmp dword [ebp - 0x18], 0x10000
jb 0x10097343
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10097336
mov eax, dword [ebp - 8]
jmp 0x1009735f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097358
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10097440
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100972aa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10097370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10097470
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10097435
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010df60]
jb 0x100973b5
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010df64]
ja 0x100973b5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10097385
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b2da0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100973db
jmp 0x10097435
cmp dword [ebp - 0x14], 0x10000
jne 0x1009741e
cmp dword [ebp - 0x18], 0x10000
jb 0x1009741e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10097411
mov eax, dword [ebp - 8]
jmp 0x10097437
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097430
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10097470
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10097385
xor eax, eax
mov esp, ebp
pop ebp
ret