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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5bb372
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov byte [esp + 0x1f], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax + 0x55]
test cl, cl
jne 0x5baf07
lea eax, [0x631a20]
mov dword [esp], eax
call fcn.0040b5f0
mov edi, dword [esp + 4]
mov dword [esp + 0x24], edi
mov eax, dword [0x816df0]
test eax, eax
jne 0x5bad8f
mov eax, dword [esp + 0x70]
mov dword [edi], eax
jmp 0x5bad98
mov eax, dword [esp + 0x70]
call fcn.0045e5d0
lea eax, [0x60d9c0]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x5c]
test edx, edx
jne 0x5badba
mov edx, 0x1000000
mov dword [esp + 0x3c], eax
mov dword [eax], edx
lea ecx, [0x60c500]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x613ae0]
mov dword [esp], ecx
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x58]
nop
mov byte [edx + 0x2c], 1
nop
nop
mov ebx, dword [ecx + 0x5c]
test ebx, ebx
jne 0x5bae13
mov ebx, 0x1000000
mov dword [esp + 0x28], edx
nop
mov dword [edx + 0x30], ebx
lea eax, [0x628e60]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
lea ecx, [0x5bb380]
mov dword [eax], ecx
mov ecx, dword [0x816df0]
test ecx, ecx
jne 0x5bae6b
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0xc], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + 0x10], ebx
mov ebp, dword [esp + 0x3c]
mov dword [eax + 0x14], ebp
mov ebp, dword [esp + 0x24]
mov dword [eax + 0x18], ebp
jmp 0x5baec7
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.0045e5d0
lea edi, [ecx + 8]
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0045e5d0
lea edi, [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x38]
call fcn.0045e5d0
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x28]
call fcn.0045e5d0
lea edi, [ecx + 0x14]
mov ebp, eax
mov eax, dword [esp + 0x3c]
call fcn.0045e5d0
lea edi, [ecx + 0x18]
mov eax, dword [esp + 0x24]
call fcn.0045e5d0
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x24]
mov esi, dword [0x816df0]
test esi, esi
jne 0x5baed6
mov dword [ebx + 0x28], eax
jmp 0x5baede
lea edi, [ebx + 0x28]
call fcn.0045e5d0
lea eax, [0x6566e8]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ebx
lea eax, [0x6563c0]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x1f], 1
lea eax, [0x6a2dfc]
mov esi, dword [esp + 0x70]
jmp 0x5baf4a
lea eax, [0x615300]
mov dword [esp], eax
call fcn.0040b5f0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x35
lea ecx, [0x64dd3a]
mov dword [eax], ecx
mov dword [esp + 0x74], 0
lea ecx, [0x69f4b0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
lea eax, [0x6a2d9c]
mov esi, ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], eax
mov ecx, dword [eax + 0x10]
mov dword [esp], esi
call ecx
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.005aa480
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5bb313
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
test al, al
jne 0x5bafeb
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.005b73b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x5bafbe
lea eax, [0x6a2d84]
cmp ebx, eax
je 0x5baf42
jmp 0x5bb34c
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005a9fd0
add esp, 0x68
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5bb012
mov dword [edx + 0x14], 0
jmp 0x5bb01c
lea edi, [edx + 0x14]
xor eax, eax
call fcn.0045e5d0
mov edx, dword [ecx]
mov byte [edx], 0
mov edx, dword [esp + 0x28]
mov ebx, dword [edx + 0x44]
sub ebx, dword [edx + 0x4c]
test ebx, ebx
jle 0x5bb04a
nop
mov dword [edx + 0x44], 0
mov dword [edx + 0x4c], 0
mov byte [edx + 0x50], 0
lea eax, [0x69fc6c]
jmp 0x5bb050
mov byte [edx + 0x54], 1
xor eax, eax
test eax, eax
jne 0x5bb2da
mov edx, dword [esp + 0x40]
mov ebx, dword [edx]
mov eax, dword [edx + 4]
test ebx, ebx
je 0x5bb175
mov ebp, dword [esp + 0x6c]
mov dword [ebp + 0x10], ebx
mov ebx, dword [0x816df0]
test ebx, ebx
jne 0x5bb07f
mov dword [ebp + 0x14], eax
jmp 0x5bb087
lea edi, [ebp + 0x14]
call fcn.0045e5d0
movzx eax, byte [0x816aa9]
test al, al
je 0x5bb0ec
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov eax, dword [edx]
mov ebx, dword [edx + 4]
test eax, eax
je 0x5bb0ae
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ebx
lea eax, [0x6442cd]
mov dword [esp], eax
mov dword [esp + 4], 0x19
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ea0f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 1
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x69fa50]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00409020
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a9fd0
add esp, 0x68
ret
mov dword [esp], ecx
call fcn.005baa90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
mov ebx, dword [esp + 8]
test eax, eax
je 0x5bb2a5
mov ebp, dword [esp + 0x6c]
mov dword [ebp + 0x10], edx
mov esi, dword [0x816df0]
test esi, esi
jne 0x5bb1ab
mov dword [ebp + 0x14], ebx
jmp 0x5bb1b5
lea edi, [ebp + 0x14]
mov eax, ebx
call fcn.0045e5d0
movzx eax, byte [0x816aa9]
test al, al
je 0x5bb21d
mov dword [esp + 0x34], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x5bb1db
mov ecx, dword [ecx + 4]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
lea eax, [0x647c3f]
mov dword [esp], eax
mov dword [esp + 4], 0x21
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004ea0f0
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
lea eax, [0x69fa50]
mov dword [esp], eax
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.00409020
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a9fd0
add esp, 0x68
ret
mov eax, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005a9fd0
add esp, 0x68
ret
mov dword [esp + 0x74], 0
lea eax, [0x69fa28]
mov dword [esp + 0x78], eax
lea eax, [0x656a08]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005a9fd0
add esp, 0x68
ret
mov dword [esp + 0x74], 0
lea eax, [0x69fa28]
mov dword [esp + 0x78], eax
lea eax, [0x656a08]
mov dword [esp + 0x7c], eax
mov byte [esp + 0x1f], 0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005a9fd0
add esp, 0x68
ret
mov dword [esp], ebx
lea eax, [0x62c880]
mov dword [esp + 4], eax
lea eax, [0x616680]
mov dword [esp + 8], eax
call fcn.00408c00
nop
call fcn.00432460
add esp, 0x68
ret
call fcn.0045d190
jmp fcn.005bad10