Function at 0x10011ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x4c]
push edi
mov edi, 1
mov dword [esp + 0x7c], eax
xor ebx, ebx
lea eax, [esp + 0x74]
mov ecx, esi
mov dword [esp + 0x50], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
call fcn.10010be0
test eax, eax
jne 0x10011b16
lea eax, [ebx - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x68]
mov eax, esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x88], ecx
mov ecx, esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], 3
call fcn.10010b50
test eax, eax
jge 0x10011b96
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x10011b8d
push esi
call fcn.10010250
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x10012132
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
lea eax, [esp + 0x24]
call fcn.10010250
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1001207c
mov edx, dword [ebp + 0x10]
push edx
lea eax, [esp + 0x30]
call fcn.10010250
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x1001207c
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
add ebx, 2
lea esi, [esp + 0x40]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], edi
call fcn.10010120
mov esi, eax
test esi, esi
jne 0x1001207c
mov esi, dword [esp + 0x44]
cmp esi, edi
jae 0x10011c54
push 4
push edi
call fcn.1001a055
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
jne 0x10011c0b
lea edi, [eax - 0x10]
jmp 0x10011c6e
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x10011c46
add esi, esi
add esi, esi
push esi
push ebx
push eax
call fcn.1001ed40
add esp, 0xc
test esi, esi
jbe 0x10011c39
mov ecx, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
push esi
push 0
push ebx
call ecx
mov ebx, dword [esp + 0x54]
add esp, 0xc
push ebx
call fcn.100198d9
mov eax, dword [esp + 0x3c]
add esp, 4
mov esi, edi
mov ebx, eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], ebx
jmp 0x10011c58
mov ebx, dword [esp + 0x48]
lea edx, [esi*4]
push edx
xor edi, edi
push edi
push ebx
call fcn.1001a0a0
add esp, 0xc
mov dword [ebx], edi
mov esi, edi
test edi, edi
jne 0x1001207c
lea ebx, [edi + 2]
lea esi, [esp + 0x10]
call fcn.10010120
mov esi, eax
test esi, esi
jne 0x1001207c
lea eax, [esp + 0x2c]
call fcn.10010570
and eax, 0x1f
cmp eax, 0x1f
jae 0x10011cd6
mov edi, 0x1f
sub edi, eax
mov eax, edi
lea esi, [esp + 0x20]
mov dword [esp + 0x38], edi
call fcn.100108a0
mov esi, eax
test esi, esi
jne 0x1001207c
mov eax, edi
lea esi, [esp + 0x2c]
call fcn.100108a0
mov esi, eax
test esi, esi
jne 0x1001207c
jmp 0x10011cde
mov dword [esp + 0x38], 0
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
dec eax
dec edi
mov dword [esp + 0x3c], edi
sub edi, eax
mov dword [esp + 0x54], eax
mov eax, edi
shl eax, 5
lea esi, [esp + 0x2c]
mov dword [esp + 0x50], eax
call fcn.100108a0
mov esi, eax
test esi, esi
jne 0x1001207c
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x20]
call fcn.10010be0
test eax, eax
jl 0x10011d4f
nop
mov eax, dword [esp + 0x48]
inc dword [eax + edi*4]
lea ebx, [esp + 0x20]
lea esi, [esp + 0x2c]
mov eax, ebx
call fcn.10011130
mov esi, eax
test esi, esi
jne 0x1001207c
lea eax, [esp + 0x2c]
mov ecx, ebx
call fcn.10010be0
test eax, eax
jge 0x10011d20
mov ebx, dword [esp + 0x50]
mov eax, ebx
lea esi, [esp + 0x2c]
call fcn.100109f0
mov esi, eax
test esi, esi
jne 0x1001207c
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x4c], ecx
cmp ecx, eax
jbe 0x1001200e
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x48]
add ebx, 0xffffffe0
lea edi, [eax + edi*4 - 4]
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x1c], edi
jmp 0x10011da4
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
mov ecx, dword [ebx + esi*4]
mov edx, dword [edx]
cmp ecx, edx
jb 0x10011dc1
mov dword [edi], reloc.PSAPI.DLL_GetMappedFileNameW
jmp 0x10011dd0
mov eax, dword [ebx + esi*4 - 4]
push eax
call fcn.10011a90
add esp, 4
mov dword [edi], eax
cmp esi, 2
jae 0x10011dd9
xor eax, eax
jmp 0x10011ddd
mov eax, dword [ebx + esi*4 - 8]
mov dword [esp + 0x68], eax
cmp esi, 1
jae 0x10011dea
xor eax, eax
jmp 0x10011dee
mov eax, dword [ebx + esi*4 - 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [ebx + esi*4]
mov dword [esp + 0x70], ecx
inc dword [edi]
jmp 0x10011e00
mov eax, dword [esp + 0x1c]
dec dword [eax]
cmp dword [esp + 0x14], 1
jae 0x10011e6b
push 4
push 1
call fcn.1001a055
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x10011e24
lea esi, [eax - 0x10]
jmp 0x10011e91
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10011e5f
mov esi, dword [esp + 0x14]
add esi, esi
add esi, esi
push esi
push edi
push ebx
call fcn.1001ed40
add esp, 0xc
test esi, esi
jbe 0x10011e56
mov edx, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
push esi
push 0
push edi
call edx
mov edi, dword [esp + 0x24]
add esp, 0xc
push edi
call fcn.100198d9
add esp, 4
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [eax*4]
push ecx
xor esi, esi
push esi
push edi
call fcn.1001a0a0
add esp, 0xc
mov dword [edi], esi
mov dword [esp + 0x10], 1
test esi, esi
jne 0x1001207c
mov eax, dword [esp + 0x54]
mov ecx, 1
cmp eax, ecx
jae 0x10011eaa
xor eax, eax
jmp 0x10011eb2
mov edx, dword [esp + 0x34]
mov eax, dword [edx + eax*4 - 4]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [edx + 4], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
lea ecx, [esp + 0x60]
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x98]
lea edx, [esp + 0x10]
push ecx
push edx
mov esi, edx
mov dword [esp + 0x68], eax
call fcn.100117c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x1001207c
lea eax, [esp + 0x80]
lea ecx, [esp + 0x10]
call fcn.10010be0
test eax, eax
jg 0x10011e00
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
lea eax, [esp + 0x2c]
push eax
lea esi, [esp + 0x14]
call fcn.10011a60
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001207c
mov edi, dword [esp + 0x3c]
mov eax, edi
lea esi, [esp + 0x10]
call fcn.100108a0
mov esi, eax
test esi, esi
jne 0x1001207c
lea ebx, [esp + 0x20]
lea esi, [esp + 0x10]
mov eax, ebx
call fcn.10011130
mov esi, eax
test esi, esi
jne 0x1001207c
mov dword [esp + 0x64], eax
mov eax, 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea edx, [esp + 0x64]
lea eax, [esp + 0x8c]
mov ecx, ebx
mov dword [esp + 0x94], edx
call fcn.10010be0
test eax, eax
jge 0x10011fef
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x14]
call fcn.10010250
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001207c
mov eax, edi
lea esi, [esp + 0x10]
call fcn.100108a0
mov esi, eax
test esi, esi
jne 0x1001207c
lea esi, [esp + 0x10]
mov eax, ebx
call fcn.100110d0
mov esi, eax
test esi, esi
jne 0x1001207c
mov eax, dword [esp + 0x1c]
dec dword [eax]
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x1c], 4
dec eax
sub edi, 0x20
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], edi
cmp eax, dword [esp + 0x54]
ja 0x10011da0
mov edi, dword [ebp + 8]
test edi, edi
je 0x1001207c
mov eax, dword [esp + 0x38]
lea esi, [esp + 0x20]
call fcn.100109f0
mov esi, eax
test esi, esi
jne 0x1001207c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
mov eax, edi
mov dword [esp + 0x24], edx
call fcn.10010250
mov esi, eax
add esp, 4
test esi, esi
jne 0x1001207c
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], eax
mov ebx, 1
mov dword [esp + 0xac], ecx
lea eax, [esp + 0xa4]
mov ecx, edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
call fcn.10010be0
test eax, eax
jne 0x1001207c
mov dword [edi], ebx
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x100120aa
mov eax, dword [esp + 0x24]
add eax, eax
add eax, eax
je 0x100120a1
mov edx, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
push eax
push 0
push ecx
call edx
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
call fcn.100198d9
add esp, 4
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100120d7
mov eax, dword [esp + 0x30]
add eax, eax
add eax, eax
je 0x100120ca
push eax
mov eax, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
push 0
push ecx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x34]
push ecx
call fcn.100198d9
add esp, 4
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x10012105
mov eax, dword [esp + 0x44]
add eax, eax
add eax, eax
je 0x100120fc
mov edx, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
push eax
push 0
push ecx
call edx
mov ecx, dword [esp + 0x54]
add esp, 0xc
push ecx
call fcn.100198d9
add esp, 4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10012132
mov eax, dword [esp + 0x14]
add eax, eax
add eax, eax
je 0x10012125
push eax
mov eax, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
push 0
push ecx
call eax
add esp, 0xc
mov ecx, dword [esp + 0x18]
push ecx
call fcn.100198d9
add esp, 4
mov eax, dword [reloc.PSAPI.DLL_GetMappedFileNameW]
push 0xc
lea edx, [esp + 0x6c]
push 0
push edx
call eax
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret