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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1bc]
cmp eax, dword [ecx + 8]
jbe 0x5baf56
sub esp, 0x23c
lea eax, [0x613de0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x228], eax
lea ecx, [0x61c360]
mov dword [esp], ecx
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x22c], eax
mov ecx, dword [esp + 0x240]
mov edx, dword [ecx + 0x138]
mov ebx, dword [ecx + 0x13c]
test edx, edx
je 0x5ba9ad
nop
movzx ebp, byte [0x7f8710]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5ba973
mov dword [0x7f8714], edx
mov ebp, dword [0x81dcc0]
test ebp, ebp
jne 0x5ba962
mov dword [0x7f8718], ebx
jmp 0x5ba973
lea edi, [0x7f8718]
mov ebp, eax
mov eax, ebx
call fcn.00462500
mov eax, ebp
mov dword [esp + 0x234], edx
mov dword [esp + 0x238], ebx
mov edx, dword [esp + 0x234]
test edx, edx
je 0x5ba9a5
nop
movzx ebp, byte [edx + 0xf]
mov esi, ebp
and ebp, 0x1f
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5ba9b3
or ebp, 0x80
jmp 0x5ba9b3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
jmp 0x5ba9b3
xor ebp, ebp
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x220], ebx
mov dword [esp + 0x224], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
call fcn.004b3f20
cmp dword [esp + 0xc], 0x29
jle 0x5bac02
mov eax, dword [esp + 0x224]
mov dword [esp], eax
mov eax, dword [esp + 0x220]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x29
call fcn.004b2b70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
and eax, 0x1f
mov dword [esp + 0x44], eax
cmp eax, 9
ja 0x5baa45
cmp eax, 7
jne 0x5baa29
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5baa6b
cmp eax, 8
jne 0x5baa35
movzx ecx, byte [ecx]
xor ebx, ebx
jmp 0x5baa6b
cmp eax, 9
jne 0x5baf1b
movzx ecx, word [ecx]
xor ebx, ebx
jmp 0x5baa6b
cmp eax, 0xa
jne 0x5baa50
mov ecx, dword [ecx]
xor ebx, ebx
jmp 0x5baa6b
cmp eax, 0xb
jne 0x5baa5e
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, edx
jmp 0x5baa6b
cmp eax, 0xc
jne 0x5baf1b
mov ecx, dword [ecx]
xor ebx, ebx
test ebx, ebx
sete dl
test ecx, ecx
sete bl
and edx, ebx
test dl, dl
jne 0x5babf0
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x240]
movzx ebx, byte [edx + 0x294]
test bl, bl
je 0x5baac9
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00462768
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x62ad80]
cmp ecx, ebx
jne 0x5baf05
lea edi, [esp + 0x50]
call fcn.00462a80
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
sub ecx, eax
jmp 0x5bab04
lea edi, [esp + 0x130]
xor eax, eax
call fcn.00462764
mov ecx, dword [edx + 0x78]
mov esi, dword [edx + 0x7c]
lea ebx, [0x62aa00]
cmp ecx, ebx
jne 0x5baeef
lea edi, [esp + 0x130]
call fcn.00462a58
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x24]
sub ecx, eax
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005b1960
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
lea ecx, [0x61c360]
mov dword [esp], ecx
mov edx, dword [esp + 0x22c]
mov dword [esp + 4], edx
call fcn.00409410
mov eax, dword [esp + 8]
lea ecx, [0x61c360]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b8200
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x240]
mov dword [esp], ecx
lea edx, [0x5f1cc0]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x22c]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.005b2650
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5babde
mov edi, dword [esp + 0x228]
mov esi, dword [esp + 0x22c]
call fcn.00462c74
mov eax, dword [esp + 0x22c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x5bac14
mov edx, dword [eax + 0xc]
test edx, edx
je 0x5bac14
mov eax, dword [esp + 0x240]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b1960
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x228]
mov edx, dword [esp + 0x22c]
mov ebx, dword [esp + 0x240]
xor ebp, ebp
jmp 0x5bade3
mov dword [esp + 0x244], 0
add esp, 0x23c
ret
mov dword [esp + 0x244], 0
add esp, 0x23c
ret
mov dword [esp + 0x244], 0
add esp, 0x23c
ret
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x5bac8e
mov edx, dword [eax + 0x14]
test edx, edx
je 0x5bac8e
mov eax, dword [esp + 0x240]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005b1960
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], 0
mov dword [esp], ecx
call fcn.00409550
mov eax, dword [esp + 8]
lea ecx, [0x60cb80]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004b8200
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x22c]
mov edx, dword [esp + 0x2c]
xor ebx, ebx
jmp 0x5bacdc
mov eax, dword [esp + 0x228]
mov dword [esp + 0x244], eax
add esp, 0x23c
ret
mov dword [ecx + 0x28], edx
lea ebp, [ebx + edx*8 - 8]
mov esi, dword [esp + 0x230]
mov edi, dword [esi]
mov esi, dword [esi + 4]
mov dword [ebp], edi
lea ebp, [ebx + edx*8 - 4]
mov dword [ebp], esi
mov ebp, dword [esp + 0x38]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x40]
mov ebp, dword [esp + 0x2c]
lea edx, [ebp + eax]
mov ebp, dword [esp + 0x22c]
mov ecx, ebp
mov ebp, dword [ecx + 0x14]
test eax, eax
je 0x5badc5
mov dword [esp + 0x2c], edx
mov esi, eax
mov eax, ebp
xor edx, edx
div esi
cmp ebx, eax
jae 0x5bac8e
mov dword [esp + 0x38], ebx
lea eax, [0x60cb80]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0x230], eax
mov ecx, dword [esp + 0x240]
mov dword [esp], ecx
lea edx, [0x5f2340]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x10], ebp
call fcn.005b2650
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x5bac8e
mov ecx, dword [esp + 0x228]
mov edx, dword [ecx + 0x28]
inc edx
mov ebx, dword [ecx + 0x24]
mov ebp, dword [ecx + 0x2c]
cmp ebp, edx
jae 0x5baca3
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x60cb80]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x228]
mov dword [ebx + 0x2c], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5badad
mov dword [ebx + 0x24], eax
jmp 0x5badb5
lea edi, [ebx + 0x24]
call fcn.00462500
mov edx, ecx
mov ebx, eax
mov ecx, dword [esp + 0x228]
jmp 0x5baca3
call fcn.00434070
mov dword [ecx + 0x1c], esi
mov dword [ebx + esi*4 - 4], edi
inc ebp
add eax, 4
mov edx, dword [esp + 0x22c]
mov ebx, dword [esp + 0x240]
mov esi, dword [edx + 0xc]
shr esi, 2
cmp ebp, esi
jae 0x5baed5
mov esi, dword [ebx + 0x2ac]
add esi, 0xfffffffc
cmp eax, esi
jbe 0x5bae08
mov esi, dword [0x7f8238]
xor edi, edi
jmp 0x5bae44
mov esi, dword [ebx + 0x28c]
mov edi, dword [ebx + 0x288]
mov ebx, dword [ebx + 0x290]
cmp eax, esi
ja 0x5baee8
sub esi, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and ebx, eax
cmp esi, 3
jbe 0x5baedc
mov ebx, dword [edi + ebx]
xor esi, esi
mov edi, ebx
mov ebx, dword [esp + 0x240]
test esi, esi
jne 0x5baed5
mov esi, dword [ecx + 0x1c]
inc esi
mov ebx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x20]
cmp edx, esi
jae 0x5badca
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], eax
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x5ff980]
mov dword [esp + 0x10], eax
call fcn.0044a040
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x228]
mov dword [ebx + 0x20], edx
mov edx, dword [0x81dcc0]
test edx, edx
jne 0x5baeb1
mov dword [ebx + 0x18], eax
jmp 0x5baeb9
lea edi, [ebx + 0x18]
call fcn.00462500
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x28]
mov esi, ecx
mov ebx, eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x228]
jmp 0x5badca
mov eax, edx
jmp 0x5bac14
mov eax, 3
mov ecx, esi
call fcn.00462580
mov ecx, esi
call fcn.004625f0
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x5ff280]
mov dword [esp + 8], eax
call fcn.00409250
lea eax, [0x60d960]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x12
lea ecx, [0x63b26b]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 8], ecx
lea ecx, [0x6055c0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004351d0
nop
call fcn.004610f0
jmp fcn.005ba8d0