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

Disassembly:
push 0xffffffffffffffff
push 0x10029da2
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10032644]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov eax, dword [0x100385b8]
xor esi, esi
cmp eax, esi
mov ebx, 1
mov dword [0x100310b4], ebx
jne 0x1000bb27
xor edi, edi
jmp 0x1000bb32
mov edi, dword [0x100385bc]
sub edi, eax
sar edi, 2
push 0x717be386
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], esi
call fcn.1000a0b0
add esp, 4
test eax, eax
je 0x1000bb4f
mov dword [esp + 0x1c], ebx
push 0x317aa725
mov dword [esp + 0x24], esi
call fcn.1000a0b0
add esp, 4
test eax, eax
je 0x1000bb68
mov dword [esp + 0x20], ebx
push 0x14dbb7d6
mov dword [esp + 0x1c], esi
call fcn.1000a0b0
add esp, 4
test eax, eax
je 0x1000bb81
mov dword [esp + 0x18], ebx
cmp edi, esi
mov dword [esp + 0x28], esi
jle 0x1000c4c2
mov dword [esp + 0x2c], esi
mov eax, dword [0x1003204c]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x24], eax
jle 0x1000bd5d
mov edi, 0x10032058
mov dword [esp + 0x14], edi
lea ecx, [ecx]
mov ecx, dword [0x100385b8]
cmp ecx, esi
je 0x1000bbca
mov eax, dword [0x100385bc]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x28], eax
jb 0x1000bbcf
call fcn.1001b0b0
mov eax, dword [esp + 0x2c]
mov edx, dword [0x100385b8]
mov edx, dword [eax + edx]
lea ecx, [edi - 8]
call fcn.10009cb0
test eax, eax
je 0x1000bd49
cmp dword [esp + 0x10c], esi
je 0x1000bc88
cmp dword [edi], 1
jne 0x1000bc88
cmp dword [edi + 4], 1
jne 0x1000bc88
call fcn.10018f50
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x104], esi
lea eax, [esp + 0x34]
push eax
call fcn.1000bab0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push ecx
mov eax, ebp
mov edx, 0x10032050
call fcn.10009bc0
add esp, 8
call fcn.10019790
lea edx, [esp + 0x34]
push edx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x1000bc78
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
cmp dword [edi], esi
jne 0x1000bd49
call fcn.10018f50
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x104], 1
lea eax, [esp + 0x94]
push eax
call fcn.1000bab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea edi, [esp + 0x104]
lea ebx, [esp + 0x108]
mov eax, ebp
mov edx, 0x10032050
mov dword [esp + 0x108], esi
mov dword [esp + 0x104], esi
call fcn.10009ac0
add esp, 0x10
call fcn.10019790
lea ecx, [esp + 0x94]
push ecx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0x98]
cmp eax, esi
je 0x1000bd30
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
add ebp, 1
add edi, 0x44
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jl 0x1000bbb0
mov eax, dword [0x10031e14]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x24], eax
jle 0x1000bf36
mov edi, 0x10031e20
mov dword [esp + 0x14], edi
lea esp, [esp]
mov ecx, dword [0x100385b8]
cmp ecx, esi
je 0x1000bd9a
mov eax, dword [0x100385bc]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x28], eax
jb 0x1000bd9f
call fcn.1001b0b0
mov eax, dword [0x100385b8]
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + eax]
lea ecx, [edi - 8]
call fcn.10009cb0
test eax, eax
je 0x1000bf22
cmp dword [esp + 0x10c], esi
je 0x1000be61
cmp dword [edi], 1
jne 0x1000be61
cmp dword [edi + 4], 1
jne 0x1000be61
call fcn.10018f50
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x104], 2
lea ecx, [esp + 0x74]
push ecx
call fcn.1000bab0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push edx
mov eax, ebp
mov edx, 0x10031e18
call fcn.10009bc0
add esp, 8
call fcn.10019790
lea eax, [esp + 0x74]
push eax
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0x78]
cmp eax, esi
je 0x1000be4e
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
cmp dword [edi], esi
jne 0x1000bf22
call fcn.10018f50
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0x104], 4
lea ecx, [esp + 0xb4]
push ecx
call fcn.1000bab0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edi, [esp + 0xec]
lea ebx, [esp + 0xfc]
mov eax, ebp
mov edx, 0x10031e18
mov dword [esp + 0xfc], esi
mov dword [esp + 0xec], esi
call fcn.10009ac0
add esp, 0x10
call fcn.10019790
lea edx, [esp + 0xb4]
push edx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0xb8]
cmp eax, esi
je 0x1000bf09
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
add ebp, 1
add edi, 0x44
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jl 0x1000bd80
mov eax, dword [0x1003209c]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x24], eax
jle 0x1000c0e8
mov edi, 0x100320a8
mov dword [esp + 0x14], edi
mov ecx, dword [0x100385b8]
cmp ecx, esi
je 0x1000bf6c
mov eax, dword [0x100385bc]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x28], eax
jb 0x1000bf71
call fcn.1001b0b0
mov eax, dword [esp + 0x2c]
mov edx, dword [0x100385b8]
mov edx, dword [eax + edx]
lea ecx, [edi - 8]
call fcn.10009cb0
test eax, eax
je 0x1000c0d4
cmp dword [esp + 0x10c], esi
je 0x1000c02e
cmp dword [edi], 1
jne 0x1000c02e
cmp dword [edi + 4], 1
jne 0x1000c02e
call fcn.10018f50
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x104], 6
lea eax, [esp + 0x44]
push eax
call fcn.1000bab0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push ecx
mov eax, ebp
mov edx, 0x100320a0
call fcn.10009bc0
add esp, 8
call fcn.10019790
lea edx, [esp + 0x44]
push edx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0x48]
cmp eax, esi
je 0x1000c01e
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
cmp dword [edi], esi
jne 0x1000c0d4
call fcn.10018f50
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x104], 8
lea eax, [esp + 0x64]
push eax
call fcn.1000bab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea edi, [esp + 0xf4]
lea ebx, [esp + 0xe4]
mov eax, ebp
mov edx, 0x100320a0
mov dword [esp + 0xe4], esi
mov dword [esp + 0xf4], esi
call fcn.10009ac0
add esp, 0x10
call fcn.10019790
lea ecx, [esp + 0x64]
push ecx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0x68]
cmp eax, esi
je 0x1000c0c4
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
add ebp, 1
add edi, 0x44
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jl 0x1000bf52
mov eax, dword [0x10031828]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x24], eax
jle 0x1000c2cf
mov edi, 0x100310c0
mov dword [esp + 0x14], edi
mov ecx, dword [0x100385b8]
cmp ecx, esi
je 0x1000c11e
mov eax, dword [0x100385bc]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x28], eax
jb 0x1000c123
call fcn.1001b0b0
mov eax, dword [0x100385b8]
mov edx, dword [esp + 0x2c]
mov edx, dword [edx + eax]
lea ecx, [edi - 8]
call fcn.10009cb0
test eax, eax
je 0x1000c2bb
cmp dword [esp + 0x10c], esi
je 0x1000c1fa
cmp dword [edi], 1
jne 0x1000c1fa
cmp dword [edi + 4], 1
jne 0x1000c1fa
call fcn.10018f50
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x104], 0xa
lea ecx, [esp + 0x84]
push ecx
call fcn.1000bab0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push edx
mov eax, ebp
mov edx, 0x100310b8
call fcn.10009bc0
add esp, 8
call fcn.10019790
lea eax, [esp + 0x84]
push eax
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0x88]
cmp eax, esi
je 0x1000c1e1
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
cmp dword [edi], esi
jne 0x1000c2bb
call fcn.10018f50
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov dword [esp + 0x104], 0xc
lea ecx, [esp + 0xa4]
push ecx
call fcn.1000bab0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edi, [esp + 0xe8]
lea ebx, [esp + 0xf0]
mov eax, ebp
mov edx, 0x100310b8
mov dword [esp + 0xf0], esi
mov dword [esp + 0xe8], esi
call fcn.10009ac0
add esp, 0x10
call fcn.10019790
lea edx, [esp + 0xa4]
push edx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0xa8]
cmp eax, esi
je 0x1000c2a2
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
add ebp, 1
add edi, 0x44
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jl 0x1000c104
mov eax, dword [0x1003212c]
xor ebp, ebp
cmp eax, esi
mov dword [esp + 0x24], eax
jle 0x1000c4a1
mov edi, 0x10032138
mov dword [esp + 0x14], edi
jmp 0x1000c2f0
mov ecx, dword [0x100385b8]
cmp ecx, esi
je 0x1000c30a
mov eax, dword [0x100385bc]
sub eax, ecx
sar eax, 2
cmp dword [esp + 0x28], eax
jb 0x1000c30f
call fcn.1001b0b0
mov eax, dword [esp + 0x2c]
mov edx, dword [0x100385b8]
mov edx, dword [eax + edx]
lea ecx, [edi - 8]
call fcn.10009cb0
test eax, eax
je 0x1000c48d
cmp dword [esp + 0x10c], esi
je 0x1000c3e7
cmp dword [edi], 1
jne 0x1000c3e7
cmp dword [edi + 4], 1
jne 0x1000c3e7
call fcn.10018f50
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0x104], 0xe
lea eax, [esp + 0xc4]
push eax
call fcn.1000bab0
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
push ecx
mov eax, ebp
mov edx, 0x10032130
call fcn.10009bc0
add esp, 8
call fcn.10019790
lea edx, [esp + 0xc4]
push edx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0xc8]
cmp eax, esi
je 0x1000c3ce
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
cmp dword [edi], esi
jne 0x1000c48d
call fcn.10018f50
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x104], 0x10
lea eax, [esp + 0x54]
push eax
call fcn.1000bab0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea edi, [esp + 0xf8]
lea ebx, [esp + 0x100]
mov eax, ebp
mov edx, 0x10032130
mov dword [esp + 0x100], esi
mov dword [esp + 0xf8], esi
call fcn.10009ac0
add esp, 0x10
call fcn.10019790
lea ecx, [esp + 0x54]
push ecx
call fcn.1000a050
add esp, 4
mov dword [esp + 0x104], 0xffffffff
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x1000c47d
push eax
call fcn.1001aeab
add esp, 4
mov edi, dword [esp + 0x14]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
add ebp, 1
add edi, 0x44
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jl 0x1000c2f0
mov eax, dword [esp + 0x28]
add dword [esp + 0x2c], 4
add eax, 1
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x28], eax
jl 0x1000bb91
mov eax, 1
jmp 0x1000c4c4
mov eax, ebx
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret