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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x18], edx
mov esi, ecx
push edi
test eax, eax
je 0x1001bbba
call fcn.1001bf13
lea ecx, [esi + 0x7d0]
call fcn.10012690
mov dword [ebp - 0x18], eax
mov edx, dword [esi + 0x74]
lea edi, [esi + 0x1c]
xor ebx, ebx
mov dword [ebp - 0x44], ebx
test edx, edx
je 0x1001bbd0
mov eax, dword [esi + 0x78]
cmp eax, dword [edi]
je 0x1001bbf4
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax + 4]
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, dword [edi]
mov dword [esi + 0x78], ebx
call dword [eax]
mov dword [esi + 0x74], eax
test eax, eax
je 0x1001beac
mov eax, dword [edi]
mov dword [esi + 0x78], eax
mov edx, dword [esi + 0x7c]
lea ebx, [esi + 0x80]
test edx, edx
je 0x1001bc08
mov eax, dword [ebx]
cmp eax, dword [esi + 0x18]
je 0x1001bc2e
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax + 4]
mov edx, dword [esi + 0x18]
xor eax, eax
mov dword [ebx], eax
mov eax, dword [esi + 0x14]
mov ecx, eax
call dword [eax]
mov dword [esi + 0x7c], eax
test eax, eax
je 0x1001beac
mov eax, dword [esi + 0x18]
mov dword [ebx], eax
xor edx, edx
mov dword [ebp - 0x24], 1
mov dword [esi + 0x348], edx
mov ecx, edx
mov dword [esi + 0x350], edx
mov dword [esi + 0x354], edx
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
mov eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], edx
cmp eax, ecx
jne 0x1001bce0
cmp dword [ebp - 0x18], 0
je 0x1001bca3
lea ecx, [esi + 0x7d0]
lea edx, [ebp - 8]
call fcn.10012810
mov edx, eax
xor eax, eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], eax
test edx, edx
jne 0x1001be3d
mov ecx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], ecx
cmp dword [esi + 0x68], edx
jne 0x1001bce0
mov eax, dword [ebx]
mov ecx, dword [esi + 0x7c]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x34]
push edx
mov dword [ebp - 0x1c], ecx
mov edx, ecx
mov ecx, eax
call dword [eax]
mov ecx, dword [ebp - 8]
add dword [esi + 0x60], ecx
push 0
pop edx
adc dword [esi + 0x64], edx
mov dword [esi + 0x6c], eax
test ecx, ecx
je 0x1001bcda
test eax, eax
je 0x1001bce0
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x68], eax
mov edx, dword [edi]
xor eax, eax
sub edx, dword [ebp - 4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x44], eax
je 0x1001bd21
mov eax, dword [esi + 0x48]
sub eax, dword [esi + 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x4c]
sbb eax, dword [esi + 0x54]
cmp dword [ebp - 0x44], eax
jb 0x1001bd21
mov eax, dword [ebp - 0x20]
ja 0x1001bd0f
cmp edx, eax
jb 0x1001bd21
mov edx, eax
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0x40], eax
mov dword [ebp - 0x28], edx
cmovne eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov eax, ecx
mov dword [ebp - 0x14], edx
sub eax, dword [ebp - 0xc]
mov edx, dword [esi + 0x74]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
xor eax, eax
cmp dword [ebp - 0xc], ecx
lea ecx, [esi + 0x88]
sete al
add edx, dword [ebp - 4]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1001c082
mov ecx, dword [ebp - 0x48]
mov edx, eax
mov eax, dword [ebp - 0x14]
add dword [ebp - 4], eax
mov dword [esi + 0x780], ecx
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0xc], ecx
add dword [esi + 0x58], ecx
push 0
pop ecx
adc dword [esi + 0x5c], ecx
add eax, dword [esi + 0x50]
mov dword [ebp - 0x30], eax
adc ecx, dword [esi + 0x54]
cmp dword [ebp - 0x20], 0
mov dword [esi + 0x50], eax
mov eax, ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
mov dword [esi + 0x784], edx
mov dword [esi + 0x54], eax
jne 0x1001bdaa
test ecx, ecx
je 0x1001be47
test edx, edx
jne 0x1001be47
and dword [ebp - 0x20], edx
cmp ecx, dword [ebp - 0x28]
jae 0x1001be4d
mov ecx, dword [ebp - 0x30]
cmp dword [esi + 0x3c], 0
je 0x1001be34
test edx, edx
jne 0x1001be34
mov eax, dword [esi + 0x58]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x5c]
sbb eax, dword [ebp - 0x38]
test eax, eax
ja 0x1001be05
jb 0x1001bde9
cmp dword [ebp - 0x4c], 0x400000
jae 0x1001be05
mov eax, ecx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x10]
sbb eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
jne 0x1001be05
cmp dword [ebp - 0x4c], 0x400000
jb 0x1001be34
push dword [ebp - 0x10]
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 0x5c]
mov ecx, eax
push dword [esi + 0x58]
call dword [eax]
mov edx, eax
test edx, edx
jne 0x1001be9b
mov eax, dword [esi + 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x50]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x20], 0
jne 0x1001bea8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
xor edx, edx
jmp 0x1001bc71
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x10], eax
je 0x1001bdc1
mov eax, dword [esi + 0x38]
mov ecx, eax
push dword [ebp - 4]
mov edx, dword [esi + 0x74]
call dword [eax]
mov ecx, eax
add ecx, dword [esi + 0x50]
push 0
pop edx
adc edx, dword [esi + 0x54]
mov dword [ebp - 0x10], edx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], edx
cmp eax, dword [ebp - 4]
jne 0x1001be90
mov edx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1001bdc1
mov ecx, dword [ebp + 8]
push 9
pop eax
mov dword [ecx + 0x38], eax
jmp 0x1001beaf
mov eax, dword [ebp + 8]
mov dword [eax + 0x38], 0xa
mov dword [eax + 0x30], edx
mov eax, edx
jmp 0x1001beaf
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret 4