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

Disassembly:
sub esp, 0x18c
push ebx
push ebp
push esi
xor ebx, ebx
lea ecx, [esp + 0x5c]
push edi
mov dword [esp + 0x10], ebx
call fcn.00bb14f0
mov eax, dword [0x1010955c]
push 0x44
push dword [esp + 0x1c8]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x160]
push eax
call fcn.00bf4930
mov edi, dword [esp + 0x1c4]
add esp, 0xc
mov esi, dword [esp + 0x1a8]
and edi, 0xfff7ffff
mov dword [esp + 0x158], 0x44
xor ebp, ebp
mov dword [esp + 0x24], edi
mov ecx, dword [0x10109818]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0xbca2a1
push 0x100fcb88
push ebp
push 0x100fcb74
push 0x100f7164
push 4
lea ecx, [esp + 0x160]
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3ca10
mov ecx, eax
call fcn.00b3c8e0
mov ecx, eax
call fcn.00b3c950
lea ecx, [esp + 0x14c]
call fcn.00b3c6e0
inc ebp
mov dword [esp + 0x5c], ebp
cmp ebp, 5
jg 0xbcaea9
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax + 0x58]
cmp ebp, 4
jne 0xbca2ff
mov ecx, dword [0x10109818]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0xbca2fa
push 0x100fcbf0
push 0x100f7164
push ebp
lea ecx, [esp + 0xf4]
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3ca10
lea ecx, [esp + 0xe8]
call fcn.00b3c6e0
mov eax, 1
push dword [esp + 0x1d0]
lea ecx, [esp + 0xf8]
push eax
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x164]
push eax
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x1d0]
push eax
push edi
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x1d0]
push eax
lea eax, [esp + 0x1d0]
push eax
call fcn.00bd0780
lea eax, [esp + 0xf4]
push eax
push esi
push dword [esp + 0x1ac]
call fcn.00bcbf90
mov ecx, dword [0x10109818]
add esp, 0xc
mov eax, dword [ecx]
push dword [esp + 0x130]
call dword [eax + 0x80]
test eax, eax
jne 0xbcae46
mov ecx, dword [esp + 0x140]
cmp dword [esp + 0x114], eax
je 0xbca712
mov eax, dword [esp + 0x13c]
test eax, eax
je 0xbca3bb
push eax
lea ecx, [esp + 0x64]
call fcn.00bb1530
lea ecx, [esp + 0xf4]
call fcn.00bd0fb0
jmp 0xbca250
cmp ecx, 2
jne 0xbca705
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
call fcn.00b2e480
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x34]
push eax
push 0x100fac48
call fcn.00bf7dc0
push dword [esp + 0x3c]
lea eax, [esp + 0xe8]
push eax
call fcn.00bf7bd0
add esp, 0x10
mov edi, dword [eax]
test edi, edi
jne 0xbca42e
push edi
lea ecx, [esp + 0x38]
call fcn.00b2e480
mov eax, dword [esp + 0x34]
xor ecx, ecx
mov word [eax], cx
jmp 0xbca471
xor ecx, ecx
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0xbca44b
lea esp, [esp]
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0xbca440
push esi
lea ecx, [esp + 0x38]
call fcn.00b2e480
lea eax, [esi*2 + 2]
push eax
push edi
push dword [esp + 0x3c]
call fcn.00c00930
mov esi, dword [esp + 0x1b4]
add esp, 0xc
mov eax, dword [esp + 0xdc]
test eax, eax
je 0xbca4a6
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.00b2e480
mov eax, dword [esp + 0x50]
xor ecx, ecx
mov word [eax], cx
lea eax, [esp + 0x34]
test esi, esi
jne 0xbca5b7
push 0x100eff98
push dword [esp + 0x1a8]
push 0x100fac58
push eax
lea eax, [esp + 0x74]
push eax
call fcn.00b28920
add esp, 0xc
push eax
lea eax, [esp + 0x94]
push eax
call fcn.00b28920
add esp, 0xc
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.00b28920
add esp, 0xc
lea ecx, [esp + 0x50]
push dword [eax]
call fcn.00b2abc0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0xbca553
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc8], esi
mov dword [esp + 0xcc], esi
mov eax, dword [esp + 0x88]
test eax, eax
je 0xbca588
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x64]
test eax, eax
je 0xbca654
push eax
call fcn.00bf4820
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
jmp 0xbca651
push esi
push 0x100fccac
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00b28920
add esp, 0xc
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.00b28920
add esp, 0xc
lea ecx, [esp + 0x50]
push dword [eax]
call fcn.00b2abc0
mov eax, dword [esp + 0xa0]
test eax, eax
je 0xbca61f
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov eax, dword [esp + 0xd0]
test eax, eax
je 0xbca654
push eax
call fcn.00bf4820
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
add esp, 4
push dword [esp + 0x1c8]
mov ecx, dword [0x1010955c]
lea eax, [esp + 0x15c]
mov esi, dword [esp + 0x54]
add ecx, 0x116c
push eax
push dword [esp + 0x1c8]
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c8]
or eax, 4
push eax
push dword [esp + 0x1c8]
mov eax, dword [ecx]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push 0
call dword [eax + 0x24]
call eax
mov ebp, eax
mov dword [esp + 0x30], ebp
test esi, esi
je 0xbca6d3
push esi
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0xbca7f3
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
jmp 0xbca7f3
mov dword [esp + 0x30], 1
jmp 0xbca7fb
mov eax, dword [esp + 0x1cc]
test eax, eax
je 0xbca77d
cmp dword [eax], 3
jne 0xbca77d
push dword [esp + 0x1c8]
mov ecx, dword [0x1010955c]
lea eax, [esp + 0x15c]
push eax
push dword [esp + 0x1c8]
mov eax, edi
add ecx, 0x116c
push dword [esp + 0x1c8]
or eax, 4
push eax
push dword [esp + 0x1c8]
mov eax, dword [ecx]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push dword [esp + 0x1c8]
call dword [eax + 0x24]
call eax
mov ebp, eax
mov dword [esp + 0x30], ebp
jmp 0xbca7f3
push dword [esp + 0x1c8]
mov edi, dword [esp + 0x4c]
push dword [esp + 0x1c8]
mov ecx, dword [0x1010955c]
push dword [esp + 0x1c8]
mov edx, dword [edi + 0x30]
push dword [esp + 0x1c8]
mov eax, dword [ecx + 0x116c]
neg edx
sbb edx, edx
add ecx, 0x116c
and edx, 4
or edx, dword [esp + 0x1c8]
push edx
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push dword [esp + 0x1c8]
call dword [eax + 0x24]
call eax
cmp dword [edi + 0x30], 0
mov ebp, eax
mov dword [esp + 0x30], ebp
je 0xbcae9b
test ebp, ebp
je 0xbcae33
mov eax, dword [esp + 0x1b8]
shr eax, 2
and eax, 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c8]
push dword [eax]
call dword [0x100df260]
push eax
call fcn.00bf67c0
mov ecx, dword [esp + 0x1c8]
add esp, 8
mov dword [esp + 0x14], eax
test ecx, ecx
je 0xbca84a
push ecx
lea eax, [esp + 0x74]
or ebx, 1
push eax
mov dword [esp + 0x18], ebx
call fcn.00bf83d0
add esp, 8
jmp 0xbca861
lea eax, [esp + 0xb8]
or ebx, 2
push eax
mov dword [esp + 0x14], ebx
call fcn.00bf7cb0
add esp, 4
mov edi, dword [eax]
xor ecx, ecx
test edi, edi
jne 0xbca895
mov eax, 0x100
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00bf4830
push edi
mov ebp, eax
call fcn.00bf4820
add esp, 8
xor eax, eax
mov word [ebp], ax
jmp 0xbca8e2
xor esi, esi
mov eax, edi
cmp cx, word [edi]
je 0xbca8ab
mov edi, edi
lea eax, [eax + 2]
xor ecx, ecx
inc esi
cmp cx, word [eax]
jne 0xbca8a0
xor ecx, ecx
lea eax, [esi + 0x100]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00bf4830
push 0
mov ebp, eax
call fcn.00bf4820
lea eax, [esi*2 + 2]
push eax
push edi
push ebp
call fcn.00c00930
add esp, 0x14
test bl, 2
je 0xbca923
mov eax, dword [esp + 0xb8]
and ebx, 0xfffffffd
mov dword [esp + 0x10], ebx
test eax, eax
je 0xbca923
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
test bl, 1
je 0xbca958
mov eax, dword [esp + 0x70]
and ebx, 0xfffffffe
mov dword [esp + 0x10], ebx
test eax, eax
je 0xbca958
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [esp + 0x140]
xor esi, esi
mov eax, dword [esp + 0x118]
mov dword [esp + 0x1c], esi
cmp ecx, 1
jne 0xbca9d3
push eax
lea eax, [esp + 0x80]
push eax
call fcn.00bf83d0
lea ecx, [esp + 0x24]
push ecx
push dword [eax]
call fcn.00bdc7b0
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x7c]
sete byte [esp + 0x1b]
test eax, eax
je 0xbca9b8
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x1c]
xor eax, eax
cmp byte [esp + 0x1b], al
mov ecx, dword [esp + 0x140]
cmovne esi, eax
mov eax, dword [esp + 0x118]
cmp dword [esp + 0x14], 0
mov edi, dword [esp + 0x124]
mov dword [esp + 0x1c], 0
je 0xbcab0d
cmp ecx, 1
jne 0xbcaa33
mov ecx, dword [esp + 0x1c4]
or ebx, 4
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x24], edi
push eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ebx
call fcn.00bf83d0
mov ecx, dword [esp + 0x148]
add esp, 8
mov dword [esp + 0x14], 0
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jmp 0xbcaa59
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
xor ebx, ebx
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x1d0]
cmp ecx, 1
sete bl
xor eax, eax
cmp ecx, 1
setne al
push eax
push 0
push esi
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x64]
push eax
call dword [0x100df248]
push eax
call dword [0x100df218]
neg eax
mov ecx, dword [esp + 0x68]
sbb eax, eax
neg eax
push eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x1f0]
push ebx
push dword [esp + 0x58]
push ebp
push dword [esp + 0x54]
push dword [esp + 0x60]
push ebx
push dword [esp + 0x54]
push dword [eax]
call fcn.00bd2b90
mov ebx, dword [esp + 0x10]
mov esi, eax
test bl, 4
je 0xbcac2a
mov ecx, dword [esp + 0x94]
and ebx, 0xfffffffb
test ecx, ecx
je 0xbcac2a
push ecx
call fcn.00bf4820
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
jmp 0xbcac27
cmp ecx, 1
jne 0xbcab53
mov ecx, dword [esp + 0x1c4]
or ebx, 8
push eax
lea eax, [esp + 0xb0]
mov dword [esp + 0x2c], edi
push eax
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ebx
call fcn.00bf83d0
mov ecx, dword [esp + 0x148]
add esp, 8
mov dword [esp + 0x2c], 0
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jmp 0xbcab79
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
push dword [esp + 0x1d0]
xor ebx, ebx
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1d4]
cmp ecx, 1
sete bl
xor eax, eax
cmp ecx, 1
setne al
push eax
push 0
push esi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x68]
push eax
call dword [0x100df248]
push eax
call dword [0x100df218]
neg eax
mov ecx, dword [esp + 0x6c]
sbb eax, eax
neg eax
push eax
push dword [esp + 0x4c]
mov eax, dword [esp + 0x1f4]
push ebx
push dword [esp + 0x44]
push ebp
push dword [esp + 0x60]
push dword [esp + 0x5c]
push ebx
push dword [esp + 0x70]
push dword [eax]
call fcn.00bc6730
mov ebx, dword [esp + 0x10]
mov esi, eax
test bl, 8
je 0xbcac2a
mov eax, dword [esp + 0xac]
and ebx, 0xfffffff7
test eax, eax
je 0xbcac2a
push eax
call fcn.00bf4820
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
add esp, 4
test esi, esi
jne 0xbcad77
cmp dword [esp + 0x140], 1
jne 0xbcad5d
mov eax, dword [esp + 0x1c8]
push 0xffffffffffffffff
push dword [eax]
call dword [0x100df1b4]
mov ecx, dword [0x1010955c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
mov ecx, dword [0x1010955c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
cmp dword [esp + 0x1c], 0xffffffff
jne 0xbcad52
test ebp, ebp
je 0xbcaca2
push ebp
call fcn.00bf4820
add esp, 4
mov eax, dword [esp + 0x130]
test eax, eax
je 0xbcacd7
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x130], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
test edi, edi
je 0xbcad05
push edi
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov eax, dword [esp + 0x118]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x1a8]
mov edi, dword [esp + 0x24]
test eax, eax
je 0xbca250
push eax
call fcn.00bf4820
add esp, 4
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x120], 0
jmp 0xbca250
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0xbcae11
cmp dword [esp + 0x40], 0
jne 0xbcae11
mov eax, dword [esp + 0x1c8]
push dword [eax + 4]
jmp 0xbcae0b
cmp dword [esp + 0x140], 1
jne 0xbcadca
cmp dword [esp + 0x40], 0
mov esi, dword [esp + 0x4c]
jne 0xbcad93
push esi
call dword [0x100df1c8]
mov ecx, dword [0x1010955c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
mov eax, dword [esp + 0x1c8]
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
jmp 0xbcae11
mov ecx, dword [0x1010955c]
mov eax, dword [esp + 0x1c8]
add ecx, 0x72c
push dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x24]
call eax
cmp dword [esp + 0x40], 0
mov eax, dword [esp + 0x1c8]
mov edx, dword [esp + 0x4c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x1c8]
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
jne 0xbcae11
push edx
call dword [0x100df1c8]
test ebp, ebp
je 0xbcae1e
push ebp
call fcn.00bf4820
add esp, 4
mov ebp, dword [esp + 0x30]
lea ecx, [esp + 0xf4]
call fcn.00bd0fb0
jmp 0xbcaf11
lea ecx, [esp + 0xf4]
xor ebp, ebp
call fcn.00bd0fb0
jmp 0xbcaf11
push dword [esp + 0x1c8]
mov ecx, dword [0x1010955c]
push dword [esp + 0x1c8]
add ecx, 0x116c
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
mov eax, dword [ecx]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push dword [esp + 0x1c8]
push esi
push dword [esp + 0x1c8]
call dword [eax + 0x24]
call eax
mov ebp, eax
lea ecx, [esp + 0xf4]
call fcn.00bd0fb0
jmp 0xbcaf11
mov ecx, dword [0x10109818]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0xbcaf0f
push 0x100fcbd4
push 5
push 0x100fcbc0
push ebp
push 0x100fcb9c
push 0x100f7164
push 4
lea ecx, [esp + 0x104]
call fcn.00b3a6c0
mov ecx, eax
call fcn.00b3ca10
mov ecx, eax
call fcn.00b3c8e0
mov ecx, eax
call fcn.00b3c950
mov ecx, eax
call fcn.00b3c8e0
mov ecx, eax
call fcn.00b3c950
lea ecx, [esp + 0xe8]
call fcn.00b3c6e0
xor ebp, ebp
lea ecx, [esp + 0x60]
call fcn.00bb1500
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18c
ret 0x34