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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050c7d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100e8018]
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 dword [ebp - 0x4c], ecx
mov ebx, dword [ebp + 8]
push 0x2c
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.100313da
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x10002f6e
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, eax
mov dword [ebp - 0x44], ecx
test ecx, ecx
jne 0x10002f85
xor bl, bl
jmp 0x100031f7
mov eax, 0x5a4d
cmp ax, word [ecx]
je 0x10002f93
xor ebx, ebx
jmp 0x10002fa3
mov ebx, dword [ecx + 0x3c]
xor eax, eax
add ebx, ecx
cmp dword [ebx], 0x4550
cmovne ebx, eax
mov ebx, dword [ebx + 0x78]
lea eax, [ebx + ecx]
neg ebx
sbb ebx, ebx
and ebx, eax
jne 0x10002fbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
jmp 0x100031ee
mov eax, dword [ebx + 0x1c]
mov esi, dword [ebp - 0x34]
add eax, ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x20]
add eax, ecx
push dword [esi + 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x24]
add eax, ecx
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, eax
call fcn.100048d0
mov dword [esi + 4], esi
xor edi, edi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [ebp - 0x30], 0
cmp dword [ebx + 0x18], edi
jbe 0x1000309e
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov edx, dword [eax + edi*4]
add edx, dword [ebp - 0x44]
mov ecx, edx
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003028
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.100045d0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
movzx esi, word [eax + edi*2]
lea eax, [ebp - 0x28]
push eax
call fcn.10003fc0
mov edx, dword [ebp - 0x48]
mov ecx, esi
mov byte [ebp - 4], 0
lea ecx, [edx + ecx*4]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10003094
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000308a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003273
push edx
push ecx
call fcn.1003140a
add esp, 8
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x10003001
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0x40]
push edi
push eax
lea ecx, [esi + 0x18]
call fcn.10004250
mov eax, dword [eax]
cmp eax, dword [esi + 0x18]
je 0x10002fb7
push edi
lea ecx, [esi + 0x18]
call fcn.10004130
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], eax
cmp edi, eax
je 0x100031ec
nop dword [eax + eax]
push edi
lea ecx, [ebp - 0x28]
call fcn.10004440
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x34]
mov eax, ebx
mov dword [ebp - 0x38], eax
mov esi, dword [ebx + 4]
mov cl, byte [esi + 0xd]
mov byte [ebp - 0x29], cl
test cl, cl
jne 0x1000312d
mov edi, esi
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10005150
test al, al
je 0x1000311d
mov edi, dword [edi + 8]
mov eax, dword [ebp - 0x38]
jmp 0x10003124
mov eax, edi
mov edi, dword [edi]
mov dword [ebp - 0x38], eax
cmp byte [edi + 0xd], 0
je 0x10003104
mov edi, dword [ebp - 0x3c]
cmp byte [eax + 0xd], 0
jne 0x100031a5
add eax, 0x10
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10005150
test al, al
jne 0x100031a5
cmp dword [ebp - 0x38], ebx
je 0x100031a5
cmp byte [ebp - 0x29], al
jne 0x10003170
nop
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.10005150
test al, al
je 0x10003166
mov esi, dword [esi + 8]
jmp 0x1000316a
mov ebx, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x10003150
cmp byte [ebx + 0xd], 0
jne 0x10003269
lea eax, [ebx + 0x10]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10005150
test al, al
jne 0x10003269
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
push eax
call fcn.10002210
test al, al
jne 0x10003235
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100031dd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100031d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003273
push edx
push ecx
call fcn.1003140a
add esp, 8
add edi, 0x18
mov dword [ebp - 0x3c], edi
cmp edi, dword [ebp - 0x40]
jne 0x100030e0
mov bl, 1
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
push dword [eax + 4]
lea eax, [ebp - 0x34]
push eax
mov ecx, eax
call fcn.100048d0
push 0x2c
push dword [ebp - 0x34]
call fcn.1003140a
add esp, 8
mov al, bl
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.100313c7
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x14]
xor bl, bl
cmp edx, 0x10
jb 0x100031ee
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000325d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003273
push edx
push ecx
call fcn.1003140a
add esp, 8
jmp 0x100031ee
push str.invalid_map_K__T__key
call fcn.100302ae
call fcn.100397bd
int3