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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0xa8]
cmp eax, dword [ecx + 8]
jbe 0x5bac8e
sub esp, 0x128
mov eax, dword [esp + 0x130]
xor ecx, ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
jmp 0x5ba7fe
mov edi, eax
mov eax, esi
lea esi, [esp + 0x64]
call fcn.00467a24
lea ecx, [ebx + 1]
mov edx, ebp
mov ebx, eax
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x130]
mov edi, ecx
mov ecx, dword [esp + 0x134]
add ecx, esi
cmp eax, ecx
jae 0x5bab76
mov dword [esp + 0x50], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], edi
lea edi, [esp + 0x64]
xor eax, eax
call fcn.0046754a
mov ecx, dword [esp + 0x12c]
mov dword [esp], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
call fcn.005b9930
mov ecx, dword [esp + 0x12c]
movzx edx, byte [ecx + 0x295]
mov eax, dword [esp + 8]
test dl, dl
je 0x5ba94a
lea edx, [eax + 8]
cmp dword [ecx + 0x2ac], edx
jae 0x5ba882
mov eax, dword [0x7c3d28]
xor edi, edi
xor esi, esi
jmp 0x5ba90c
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5bac86
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and eax, ebx
cmp edx, 7
jbe 0x5bac7a
mov edx, dword [ecx + 0x288]
movzx ebx, byte [edx + eax]
movzx ebp, byte [edx + eax + 1]
mov esi, ebp
shl ebp, 8
or ebx, ebp
shr esi, 0x18
movzx ebp, byte [edx + eax + 2]
mov edi, ebp
shl ebp, 0x10
or ebx, ebp
shr edi, 0x10
or esi, edi
movzx ebp, byte [edx + eax + 3]
mov edi, ebp
shr ebp, 8
or ebp, esi
shl edi, 0x18
movzx esi, byte [edx + eax + 4]
or esi, ebp
movzx ebp, byte [edx + eax + 5]
shl ebp, 8
or esi, ebp
movzx ebp, byte [edx + eax + 6]
shl ebp, 0x10
or esi, ebp
movzx edx, byte [edx + eax + 7]
shl edx, 0x18
or edi, ebx
or esi, edx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00409c20
mov eax, dword [esp + 8]
lea ecx, [0x5eee60]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5bab5c
mov edx, dword [esp + 0x50]
mov dword [esp + 0x68], edx
add edx, 8
jmp 0x5ba9cf
mov edx, dword [ecx + 0x2ac]
add edx, 0xfffffffc
cmp eax, edx
jbe 0x5ba961
mov eax, dword [0x7c3d28]
xor edx, edx
jmp 0x5ba994
mov edx, dword [ecx + 0x28c]
cmp edx, eax
jb 0x5bac73
mov ebx, dword [ecx + 0x290]
sub edx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and eax, ebx
cmp edx, 3
jbe 0x5bac67
mov edx, dword [ecx + 0x288]
mov edx, dword [edx + eax]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp], edx
call fcn.00409bc0
mov eax, dword [esp + 4]
lea ecx, [0x5eed60]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x5bab6a
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x68], ebx
lea edx, [ebx + 4]
lea ecx, [0x5eee60]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x64], ebx
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00467545
mov ecx, dword [esp + 0x12c]
mov ebp, dword [ecx + 0xac]
mov esi, dword [ecx + 0xb0]
mov dword [esp + 0x48], esi
xor edi, edi
jmp 0x5babe2
lea edi, [esp + 0xa4]
call fcn.00467545
xor ecx, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0xfc]
lea esi, [esp + 0xa4]
call fcn.004679f2
mov ecx, dword [esp + 0x10c]
test ecx, ecx
je 0x5baaaf
mov ebp, dword [esp + 0x2c]
cmp ebp, ecx
jae 0x5bac12
mov eax, dword [esp + 0x108]
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
lea ebx, [ebp + ebp*4]
lea ebp, [eax + ebx*8]
lea eax, [eax + ebx*8]
mov eax, dword [eax]
mov ebx, dword [ebp + 4]
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea ecx, [0x668040]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
call fcn.00451310
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
xor eax, eax
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x34]
inc ecx
mov ebp, dword [esp + 0x38]
cmp ebp, ecx
jb 0x5baac2
mov esi, dword [esp + 0x54]
jmp 0x5bab00
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6054e0]
mov dword [esp + 0x10], eax
call fcn.0044d830
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov esi, ebx
mov ebp, edx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x34], ecx
mov edi, dword [0x7f7690]
lea eax, [ecx + ecx*2]
lea eax, [esi + eax*8 - 0x18]
test edi, edi
je 0x5ba7e2
mov dword [esp + 0x60], esi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x5c], eax
lea ecx, [0x6054e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [esp + 0x64]
mov dword [esp + 8], ecx
call fcn.00411290
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
jmp 0x5ba7e2
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
jmp 0x5bab76
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x12c]
mov dword [eax + 0x268], ebp
mov dword [eax + 0x26c], edx
mov ecx, dword [0x7f7690]
test ecx, ecx
je 0x5baba3
call fcn.004672b0
mov dword [edi], ebx
mov ecx, dword [eax + 0x264]
mov dword [edi + 4], ecx
mov dword [eax + 0x264], ebx
mov byte [eax + 0x2a7], 1
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
add esp, 0x128
ret
add ebp, 0x2c
mov ecx, dword [esp + 0x44]
lea edi, [ecx + 1]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x12c]
cmp edi, esi
jge 0x5baa03
mov dword [esp + 0x44], edi
lea edi, [esp + 0xd0]
mov esi, ebp
call fcn.004679f2
mov ecx, dword [esp + 0xdc]
mov esi, dword [esp + 0xe0]
mov dword [esp + 0x40], esi
xor edi, edi
jmp 0x5bac2b
mov eax, ebp
call fcn.00467310
mov ecx, dword [esp + 0x58]
add ecx, 0x28
mov esi, dword [esp + 0x28]
lea edi, [esi + 1]
mov esi, dword [esp + 0x40]
cmp edi, esi
jge 0x5babcd
mov dword [esp + 0x28], edi
mov dword [esp + 0x58], ecx
lea edi, [esp + 0x7c]
mov esi, ecx
call fcn.004679fc
cmp dword [esp + 0x9c], edx
jne 0x5bac19
lea edi, [esp + 0xa4]
lea esi, [esp + 0xd0]
call fcn.004679f2
mov ecx, dword [esp + 0x28]
jmp 0x5baa11
mov eax, 3
mov ecx, edx
call fcn.00467310
mov ecx, edx
call fcn.00467380
mov eax, 7
mov ecx, edx
call fcn.00467310
mov ecx, edx
call fcn.00467380
nop
call fcn.00465ea0
jmp fcn.005ba7b0