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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
xor eax, eax
mov dword [esp + 0x10], 0
lea edi, [esp + 0x28]
mov ebx, ecx
stosd dword es:[edi], eax
mov dword [esp + 0x18], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov esi, dword [edi + 8]
add esi, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], esi
test ebx, ebx
je 0x10013251
mov eax, dword [esi + 0x20]
xor ebx, ebx
mov edx, dword [esi + 0x24]
add eax, ecx
mov edi, dword [esi + 0x18]
add edx, ecx
sub edi, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
js 0x10011afb
lea esp, [esp]
lea esi, [edi + ebx]
sar esi, 1
mov eax, dword [eax + esi*4]
add eax, ecx
mov ecx, dword [esp + 0x18]
mov edi, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10011b60
test dl, dl
je 0x10011ae4
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10011b60
add ecx, 2
add eax, 2
test dl, dl
jne 0x10011ac0
xor eax, eax
test eax, eax
js 0x10011b02
jle 0x10011b07
lea ebx, [esi + 1]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp edi, ebx
jge 0x10011ab0
mov esi, 0xc000007a
jmp 0x10011b55
lea edi, [esi - 1]
jmp 0x10011aef
cmp edi, ebx
jl 0x10011afb
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 8]
movzx eax, word [eax + esi*2]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
movzx ecx, ax
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + edx]
add ecx, edx
mov dword [esp + 0x10], ecx
cmp ecx, edx
jb 0x10011afb
mov eax, dword [edi + 4]
add eax, edx
cmp ecx, eax
jae 0x10011afb
cmp ecx, esi
ja 0x1001325d
xor esi, esi
call fcn.10011b6a
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
sbb eax, eax
or eax, 1
jmp 0x10011ae6
sub dx, word [esi + 0x10]
movzx eax, dx
jmp 0x10011b1a
mov eax, dword [edi + 0xc]
add eax, esi
cmp ecx, eax
jae 0x10011b45
push 0x2e
push ecx
call dword [sym.imp.api_ms_win_core_crt_l1_1_0.dll_strchr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x10013286
mov esi, 0xc000007b
jmp 0x10011b55
lea eax, [esp + 0x28]
push eax
push 0x10001b18
push 0
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleExW]
test eax, eax
je 0x10011afb
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10011afb
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10011afb
mov ecx, dword [eax + 0x3c]
cmp ecx, 0x10000000
jae 0x10011afb
add ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x28]
jb 0x10011afb
cmp dword [ecx], 0x4550
jne 0x10011afb
movzx eax, word [ecx + 0x18]
mov edx, 0x10b
cmp ax, dx
je 0x100132ff
mov edx, 0x20b
cmp ax, dx
jne 0x10011afb
mov eax, dword [ecx + 0x78]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x50]
mov dword [esp + 0x2c], eax
lea edi, [esi + 1]
xor eax, eax
cmp byte [edi], 0x23
jne 0x1001338a
lea edx, [esi + 2]
xor edi, edi
xor ebx, ebx
test edx, edx
je 0x100133b1
cmp word [edx], 0x20
jne 0x1001333c
add edx, 2
cmp word [edx], 0x20
je 0x10013333
cmp word [edx], 0x2d
jne 0x1001334a
mov ebx, 1
add edx, 2
cmp word [edx], 0x20
jne 0x10013359
add edx, 2
cmp word [edx], 0x20
je 0x10013350
movzx esi, word [edx]
test si, si
je 0x10013384
cmp si, 0x30
jb 0x100133b1
cmp si, 0x39
ja 0x100133b1
lea ecx, [eax + eax*4]
add edx, 2
movzx eax, si
movzx esi, word [edx]
lea eax, [eax + ecx*2]
add eax, 0xffffffd0
test si, si
jne 0x10013361
test ebx, ebx
je 0x1001338a
neg eax
lea ecx, [esp + 0x10]
movzx edx, ax
push ecx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call fcn.10011a50
mov esi, eax
test esi, esi
js 0x10011b55
mov ecx, dword [esp + 0x10]
jmp 0x10011b47
xor esi, esi
jmp 0x10011b55