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

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov eax, dword [edi + 0x7c]
sub eax, dword [edi + 0x78]
add edi, 0x6c
mov dword [esp + 0x18], edi
test eax, 0xfffffff0
jne 0x1001104e
mov eax, 0x80004005
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14
mov esi, dword [edi + 0x10]
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp dword [edi + 0xc], esi
jbe 0x10011065
call fcn.10057548
mov eax, dword [edi]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x10011128
call fcn.10057548
xor eax, eax
cmp esi, dword [eax + 0xc]
ja 0x10011084
call fcn.10057548
add esi, 0xfffffff0
mov dword [esp + 0x14], esi
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x10011098
call fcn.10057548
mov ebp, dword [edi]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], esi
test ebp, ebp
je 0x100110ac
cmp ebp, dword [esp + 0x10]
je 0x100110b1
call fcn.10057548
cmp esi, dword [esp + 0x14]
je 0x1001113e
test ebp, ebp
jne 0x1001112f
call fcn.10057548
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100110d0
call fcn.10057548
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
add ecx, ebx
adc eax, dword [esp + 0x24]
cmp dword [esp + 0x44], eax
jb 0x1001113e
ja 0x100110ea
cmp dword [esp + 0x40], ecx
jb 0x1001113e
test ebp, ebp
jne 0x10011134
call fcn.10057548
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100110ff
call fcn.10057548
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
add ebx, ecx
adc dword [esp + 0x24], edx
test ebp, ebp
jne 0x10011139
call fcn.10057548
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x10011120
call fcn.10057548
add esi, 0x10
jmp 0x100110a2
mov eax, dword [eax]
jmp 0x1001107a
mov eax, dword [ebp]
jmp 0x100110c6
mov eax, dword [ebp]
jmp 0x100110f5
mov eax, dword [ebp]
jmp 0x10011116
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], ebx
test ebp, ebp
jne 0x100111b9
call fcn.10057548
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x1001115b
call fcn.10057548
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x38]
add edi, ebx
adc ecx, dword [esp + 0x24]
test edx, edx
je 0x1001129c
cmp dword [esp + 0x44], ecx
ja 0x1001129c
jb 0x10011189
cmp dword [esp + 0x40], edi
jae 0x1001129c
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x10], edx
add edx, dword [esp + 0x40]
adc eax, dword [esp + 0x44]
cmp eax, ecx
jb 0x100111be
ja 0x100111a3
cmp edx, edi
jbe 0x100111be
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov ebx, eax
sub ebx, edi
add ebx, ecx
sub ecx, ebx
mov dword [esp + 0x10], ecx
jmp 0x100111c2
mov eax, dword [ebp]
jmp 0x10011151
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
sbb ecx, dword [esp + 0x24]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
test ebp, ebp
jne 0x10011294
call fcn.10057548
xor eax, eax
cmp esi, dword [eax + 0x10]
jb 0x100111ef
call fcn.10057548
mov edi, dword [esp + 0x3c]
mov esi, dword [esi]
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
push edi
lea ecx, [esp + 0x28]
push ecx
push 1
push esi
mov esi, dword [esp + 0x24]
add ebp, 8
push ebp
mov eax, esi
call fcn.100035b0
test eax, eax
jl 0x1001129e
cmp eax, 1
je 0x1001129e
test ebx, ebx
je 0x1001129c
push ebx
add esi, edi
push 0
push esi
mov dword [esp + 0x44], esi
call fcn.10059a00
add esp, 0xc
lea edi, [esp + 0x10]
lea esi, [esp + 0x28]
call fcn.100123f0
mov edi, dword [esp + 0x18]
lea esi, [esp + 0x18]
call fcn.100054d0
mov esi, eax
lea edi, [esp + 0x28]
call fcn.10012470
test al, al
jne 0x1001129c
xor eax, eax
mov esi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.10018db0
mov eax, dword [eax]
mov ecx, dword [esp + 0x38]
push ebx
lea edx, [esp + 0x24]
push edx
push eax
push ebp
lea eax, [esp + 0x48]
call fcn.10003580
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14
mov eax, dword [ebp]
jmp 0x100111e5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x14