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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x68400c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24c
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
call fcn.0064dc20
mov eax, dword [ebx + 0x38]
mov ecx, 1
cmp dword [eax + 0x94], ecx
jne 0x5e9bef
xor eax, eax
mov dword [0x705f78], eax
mov dword [ebx + 0x44], eax
jmp 0x5e9bf8
mov dword [0x705f78], ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [ebx + 0x68]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edi
jle 0x5ea3a5
mov dword [esp + 0x34], edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx + edi]
mov ecx, dword [eax + 4]
test ecx, ecx
mov dword [esp + 0x10], ecx
je 0x5ea04f
call fcn.004da3a0
mov esi, eax
mov eax, dword [esi + 0x10]
sub eax, 2
je 0x5e9ed4
sub eax, 2
jne 0x5ea037
mov edx, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x44]
test ecx, ecx
mov eax, dword [edx + edi]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
jne 0x5e9d38
xor edi, edi
test eax, eax
jle 0x5e9d29
mov eax, dword [ebx + 0x64]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
mov eax, dword [eax + ecx]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + edi*4]
lea ecx, [esp + 0x1c8]
push eax
push ecx
mov ecx, esi
call dword [edx + 0xa8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
fld qword [esp + 0x1c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
fadd qword [ebp + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fstp qword [esp]
call fcn.0064dcb0
fld qword [esp + 0x24]
fadd qword [ebp + 0x10]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.0064dcc0
mov ebx, dword [esi]
sub esp, 0x18
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0064dc70
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
push edi
push eax
add ecx, 0x60
call fcn.004ea1e0
mov ecx, dword [eax]
add ecx, 8
call fcn.004ea1e0
mov edx, dword [eax]
mov ecx, esi
push edx
call dword [ebx + 0xac]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
inc edi
cmp edi, eax
jl 0x5e9c64
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x158]
jmp 0x5ea037
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xa4]
lea ecx, [esp + 0x90]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x7c]
mov edx, dword [esi]
lea eax, [esp + 0xa8]
push eax
mov ecx, esi
call dword [edx + 0x84]
mov eax, dword [esp + 0x3c]
xor edi, edi
test eax, eax
jle 0x5e9e78
mov ecx, dword [ebx + 0x64]
mov edx, dword [esp + 0x34]
mov eax, dword [ecx + edx]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + edi*4]
test eax, eax
jne 0x5e9df4
mov edx, dword [esi]
push eax
lea eax, [esp + 0x1b4]
mov ecx, esi
push eax
call dword [edx + 0xa8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
fld qword [esp + 0x1c]
fadd qword [ebp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 8
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x98]
mov dword [esp + 0x38], edx
fstp qword [esp]
call fcn.0064dcb0
fld qword [esp + 0x24]
fadd qword [ebp + 0x10]
sub esp, 8
lea ecx, [esp + 0x98]
fstp qword [esp]
jmp 0x5e9e66
mov ecx, dword [esp + 0x14]
dec ecx
cmp eax, ecx
jne 0x5e9e6b
mov edx, dword [esi]
push eax
lea eax, [esp + 0x16c]
mov ecx, esi
push eax
call dword [edx + 0xa8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
fld qword [esp + 0x1c]
fadd qword [ebp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 8
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0xb0]
mov dword [esp + 0x38], edx
fstp qword [esp]
call fcn.0064dcb0
fld qword [esp + 0x24]
fadd qword [ebp + 0x10]
sub esp, 8
lea ecx, [esp + 0xb0]
fstp qword [esp]
call fcn.0064dcc0
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jl 0x5e9d75
mov edi, dword [esi]
sub esp, 0x18
lea eax, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0xc0]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.0064dc70
mov ecx, esi
call dword [edi + 0x14c]
mov edi, eax
test edi, edi
je 0x5ea037
test esi, esi
je 0x5e9ec5
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x10]
push edi
call fcn.004da3b0
jmp 0x5ea037
mov ecx, dword [ebx + 0x64]
xor eax, eax
mov dword [esp + 0x14], eax
mov edx, dword [ecx + edi]
mov ecx, dword [edx + 0x10]
test ecx, ecx
mov dword [esp + 0x3c], ecx
jle 0x5ea037
jmp 0x5e9ef5
mov edi, dword [esp + 0x34]
mov ecx, dword [ebx + 0x64]
add ecx, edi
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
cmp dword [edx + eax*4], 0
jne 0x5e9f8f
mov eax, dword [esi]
lea ecx, [esp + 0x138]
push ecx
mov ecx, esi
call dword [eax + 0x7c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
fld qword [esp + 0x1c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
fadd qword [ebp + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fstp qword [esp]
call fcn.0064dcb0
fld qword [esp + 0x24]
fadd qword [ebp + 0x10]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.0064dcc0
mov edi, dword [esi]
sub esp, 0x18
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0064dc70
mov ecx, esi
call dword [edi + 0x80]
jmp 0x5ea022
mov ecx, dword [ecx]
mov edx, dword [ecx + 0xc]
cmp dword [edx + eax*4], 1
jne 0x5ea026
mov eax, dword [esi]
lea ecx, [esp + 0x198]
push ecx
mov ecx, esi
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
fld qword [esp + 0x1c]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
fadd qword [ebp + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
sub esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
fstp qword [esp]
call fcn.0064dcb0
fld qword [esp + 0x24]
fadd qword [ebp + 0x10]
sub esp, 8
lea ecx, [esp + 0x24]
fstp qword [esp]
call fcn.0064dcc0
mov edi, dword [esi]
sub esp, 0x18
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0064dc70
mov ecx, esi
call dword [edi + 0x88]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5e9ef1
mov ecx, dword [esp + 0x10]
push 1
push 1
push 1
call fcn.00498b40
mov edi, dword [esp + 0x34]
jmp 0x5ea384
cmp dword [eax], 0
je 0x5ea384
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 0x14]
lea edx, [esp + 0xc0]
push ecx
push edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
call fcn.00655db0
add esp, 8
mov eax, dword [ebx + 0x64]
mov dword [esp + 0x260], 0
add eax, edi
mov ecx, dword [eax]
mov esi, dword [ecx]
cmp dword [esi + 0x10], 0x11
je 0x5ea0e2
sub esp, 0x78
lea edx, [esp + 0x138]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.00654cc0
mov byte [esp + 0x2d8], 1
jmp 0x5ea15b
mov ecx, dword [esi + 0xb8]
test ecx, ecx
je 0x5ea2fc
mov edx, dword [esi + 0xbc]
test edx, edx
je 0x5ea2fc
mov eax, dword [eax]
lea edx, [esp + 0x60]
push edx
mov edi, dword [eax + 0xc8]
mov eax, dword [eax + 0xcc]
mov dword [esp + 0x14], eax
call fcn.004ac900
mov ecx, dword [esi + 0xbc]
lea eax, [esp + 0x48]
push eax
call fcn.004ac900
mov eax, dword [esp + 0x10]
test edi, edi
je 0x5ea249
test eax, eax
je 0x5ea181
sub esp, 0x78
lea edx, [esp + 0x138]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.00654cc0
mov byte [esp + 0x2d8], 2
mov eax, dword [esp + 0xb0]
lea ecx, [ebx + 0x60]
push eax
call fcn.004ea1e0
mov ecx, dword [eax]
mov byte [esp + 0x2d8], 0
mov ecx, dword [ecx]
mov edx, dword [ecx]
call dword [edx + 0x2c]
jmp 0x5ea31c
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x5ea31c
lea eax, [esp + 0xc0]
lea ecx, [esp + 0x60]
push eax
lea edx, [esp + 0x154]
push ecx
push edx
call fcn.00655240
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x7c], ecx
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x74], edx
call fcn.0049e3a0
mov edi, dword [eax]
mov dword [esp + 0x10], eax
sub esp, 0x18
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0064dc70
mov ecx, dword [esp + 0x40]
call dword [edi + 0x14c]
mov edi, eax
test edi, edi
je 0x5ea31c
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5ea22e
mov eax, dword [ecx]
push 1
call dword [eax + 4]
push edi
mov ecx, esi
call fcn.00531280
mov ecx, esi
call fcn.00533d50
mov ecx, esi
call fcn.00534220
jmp 0x5ea31c
test eax, eax
je 0x5ea31c
mov eax, dword [esi + 0xbc]
test eax, eax
je 0x5ea31c
lea ecx, [esp + 0xc0]
lea edx, [esp + 0x48]
push ecx
lea eax, [esp + 0x184]
push edx
push eax
call fcn.00655240
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x64], ecx
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x5c], edx
call fcn.0049e3a0
mov edi, dword [eax]
mov dword [esp + 0x10], eax
sub esp, 0x18
lea eax, [esp + 0x60]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call fcn.0064dc70
sub esp, 0x18
lea edx, [esp + 0x90]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.0064dc70
mov ecx, dword [esp + 0x40]
call dword [edi + 0x14c]
mov edi, eax
test edi, edi
je 0x5ea31c
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x5ea22e
jmp 0x5ea227
sub esp, 0x78
lea edx, [esp + 0x138]
mov ecx, esp
mov dword [esp + 0x90], esp
push edx
call fcn.00654cc0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [ebx + 0x64]
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0xc0]
mov eax, dword [edx + edi]
push ecx
add eax, 0x20
lea ecx, [esp + 0x1e4]
push eax
push ecx
call fcn.00655060
add esp, 0xc
mov edx, dword [ebx + 0x64]
push eax
mov byte [esp + 0x264], 3
mov ecx, dword [edx + edi]
add ecx, 0x20
call fcn.00654de0
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x260], 0
call fcn.00456760
lea ecx, [esp + 0xc0]
mov dword [esp + 0x260], 0xffffffff
call fcn.00456760
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x44]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], edi
jl 0x5e9c11
mov ecx, 1
mov ebx, dword [ebx + 0x34]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x64]
mov ecx, dword [esp + 0x258]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10