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

Disassembly:
sub esp, 0xa0
push ebx
mov ebx, dword [ecx]
push ebp
push esi
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 0x1c]
xor esi, esi
push edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x48], esi
call fcn.1001d970
cmp eax, esi
jne 0x1001b695
mov eax, dword [ebx + 0x24]
xor edi, edi
cmp eax, edi
jne 0x1001b693
mov ecx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
mov ebp, ecx
mov esi, eax
add eax, 1
push ebp
push esi
push edi
adc ecx, edi
mov dword [ebx + 0x30], eax
push edi
mov dword [ebx + 0x34], ecx
push edi
lea edx, [esp + 0x38]
push edi
mov ecx, ebx
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebp
call fcn.1001b790
mov ecx, dword [ebx + 0x70]
cmp eax, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
jne 0x1001b1c9
cmp dword [esp + 0x24], edi
jne 0x1001b1c9
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx + 0x64]
mov dword [esp + 0x30], edi
mov eax, dword [edx + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x60]
sub esi, eax
mov dword [esp + 0x34], esi
cmp dword [esp + 0x28], edi
jne 0x1001ae5c
mov edx, dword [ebx]
mov ecx, dword [ebx + 0x14]
add edx, 0x10
call dword [ecx]
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x1001b145
mov ecx, dword [esp + 0x30]
mov dword [eax], edi
cmp ecx, edi
je 0x1001ae55
mov dword [ecx], eax
jmp 0x1001ae5c
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov edx, dword [esp + 0x28]
add edx, 0x10
cmp esi, edi
mov dword [esp + 0x38], edx
mov ebp, edx
je 0x1001ae8e
mov ecx, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x60]
mov eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x20], eax
lea ebp, [ecx + edx + 0x10]
jmp 0x1001af75
mov eax, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
call fcn.1001b6e0
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
add edx, eax
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
adc edx, ecx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x30]
cmp edx, edi
jne 0x1001aecb
mov dword [esp + 0x4c], eax
mov edx, dword [ebx + 0x68]
add edx, eax
mov dword [ebx + 0x68], edx
mov edx, dword [ebx + 0x6c]
adc edx, ecx
xor ecx, ecx
mov dword [ebx + 0x6c], edx
mov edx, dword [ebx]
cmp eax, edx
mov edx, 1
setne cl
cmp ecx, edi
mov dword [esp + 0x10], ecx
je 0x1001aef4
mov dword [ebx + 0x70], edx
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
je 0x1001af0a
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x70], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [esp + 0x18]
sbb edx, edi
mov dword [esp + 0xac], edx
jne 0x1001af2c
cmp ecx, 1
jb 0x1001af73
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
push eax
xor edi, edi
push ecx
push edi
push edi
push edi
lea edx, [esp + 0x38]
push edi
mov ecx, ebx
call fcn.1001b790
cmp eax, edi
mov dword [esp + 0x2c], eax
jne 0x1001b1c9
cmp dword [esp + 0x24], edi
jne 0x1001b1aa
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
jmp 0x1001af75
xor edi, edi
mov edx, dword [esp + 0x30]
xor ecx, ecx
cmp edx, edi
mov edx, dword [esp + 0x10]
sete cl
mov dword [esp + 0x88], ecx
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
mov dword [esp + 0x90], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [edx + 4]
push ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x90], ebp
mov dword [esp + 0xa0], 1
call dword [eax]
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
cmp edx, 1
mov dword [esp + 0x70], 1
mov dword [esp + 0x48], eax
je 0x1001b052
mov eax, dword [esp + 0x90]
cmp esi, edi
je 0x1001b017
mov edi, dword [esp + 0x38]
mov ecx, eax
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x98]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x60]
mov esi, dword [esp + 0x34]
add ecx, eax
xor edi, edi
mov dword [ebx + 0x60], ecx
cmp edx, edi
jne 0x1001b098
cmp dword [esp + 0x10], edi
jne 0x1001b0a5
cmp eax, dword [esp + 0x20]
jne 0x1001b08b
mov eax, dword [esp + 0x28]
cmp esi, edi
mov dword [esp + 0x30], eax
mov eax, dword [eax]
mov dword [esp + 0x28], eax
je 0x1001ae2b
xor esi, esi
mov dword [ebx + 0x60], edi
mov dword [esp + 0x34], esi
mov dword [ebx + 0x64], edi
jmp 0x1001ae2b
mov eax, 1
cmp esi, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x84], eax
je 0x1001b080
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
mov edx, ecx
mov esi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
jmp 0x1001b1aa
mov dword [esp + 0x2c], 0xb
jmp 0x1001b1c9
cmp edx, 3
jne 0x1001b0a5
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x44], 1
cmp eax, ecx
jne 0x1001b0c0
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
jmp 0x1001b1aa
cmp edx, 3
jne 0x1001b12c
cmp esi, edi
mov dword [ebx + 0x60], edi
mov dword [ebx + 0x64], edi
je 0x1001b0f6
mov edx, dword [esp + 0x38]
sub ecx, eax
lea esi, [eax + ebp]
lea edi, [eax + edx]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x90]
xor edi, edi
mov esi, dword [esp + 0x14]
lea edx, [eax + ebp]
sub ecx, eax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], ecx
sub esi, ecx
mov ecx, dword [esp + 0x30]
sbb edx, edi
cmp ecx, edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
jne 0x1001b1aa
mov dword [esp + 0x4c], eax
jmp 0x1001b1aa
cmp esi, edi
je 0x1001b13a
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jmp 0x1001b19c
mov ecx, ebx
call fcn.1001a850
cmp eax, edi
jne 0x1001b154
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x6c], eax
jmp 0x1001b1aa
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x90]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
sub ecx, edx
sub esi, ecx
mov dword [ebx + 0x64], ecx
mov dword [esp + 0x14], esi
mov esi, 0
sbb edi, esi
mov dword [ebx + 0x60], esi
mov dword [esp + 0x18], edi
mov edi, eax
mov eax, ecx
lea esi, [edx + ebp]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x90]
xor edi, edi
cmp dword [esp + 0x30], edi
jne 0x1001b1a6
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], edi
cmp dword [esp + 0x2c], edi
jne 0x1001b1c9
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
lea edx, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.1001b730
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edi
cmp eax, edi
jne 0x1001b20b
cmp dword [esp + 0x44], edi
je 0x1001b205
cmp dword [esp + 0x24], edi
jne 0x1001b20b
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x1c]
call dword [eax + 4]
cmp eax, edi
mov dword [esp + 0x28], eax
je 0x1001b205
mov dword [esp + 0x44], edi
mov dword [esp + 0x10], 1
cmp dword [esp + 0x24], edi
je 0x1001b213
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], edi
cmp eax, edi
mov dword [esp + 0x30], edi
jne 0x1001b28f
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x54]
cmp eax, ecx
jae 0x1001b261
cmp dword [esp + 0x48], edi
je 0x1001b261
lea edx, [eax + eax*4 + 0x19]
lea ecx, [ebx + edx*8]
call fcn.1001b6a0
cmp eax, edi
jne 0x1001b248
inc dword [ebx + 0x58]
jmp 0x1001b261
mov ecx, dword [ebx + 0x58]
cmp ecx, 1
jne 0x1001b25e
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], eax
jmp 0x1001b28f
mov dword [ebx + 0x54], ecx
mov eax, dword [esp + 0x1c]
mov ebp, dword [ebx + 0x58]
mov ecx, dword [eax + 4]
inc ecx
cmp ecx, ebp
sbb eax, eax
and eax, ecx
add eax, 5
lea ecx, [eax + eax*4]
lea eax, [ebx + ecx*8]
mov dword [esp + 0x20], eax
lea ecx, [eax + 0x1c]
call fcn.1001d9c0
cmp eax, edi
jne 0x1001b695
mov eax, dword [esp + 0x2c]
xor edx, edx
xor ebp, ebp
cmp eax, edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
jne 0x1001b42f
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1001b42f
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x1001b42f
mov ecx, dword [esp + 0x1c]
mov eax, 1
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], ecx
test eax, eax
je 0x1001b2f1
mov esi, dword [esp + 0x4c]
jmp 0x1001b30d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [ebx]
sub ecx, edx
sbb eax, ebp
xor edi, edi
cmp edi, eax
jb 0x1001b30d
ja 0x1001b30b
cmp esi, ecx
jbe 0x1001b30d
mov esi, ecx
mov ecx, dword [esp + 0x14]
add edx, esi
adc ebp, 0
mov eax, 1
cmp edx, ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], eax
jne 0x1001b331
cmp ebp, dword [esp + 0x18]
je 0x1001b333
xor eax, eax
lea edx, [esp + 0x34]
mov edi, dword [ebx + 0x18]
push edx
lea ecx, [esp + 0x64]
lea edx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
mov eax, dword [esp + 0x48]
mov edx, dword [ecx + 4]
mov ecx, dword [ebx + 0x1c]
add eax, 0x10
push esi
push eax
call dword [edi + 8]
test eax, eax
mov dword [esp + 0x28], eax
jne 0x1001b41e
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x1001b42f
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x54]
cmp edx, eax
jne 0x1001b38e
cmp ebp, dword [esp + 0x18]
je 0x1001b42f
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
mov ecx, edx
mov eax, ebp
sub ecx, edi
mov edi, dword [esp + 0x78]
sbb eax, esi
mov esi, dword [esp + 0x60]
sub esi, edi
mov edi, dword [esp + 0x64]
sbb edi, dword [esp + 0x7c]
test eax, eax
ja 0x1001b3c4
jb 0x1001b3bb
cmp ecx, 1
jae 0x1001b3c4
test edi, edi
ja 0x1001b3c4
cmp esi, 1
jb 0x1001b40d
mov ebp, dword [esp + 0x5c]
lea edx, [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x5c]
push ebp
push edi
push esi
push eax
push ecx
mov ecx, ebx
call fcn.1001b790
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x1001b42f
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1001b42f
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
xor eax, eax
mov dword [esp + 0x38], ecx
jmp 0x1001b2e7
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push edx
push eax
mov ecx, ebx
call fcn.1001b880
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x20]
call fcn.1001d970
xor ebp, ebp
cmp eax, ebp
jne 0x1001b695
mov eax, dword [ebx + 0x24]
mov edi, dword [esp + 0x70]
mov ecx, 1
cmp eax, ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x34], ecx
jne 0x1001b693
cmp dword [ebx + 0x50], ebp
je 0x1001b46c
mov dword [esp + 0x24], ecx
jmp 0x1001b4b2
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x1001b481
mov dword [ebx + 0x4c], eax
cmp eax, 2
mov dword [ebx + 0x50], ecx
mov eax, ecx
je 0x1001b485
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
cmp edx, ebp
je 0x1001b495
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x40], edx
xor edi, edi
cmp eax, ebp
je 0x1001b4a1
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x38], ecx
xor edi, edi
cmp dword [esp + 0x84], ebp
je 0x1001b4b2
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x3c], ecx
xor edi, edi
cmp dword [esp + 0x44], ebp
je 0x1001b515
cmp dword [esp + 0x24], ebp
je 0x1001b4d8
xor ecx, ecx
xor eax, eax
xor esi, esi
xor edx, edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], edx
jmp 0x1001b4e8
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
mov ebp, dword [esp + 0x3c]
sub ecx, ebp
mov ebp, dword [esp + 0x40]
sbb eax, ebp
mov ebp, dword [esp + 0x78]
sub esi, ebp
mov ebp, dword [esp + 0x7c]
sbb edx, ebp
push edx
push esi
push eax
push ecx
lea ecx, [ebx + 0x98]
call fcn.1001a770
mov esi, eax
xor ebp, ebp
jmp 0x1001b519
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
xor edx, edx
cmp ecx, ebp
sete dl
cmp eax, ebp
mov dword [esp + 0x68], edx
je 0x1001b5a0
cmp esi, ebp
jne 0x1001b545
cmp edi, ebp
je 0x1001b545
cmp dword [esp + 0x24], ebp
jne 0x1001b545
mov eax, 1
jmp 0x1001b547
xor eax, eax
lea ecx, [esp + 0x34]
lea edx, [esp + 0x68]
mov esi, dword [ebx + 0x18]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x7c]
push ecx
mov ecx, dword [ebx + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 4]
call dword [esi + 0xc]
mov esi, eax
cmp esi, ebp
je 0x1001b583
mov eax, 1
mov dword [esp + 0x48], eax
mov dword [ebx + 0x50], eax
jmp 0x1001b58f
cmp dword [esp + 0x68], ebp
jne 0x1001b5a0
cmp dword [esp + 0x10], ebp
jne 0x1001b5a0
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
push ecx
push edx
mov ecx, ebx
call fcn.1001b880
cmp dword [esp + 0x34], ebp
je 0x1001b613
cmp dword [esp + 0x44], ebp
je 0x1001b5cf
cmp esi, ebp
jne 0x1001b5cf
cmp dword [ebx + 0x50], ebp
jne 0x1001b5cf
cmp dword [esp + 0x28], ebp
jne 0x1001b5cf
cmp dword [esp + 0x24], ebp
jne 0x1001b5cf
cmp dword [ebx + 0x84], ebp
jne 0x1001b5e6
cmp dword [esp + 0x48], ebp
je 0x1001b613
cmp dword [ebx + 0x84], ebp
jne 0x1001b5e6
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 4]
mov dword [ebx + 0x80], eax
jmp 0x1001b5ea
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, eax
or edx, ecx
jne 0x1001b5fe
cmp dword [esp + 0x10], ebp
jne 0x1001b62f
mov edx, dword [esp + 0x4c]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
inc dword [ebx + 0x84]
jmp 0x1001b617
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x10], ebp
jne 0x1001b62f
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x20]
call fcn.1001d9c0
cmp eax, ebp
jne 0x1001b695
jmp 0x1001b661
cmp dword [esp + 0x68], ebp
je 0x1001b646
lea ecx, [ebx + 0xe8]
call fcn.1001d9c0
cmp eax, ebp
jne 0x1001b695
jmp 0x1001b652
cmp dword [esi + 4], ebp
je 0x1001b693
mov dword [ebx + 0x24], 1
lea ecx, [ebx + 0xe4]
call fcn.1001d9c0
cmp eax, ebp
jne 0x1001b695
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x48], ebp
call fcn.1001d970
cmp eax, ebp
je 0x1001ad99
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret