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

Disassembly:
push 0xffffffffffffffff
push 0x1003e9c4
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
mov eax, dword [0x10052260]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
sub esp, 0xc
xor ebp, ebp
mov esi, esp
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], esp
cmp eax, ebp
je 0x1001b0ce
mov eax, dword [eax]
cmp eax, ebp
jne 0x1001b0ca
push 3
lea ecx, [esp + 0x24]
call fcn.10020731
lea ecx, [esp + 0x20]
call fcn.10020759
jmp 0x1001b0ce
mov eax, dword [eax]
mov dword [esi], eax
mov ecx, dword [esp + 0x78]
mov dword [esi + 8], ecx
lea esi, [esp + 0x38]
mov eax, edi
call fcn.1001bb00
sub esp, 0xc
mov esi, esp
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], esp
cmp eax, ebp
je 0x1001b116
mov eax, dword [eax]
cmp eax, ebp
jne 0x1001b112
push 3
lea ecx, [esp + 0x24]
call fcn.10020731
lea ecx, [esp + 0x20]
call fcn.10020759
jmp 0x1001b116
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [esp + 0x84]
mov dword [esi + 8], eax
lea esi, [esp + 0x2c]
mov eax, edi
call fcn.1001bb00
lea eax, [esp + 0x38]
mov ecx, edi
call fcn.10019e10
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x34]
mov edx, ecx
sub edx, eax
mov eax, dword [esp + 0x28]
sub eax, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov edx, edi
call fcn.10019e30
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x28]
sub eax, ecx
cmp dword [esp + 0x14], eax
setb al
sub esp, 0xc
mov esi, esp
mov dword [esp + 0x28], esp
mov dword [esi], ebp
mov dword [esi + 4], ebp
test al, al
je 0x1001b259
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x1001b1a8
mov eax, dword [eax]
cmp eax, ebp
jne 0x1001b1a4
push 3
lea ecx, [esp + 0x28]
call fcn.10020731
lea ecx, [esp + 0x24]
call fcn.10020759
jmp 0x1001b1a8
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [esp + 0x34]
mov dword [esi + 8], edx
sub esp, 0xc
mov dword [esp + 0x70], ebp
mov esi, esp
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], esp
cmp eax, ebp
je 0x1001b1e9
mov eax, dword [eax]
cmp eax, ebp
jne 0x1001b1e5
push 3
lea ecx, [esp + 0x38]
call fcn.10020731
lea ecx, [esp + 0x34]
call fcn.10020759
jmp 0x1001b1e9
mov eax, dword [eax]
mov dword [esi], eax
mov ecx, dword [esp + 0x4c]
mov dword [esi + 8], ecx
sub esp, 0xc
mov ebx, 1
mov byte [esp + 0x7c], bl
mov eax, esp
mov ecx, edi
mov dword [esp + 0x3c], esp
call fcn.10019e10
lea edx, [esp + 0x5c]
push edx
mov dword [esp + 0x80], 0xffffffff
call fcn.1001bf90
mov edx, dword [esp + 0x38]
add esp, 0x28
cmp edx, ebp
jbe 0x1001b31c
mov ecx, dword [edi + 0x10]
cmp ecx, ebp
je 0x1001b24d
mov esi, dword [edi + 8]
add dword [edi + 0xc], ebx
add esi, esi
add esi, esi
cmp esi, dword [edi + 0xc]
ja 0x1001b246
mov dword [edi + 0xc], ebp
sub ecx, ebx
jne 0x1001b24d
mov dword [edi + 0xc], ebp
sub edx, ebx
jne 0x1001b230
mov dword [edi + 0x10], ecx
jmp 0x1001b31c
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x1001b281
mov eax, dword [eax]
cmp eax, ebp
jne 0x1001b27d
push 3
lea ecx, [esp + 0x2c]
call fcn.10020731
lea ecx, [esp + 0x28]
call fcn.10020759
jmp 0x1001b281
mov eax, dword [eax]
mov dword [esi], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 8], ecx
sub esp, 0xc
mov dword [esp + 0x70], 2
mov eax, esp
mov edx, edi
mov dword [esp + 0x30], esp
call fcn.10019e30
sub esp, 0xc
mov byte [esp + 0x7c], 3
mov esi, esp
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov eax, dword [esp + 0x44]
mov dword [esp + 0x40], esp
cmp eax, ebp
je 0x1001b2db
mov eax, dword [eax]
cmp eax, ebp
jne 0x1001b2d7
push 3
lea ecx, [esp + 0x44]
call fcn.10020731
lea ecx, [esp + 0x40]
call fcn.10020759
jmp 0x1001b2db
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x5c]
mov dword [esi + 8], eax
push ecx
mov dword [esp + 0x80], 0xffffffff
call fcn.1001c0b0
add esp, 0x28
cmp dword [esp + 0x10], ebp
jbe 0x1001b31c
mov eax, dword [edi + 0x10]
mov ebx, 1
cmp eax, ebp
je 0x1001b313
sub eax, ebx
jne 0x1001b313
mov dword [edi + 0xc], ebp
sub dword [esp + 0x10], ebx
jne 0x1001b308
mov dword [edi + 0x10], eax
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x48]
mov ecx, edi
call fcn.10019e10
mov esi, dword [esp + 0x64]
call fcn.1001a510
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x1c