Function at 0x30002700
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x30211a78
push 0x3015b760
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x30215e88]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, edx
mov dword [ebp - 0x20], eax
mov edi, ecx
xor ebx, ebx
test edi, edi
je 0x300029e7
test eax, eax
je 0x300029e7
push 0x1c
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x300029e7
mov eax, dword [ebp - 0x34]
test al, 0xee
je 0x300029e7
test eax, 0x101
jne 0x300029e7
test eax, eax
je 0x300029e7
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x300029e7
mov esi, dword [edi + 0x3c]
add esi, edi
mov ecx, esi
call fcn.30002a00
test eax, eax
je 0x300029e7
cmp dword [esi], 0x4550
jne 0x300029e7
mov eax, dword [esi + 0x78]
test eax, eax
je 0x300029e7
lea edx, [eax + edi]
mov dword [ebp - 0x1c], edx
mov eax, dword [edx + 0x20]
test eax, eax
je 0x300029e7
cmp eax, dword [esi + 0x50]
ja 0x300029e7
add eax, edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], ebx
xor esi, esi
mov dword [ebp - 0x28], esi
cmp esi, dword [edx + 0x18]
jae 0x3000283a
mov eax, dword [eax + esi*4]
test eax, eax
je 0x30002834
mov ecx, dword [ebp - 0x20]
add eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x30002810
test dl, dl
je 0x3000280c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x30002810
add eax, 2
add ecx, 2
test dl, dl
jne 0x300027f0
xor eax, eax
jmp 0x30002815
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x1c]
test eax, eax
jne 0x30002834
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + edi]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ebx, dword [eax + edi]
add ebx, edi
mov dword [ebp - 0x2c], ebx
inc esi
mov eax, dword [ebp - 0x24]
jmp 0x300027dc
mov dword [ebp - 4], 0xfffffffe
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test ebx, ebx
jne 0x300029b3
push 0x301e0618
call esi
cmp edi, eax
jne 0x30002969
test edi, edi
je 0x300029e7
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x300029e7
push 0x1c
lea eax, [ebp - 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x300029e7
mov eax, dword [ebp - 0x34]
test al, 0xee
je 0x300029e7
test eax, 0x101
jne 0x300029e7
test eax, eax
je 0x300029e7
mov eax, 0x5a4d
cmp word [edi], ax
jne 0x300029e7
mov esi, dword [edi + 0x3c]
add esi, edi
mov ecx, esi
call fcn.30002a00
test eax, eax
je 0x300029e7
cmp dword [esi], 0x4550
jne 0x300029e7
movzx ecx, word [esi + 0x14]
add ecx, edi
mov eax, dword [edi + 0x3c]
mov esi, dword [ecx + eax + 0x24]
add esi, edi
mov edi, dword [ecx + eax + 0x20]
add edi, esi
cmp esi, edi
jae 0x300029e7
nop
mov eax, dword [esi]
cmp eax, 0xffff0000
je 0x30002900
cmp eax, 0xffff0008
jne 0x30002939
mov eax, dword [esi + 8]
test eax, eax
je 0x30002939
mov ecx, ebx
lea esp, [esp]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x30002930
test dl, dl
je 0x3000292c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x30002930
add ecx, 2
add eax, 2
test dl, dl
jne 0x30002910
xor eax, eax
jmp 0x30002935
sbb eax, eax
or eax, 1
test eax, eax
je 0x30002954
add esi, 4
cmp esi, edi
jb 0x300028f0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x300029b3
push 0x301e061c
call esi
cmp edi, eax
jne 0x300029b3
mov edx, str.getJit
mov ecx, edi
call fcn.30002700
test eax, eax
jne 0x300029a9
push str.GetExportAddress:_failed_to_resolve_getJit_n
call fcn.3000a0d0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call eax
test eax, eax
je 0x300029b3
mov eax, dword [eax]
mov ebx, dword [eax]
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret