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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x609e7c
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x164], 0
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x40], ecx
je case.default.0x5a97c0
xor esi, esi
mov ecx, dword [edi + 0xd0]
test ecx, ecx
je 0x5a833a
mov eax, dword [edi + 0xd4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x5a833a
test ecx, ecx
mov byte [esp + 0x2f], 0
je 0x5a82f7
mov eax, dword [edi + 0xd4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x5a82fd
call dword [0x6105e8]
mov edx, dword [edi + 0xd0]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx]
mov eax, dword [eax]
lea edx, [esp + 0x2f]
push edx
mov edx, dword [esp + 0xb4]
push ebx
push edx
mov edx, dword [ebp + 0xc]
push edx
call eax
cmp byte [esp + 0x2f], 0
jne 0x5a832d
mov edx, dword [ebp + 0xc]
add esi, 1
jmp 0x5a82c6
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov al, 1
jmp 0x5aa0aa
cmp edx, 0x111
ja 0x5a939f
je 0x5a93c2
add edx, 0xfffffffb
cmp edx, 0xfd
ja case.default.0x5a97c0
movzx edx, byte [edx + 0x5aa108]
jmp dword [edx*4 + 0x5aa0d0]
mov ecx, dword [edi + 0xb4]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call dword [0x6103d8]
mov ecx, dword [edi + 0x94]
test ecx, ecx
mov dword [esp + 0x78], eax
je 0x5a83e9
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov ecx, dword [edi + 0x9c]
test ecx, ecx
je 0x5a840b
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x5a842d
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
xor esi, esi
call fcn.005a6f90
mov eax, dword [edi + 0x164]
push 4
push eax
call dword [0x6109ac]
test eax, eax
je case.default.0x5a97c0
push eax
call dword [0x610980]
jmp case.default.0x5a97c0
mov ecx, dword [esp + 0x40]
mov dword [ecx], 1
mov al, 1
jmp 0x5aa0aa
cmp byte [edi + 0x1e], 0
je 0x5a84ce
mov eax, dword [edi + 0x20]
push eax
mov eax, edi
call fcn.005aa260
cmp eax, 1
jne 0x5a84ce
push 0x3c
lea edx, [esp + 0xd4]
push 0
push edx
mov dword [esp + 0xd8], 0
call fcn.005e6f30
mov ecx, dword [edi + 0x164]
add esp, 0xc
lea eax, [esp + 0xcc]
push eax
push ecx
call dword [0x610918]
mov eax, dword [edi + 0x164]
lea edx, [esp + 0xcc]
push edx
push eax
call dword [0x6108e8]
mov al, 1
jmp 0x5aa0aa
mov edx, dword [edi + 0x164]
xor esi, esi
push esi
lea ecx, [esp + 0x44]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call dword [0x6108e4]
test eax, eax
je 0x5a8333
cmp byte [edi + 0x174], 0
je 0x5a8597
mov ecx, dword [edi + 0x164]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov byte [edi + 0x174], 0
mov dword [esp + 0x24], esi
call dword [0x6109c0]
mov ecx, dword [edi + 0xfc]
cmp ecx, esi
je 0x5a8569
mov ebx, dword [esp + 0x1c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x30]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x34]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0xbc]
call eax
mov eax, dword [edi + 0x16c]
cmp eax, esi
je 0x5a857a
push eax
call dword [0x6100f0]
mov eax, dword [edi + 0x170]
cmp eax, esi
je 0x5a858b
push eax
call dword [0x6100e8]
mov dword [edi + 0x16c], esi
mov dword [edi + 0x170], esi
cmp byte [edi + 0x190], 0
je 0x5a8667
cmp byte [edi + 0x174], 0
mov byte [edi + 0x190], 0
je 0x5a85e5
cmp byte [edi + 0x1e], 0
mov byte [edi + 0x190], 1
je 0x5a85d1
mov ecx, dword [edi + 0x20]
push ecx
mov eax, edi
call fcn.005aa260
jmp 0x5a8667
mov edx, dword [edi + 0x164]
push esi
push esi
push edx
call dword [0x6109cc]
jmp 0x5a8667
mov ecx, dword [edi + 0xfc]
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0xa8]
mov dword [esp + 0x10], eax
push 0x80000003
lea eax, [esp + 0x14]
mov byte [esp + 0x1c], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push eax
push 0x5aa6f0
call edx
cmp eax, esi
jne 0x5a8660
mov ecx, dword [edi + 0xfc]
xor eax, eax
mov dword [esp + 0xb8], eax
push 0x80000003
mov dword [esp + 0xb8], eax
lea edx, [esp + 0xb4]
mov dword [esp + 0xb4], esi
mov byte [esp + 0xbc], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push edx
push 0x5aa6f0
call eax
cmp eax, esi
je 0x5a8667
mov esi, eax
call fcn.005a6f90
cmp byte [edi + 0x1d], 0
je 0x5a8687
mov eax, dword [edi + 0xfc]
push 0
push 0
mov ecx, 1
mov esi, edi
mov byte [edi + 0x1d], 0
call fcn.005a7cc0
xor esi, esi
cmp byte [edi + 0xb8], 0
je 0x5a8712
mov ecx, dword [edi + 0xfc]
push 0x80000001
mov byte [edi + 0xb8], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push esi
push 0x5aa750
call eax
mov ebx, eax
cmp ebx, esi
je 0x5a8712
jmp 0x5a86c0
mov esi, dword [ebx]
mov edx, dword [esi + 0xb8]
mov ecx, ebx
call edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0xbc]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [edi + 0xfc]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
push 0x80000001
push 0
push 0x5aa750
call edx
mov ebx, eax
test ebx, ebx
jne 0x5a86c0
xor esi, esi
cmp dword [edi + 0x170], esi
jne 0x5a8808
mov ecx, dword [edi + 0x164]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x24], esi
call dword [0x6109c0]
mov edx, dword [edi + 0x168]
push edx
call dword [0x6100f8]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x24]
sub ecx, dword [esp + 0x1c]
push esi
push esi
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0xb8]
push ecx
mov dword [esp + 0xe0], edx
push esi
lea edx, [esp + 0xdc]
push edx
push eax
mov dword [edi + 0x16c], eax
mov dword [esp + 0xe4], 0x28
mov word [esp + 0xf0], 1
mov word [esp + 0xf2], 0x20
mov dword [esp + 0xf4], esi
mov dword [esp + 0xc8], esi
call dword [0x6100f4]
mov dword [edi + 0x170], eax
push 0x3c
lea eax, [esp + 0x74]
push esi
push eax
mov dword [esp + 0x78], esi
call fcn.005e6f30
mov edx, dword [edi + 0x164]
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [0x610918]
mov eax, dword [edi + 0x170]
mov ecx, dword [edi + 0x16c]
mov ebx, dword [0x6100ec]
push eax
push ecx
call ebx
mov ecx, dword [edi + 0xfc]
cmp ecx, esi
mov dword [esp + 0xb0], eax
je 0x5a886b
mov edx, dword [ecx]
mov edx, dword [edx + 0x9c]
lea eax, [esp + 0x74]
push eax
mov eax, dword [edi + 0x16c]
push eax
call edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [edi + 0x16c]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x90]
sub edx, eax
push edx
mov edx, dword [esp + 0x90]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x88]
push ecx
push eax
call dword [0x6100d4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [edi + 0x16c]
push ecx
push edx
call ebx
cmp byte [edi + 0x1c], 0
je 0x5a8900
mov eax, dword [edi + 0x18]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call ebx
push 5
mov esi, eax
call dword [0x6100cc]
mov edx, dword [esp + 0x6c]
push eax
push edx
call ebx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
call dword [0x610094]
mov edx, dword [esp + 0x6c]
push esi
push edx
call ebx
mov ecx, dword [edi + 0x164]
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [0x6108e8]
mov al, 1
jmp 0x5aa0aa
movsx edx, bx
shr ebx, 0x10
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edx
mov edx, dword [edi + 0x164]
movsx eax, bx
push ecx
push edx
mov dword [esp + 0x1c], eax
call dword [0x6109b4]
mov ecx, dword [edi + 0x164]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [0x6109c0]
mov edx, dword [edi + 0x164]
push edx
call dword [0x61093c]
test eax, eax
mov edx, dword [esp + 0x14]
jne 0x5a8aef
mov eax, dword [edi + 0x158]
mov esi, dword [edi + 0x150]
mov ebx, dword [edi + 0x154]
mov ecx, dword [edi + 0x160]
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0x15c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
call fcn.005c1090
test al, al
jne 0x5a8aef
mov eax, dword [esp + 0x20]
add eax, ebx
cmp edx, eax
mov dword [esp + 0xb0], eax
jge 0x5a8a08
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add esi, edx
add esi, ecx
cmp eax, esi
jge 0x5a89d8
mov eax, dword [esp + 0x40]
mov dword [eax], 0xd
mov al, 1
jmp 0x5aa0aa
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x38]
sub edx, ecx
cmp eax, edx
jle 0x5a89f7
mov eax, dword [esp + 0x40]
mov dword [eax], 0xe
mov al, 1
jmp 0x5aa0aa
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xc
mov al, 1
jmp 0x5aa0aa
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x3c]
cmp edx, eax
jle 0x5a8a65
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add esi, edx
add esi, ecx
cmp eax, esi
jge 0x5a8a35
mov eax, dword [esp + 0x40]
mov dword [eax], 0x10
mov al, 1
jmp 0x5aa0aa
mov edx, dword [esp + 0x24]
sub edx, dword [esp + 0x38]
sub edx, ecx
cmp eax, edx
jle 0x5a8a54
mov eax, dword [esp + 0x40]
mov dword [eax], 0x11
mov al, 1
jmp 0x5aa0aa
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xf
mov al, 1
jmp 0x5aa0aa
mov ebx, dword [esp + 0x1c]
add esi, ebx
cmp dword [esp + 0x10], esi
jge 0x5a8aa6
mov esi, dword [esp + 0xb0]
add esi, ecx
cmp edx, esi
jge 0x5a8a8f
mov edx, dword [esp + 0x40]
mov dword [edx], 0xd
mov al, 1
jmp 0x5aa0aa
sub eax, ecx
cmp edx, eax
jg 0x5a8a24
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xa
mov al, 1
jmp 0x5aa0aa
mov ebx, dword [esp + 0x24]
sub ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x10]
cmp esi, ebx
jle 0x5a8af3
mov esi, dword [esp + 0xb0]
add esi, ecx
cmp edx, esi
jge 0x5a8ad4
mov edx, dword [esp + 0x40]
mov dword [edx], 0xe
mov al, 1
jmp 0x5aa0aa
sub eax, ecx
cmp edx, eax
jg 0x5a8a43
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xb
mov al, 1
jmp 0x5aa0aa
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 0x140]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi + 0x148]
add eax, ebx
cmp esi, eax
jl case.default.0x5a97c0
mov eax, dword [esp + 0x24]
sub eax, ecx
cmp esi, eax
jge case.default.0x5a97c0
cmp edx, dword [edi + 0x144]
jl case.default.0x5a97c0
cmp edx, dword [edi + 0x14c]
jge case.default.0x5a97c0
push edx
push esi
mov eax, edi
call fcn.005aa970
test eax, eax
je case.default.0x5a97c0
cmp byte [eax + 0x23], 0
je case.default.0x5a97c0
mov edx, dword [esp + 0x40]
mov dword [edx], 2
mov al, 1
jmp 0x5aa0aa
mov eax, dword [edi + 0x164]
push eax
call dword [0x610990]
test eax, eax
jne 0x5a8333
cmp byte [edi + 0x19c], al
je 0x5a8bfd
mov ecx, dword [edi + 0x1bc]
mov edx, dword [edi + 0x1b8]
mov eax, dword [edi + 0x1b4]
push ecx
mov ecx, dword [edi + 0x1b0]
push edx
push eax
push ecx
call dword [0x6100b8]
mov edx, dword [edi + 0x1ac]
mov ecx, dword [edi + 0x1a4]
push edx
mov edx, dword [edi + 0x1a0]
mov ebx, eax
mov eax, dword [edi + 0x1a8]
push eax
push ecx
push edx
call dword [0x6100d0]
push 2
mov esi, eax
push ebx
push esi
push esi
call dword [0x6100d8]
push ebx
mov ebx, dword [0x6100e8]
call ebx
mov eax, dword [edi + 0x164]
push 1
push esi
push eax
call dword [0x610914]
push esi
call ebx
mov byte [edi + 0x174], 1
mov al, 1
jmp 0x5aa0aa
mov edx, dword [edi + 0x164]
lea ecx, [esp + 0xb0]
push ecx
push edx
call dword [0x6109c0]
cmp dword [edi + 0x134], 0
je 0x5a8c9c
cmp dword [edi + 0x13c], 0
jne 0x5a8c7b
lea eax, [edi + 0x120]
push eax
lea ecx, [esp + 0x54]
call dword [0x610494]
mov dword [esp + 0x120], 1
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.005b8700
add esp, 8
lea ecx, [esp + 0x50]
mov dword [edi + 0x13c], eax
mov dword [esp + 0x120], 0xffffffff
call dword [0x6105a0]
mov eax, dword [edi + 0x13c]
test eax, eax
je 0x5a8c95
push 1
push eax
mov eax, dword [edi + 0x164]
push eax
call dword [0x610914]
mov al, 1
jmp 0x5aa0aa
mov eax, dword [edi + 0x118]
mov ecx, dword [edi + 0x11c]
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov esi, eax
jg 0x5a8cb8
mov esi, ecx
test esi, esi
je 0x5a8db3
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
push esi
push esi
add ecx, 1
push ecx
mov ecx, dword [esp + 0xbc]
add edx, 1
push edx
push eax
push ecx
mov byte [edi + 0x175], 1
call dword [0x6100c0]
cmp dword [esp + 0x10], 0
mov ebx, eax
jne 0x5a8d36
mov edx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0xbc]
sub edx, esi
mov dword [esp + 0x34], eax
add edx, 1
lea eax, [esp + 0x30]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
push eax
jmp 0x5a8d70
cmp dword [esp + 0x14], 0
jne 0x5a8d8a
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
add edx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x30]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
push edx
call dword [0x6100c8]
push 2
mov esi, eax
push esi
push ebx
push ebx
call dword [0x6100d8]
push esi
call dword [0x6100e8]
test ebx, ebx
je 0x5a8e06
mov eax, dword [edi + 0x164]
push 1
push ebx
push eax
call dword [0x610914]
push ebx
call dword [0x6100e8]
mov byte [edi + 0x174], 1
mov al, 1
jmp 0x5aa0aa
cmp byte [edi + 0x175], 0
je 0x5a8e06
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
push eax
push ecx
mov byte [edi + 0x175], 0
call dword [0x6100d0]
mov esi, eax
test esi, esi
je 0x5a8e06
mov edx, dword [edi + 0x164]
push 1
push esi
push edx
call dword [0x610914]
push esi
call dword [0x6100e8]
mov byte [edi + 0x174], 1
mov al, 1
jmp 0x5aa0aa
cmp byte [edi + 0x90], 0
jne case.default.0x5a97c0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 0x164]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], 0x12
mov dword [esp + 0x3c], eax
call dword [0x61006c]
mov byte [edi + 0x90], 1
jmp case.default.0x5a97c0
cmp bx, 1
jne case.default.0x5a97c0
cmp byte [edi + 0xac], 0
jne 0x5a8333
lea edx, [esp + 0x10]
xor esi, esi
push edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call dword [0x6109c4]
mov ecx, dword [edi + 0x164]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [0x6109b4]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
mov eax, edi
call fcn.005aa970
mov edi, eax
cmp edi, esi
je case.default.0x5a97c0
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, edi
call eax
test al, al
je case.default.0x5a97c0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0x12
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
call fcn.005a6e80
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov dword [esp + 0x78], eax
mov edx, dword [edi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, edi
call edx
mov al, bl
jmp 0x5aa0aa
mov ecx, dword [edi + 0x164]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6c]
push eax
push 1
push ecx
mov dword [esp + 0x78], 0x28
call dword [0x6109dc]
push eax
call dword [0x6109d4]
mov eax, dword [edi + 0x108]
test eax, eax
jle 0x5a8fc6
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x10c]
test eax, eax
jle 0x5a8fd3
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x110]
test eax, eax
jle 0x5a8fe9
mov dword [ebx + 0x20], eax
mov edx, dword [edi + 0x110]
mov dword [ebx + 8], edx
mov eax, dword [edi + 0x114]
test eax, eax
jle 0x5a9004
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x114]
mov dword [ebx + 0xc], eax
jmp case.default.0x5a97c0
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + ecx]
cdq
mov esi, eax
mov eax, dword [esp + 0x84]
xor esi, edx
sub esi, edx
mov edx, dword [esp + 0x8c]
sub edx, eax
add esi, edx
mov edx, dword [esp + 0x80]
add dword [ebx + 0x10], edx
add eax, ecx
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x14], eax
jmp case.default.0x5a97c0
movsx eax, bx
shr ebx, 0x10
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x164]
movsx ecx, bx
push edx
push eax
mov dword [esp + 0x1c], ecx
call dword [0x6109b4]
cmp dword [edi + 0xa0], 0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [edi + 0xb0], ecx
mov dword [edi + 0xb4], edx
je case.default.0x5a97c0
push edi
call fcn.005aa240
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xa0]
mov dword [esp + 0x7c], ecx
mov cx, word [esp + 0xb0]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], edx
mov word [esp + 0x86], cx
mov dword [esp + 0x8c], eax
call dword [0x6103d8]
mov ecx, dword [edi + 0xa0]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov dword [edi + 0xa0], 0
jmp case.default.0x5a97c0
cmp dword [edi + 0xa8], 0
je case.default.0x5a97c0
mov ecx, dword [edi + 0xb0]
mov edx, dword [edi + 0xb4]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov ax, word [esp + 0xb0]
mov dword [esp + 0x6c], 3
mov word [esp + 0x84], ax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.005a6e80
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov edi, dword [edi + 0xa8]
mov dword [esp + 0x78], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
jmp case.default.0x5a97c0
cmp dword [edi + 0xa8], 0
je case.default.0x5a97c0
mov ecx, dword [edi + 0xb0]
mov edx, dword [edi + 0xb4]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov ax, word [esp + 0xb0]
mov dword [esp + 0x6c], 1
mov word [esp + 0x84], ax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.005a6e80
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov ecx, dword [edi + 0xa8]
mov dword [edi + 0xa4], ecx
jmp case.default.0x5a97c0
cmp dword [edi + 0xa4], 0
je case.default.0x5a97c0
mov dx, word [esp + 0xb0]
mov ecx, dword [edi + 0xb4]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x6c], 2
mov word [esp + 0x84], dx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call fcn.005a6e80
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov ecx, dword [edi + 0xa4]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov dword [edi + 0xa4], 0
jmp case.default.0x5a97c0
cmp dword [esp + 0xb0], 0
je case.default.0x5a97c0
mov edx, dword [esp + 0xb0]
mov eax, edi
call fcn.005aa940
mov esi, eax
xor eax, eax
cmp esi, eax
je case.default.0x5a97c0
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x50]
lea ecx, [esp + 0xcc]
push ecx
mov ecx, esi
call edx
mov dword [edi + 0xa8], esi
jmp case.default.0x5a97c0
cmp edx, 0x200
ja 0x5a979f
je 0x5a94c5
sub edx, 0x113
je 0x5a93f1
sub edx, 0x20
jne case.default.0x5a97c0
test ebx, ebx
je case.default.0x5a97c0
mov eax, dword [esp + 0xb0]
mov ecx, dword [ebp + 0xc]
push ebx
push eax
add ecx, 0x2000
push ecx
push ebx
call dword [0x61085c]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
mov al, 1
jmp 0x5aa0aa
mov eax, dword [esp + 0xb0]
push eax
push edi
call fcn.005c5090
xor esi, esi
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je case.default.0x5a97c0
mov eax, dword [edi + 0xe4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae case.default.0x5a97c0
test ecx, ecx
je 0x5a9435
mov eax, dword [edi + 0xe4]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x5a943b
call dword [0x6105e8]
mov ecx, dword [edi + 0xe0]
mov ebx, dword [ecx + esi*4]
mov edx, dword [ebx + 8]
cmp edx, dword [edi + 0x164]
jne 0x5a94bd
movzx eax, word [esp + 0xb0]
cmp dword [ebx + 0xc], eax
jne 0x5a94bd
mov ecx, dword [ebx + 4]
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 0x13
mov dword [esp + 0x88], ecx
call dword [0x6103d8]
mov ebx, dword [ebx]
mov dword [esp + 0x78], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
add esi, 1
jmp 0x5a9401
mov ecx, dword [edi + 0xfc]
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
push 0xd
mov dword [esp + 0x18], eax
mov dword [edi + 0xb4], eax
mov dword [esp + 0xb8], eax
lea edx, [esp + 0xb4]
mov dword [edi + 0xb0], esi
mov dword [esp + 0xb4], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
push edx
push 0x5aa8e0
mov dword [esp + 0x1c], esi
call eax
mov ebx, eax
test ebx, ebx
je 0x5a9526
mov edx, dword [ebx]
mov eax, dword [edx + 0x120]
mov ecx, ebx
call eax
cmp eax, edi
jne case.default.0x5a97c0
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
call dword [0x6103d8]
mov ecx, dword [edi + 0x94]
cmp ebx, ecx
mov dword [esp + 0x78], eax
je 0x5a95c8
xor esi, esi
cmp ecx, esi
je 0x5a95c8
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [edi + 0x60]
cmp eax, esi
mov dword [edi + 0x94], esi
je 0x5a95c1
lea ecx, [edi + 0x64]
push ecx
push esi
push 0x411
push eax
call dword [0x61085c]
mov dword [edi + 0x60], esi
mov byte [edi + 0x91], 0
mov ecx, dword [edi + 0x94]
cmp ebx, ecx
jne 0x5a95ea
test ecx, ecx
je 0x5a95e6
cmp byte [ecx + 0x3c8], 0
je 0x5a95e6
mov byte [edi + 0x91], 0
cmp ebx, ecx
je 0x5a962e
test ebx, ebx
je 0x5a962e
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x5a95fe
cmp byte [eax + 0x22], 0
jne 0x5a962e
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x5a960e
cmp byte [eax + 0x22], 0
jne 0x5a962e
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], 8
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0x94], ebx
mov ecx, dword [edi + 0x9c]
test ecx, ecx
jne 0x5a965e
cmp dword [edi + 0xa0], ecx
jne 0x5a965e
test ebx, ebx
je 0x5a96a1
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 6
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, ebx
jmp 0x5a969f
test ecx, ecx
mov esi, 6
je 0x5a967f
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov ecx, dword [edi + 0xa0]
test ecx, ecx
je 0x5a96a1
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
cmp byte [edi + 0x91], 0
jne case.default.0x5a97c0
xor eax, eax
test ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 2
je 0x5a977e
mov eax, dword [ebx + 0x384]
mov ecx, dword [ebx + 0x388]
mov edx, dword [ebx + 0x38c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x390]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
call fcn.005c1090
test al, al
jne 0x5a9765
mov edx, dword [ebx]
mov eax, dword [edx + 0xb8]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x44], edx
mov esi, dword [eax + 8]
add edx, dword [esp + 0x34]
mov dword [esp + 0x48], esi
mov eax, dword [eax + 0xc]
sub eax, dword [esp + 0x3c]
sub esi, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x50], eax
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x54], esi
call dword [0x6109bc]
test eax, eax
je 0x5a977e
mov eax, dword [ebx + 0x3c4]
test eax, eax
je 0x5a977e
or dword [esp + 0x20], 1
mov dword [edi + 0x98], ebx
mov dword [esp + 0x28], eax
mov ecx, dword [edi + 0x164]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x28], ecx
call dword [0x61006c]
mov byte [edi + 0x91], 1
jmp case.default.0x5a97c0
cmp edx, 0x20a
ja 0x5a9cbd
je 0x5a9b92
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x5a97c0
jmp dword [edx*4 + 0x5aa208]
mov eax, dword [edi + 0x164]
push eax
call dword [0x610980]
mov ecx, ebx
shr ecx, 0x10
movsx ecx, cx
movsx eax, bx
push ecx
mov dword [esp + 0x14], eax
mov dword [edi + 0xb0], eax
push eax
mov eax, edi
mov dword [esp + 0x1c], ecx
mov dword [edi + 0xb4], ecx
call fcn.005aa970
test eax, eax
mov dword [esp + 0x40], eax
je case.default.0x5a97c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x120]
call eax
cmp eax, edi
jne case.default.0x5a97c0
mov ecx, dword [esp + 0x40]
mov dword [edi + 0x9c], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x16c]
call eax
mov esi, edi
call fcn.005aa220
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x6c], 0xb
mov dword [esp + 0x70], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call edx
cmp dword [edi + 0x60], 0
je case.default.0x5a97c0
mov eax, dword [edi + 0x5c]
push 0
push eax
call dword [0x61084c]
jmp case.default.0x5a97c0
mov ecx, dword [edi + 0x164]
push ecx
call dword [0x610980]
movsx eax, bx
shr ebx, 0x10
movsx ecx, bx
push ecx
mov dword [esp + 0x14], eax
mov dword [edi + 0xb0], eax
push eax
mov eax, edi
mov dword [esp + 0x1c], ecx
mov dword [edi + 0xb4], ecx
call fcn.005aa970
mov ebx, eax
test ebx, ebx
je case.default.0x5a97c0
mov edx, dword [ebx]
mov eax, dword [edx + 0x120]
mov ecx, ebx
call eax
cmp eax, edi
jne case.default.0x5a97c0
mov esi, edi
call fcn.005aa220
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov ax, word [esp + 0xb0]
mov dword [esp + 0x6c], 0xe
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov dword [esp + 0x78], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0x9c], ebx
jmp case.default.0x5a97c0
mov eax, ebx
shr eax, 0x10
cmp dword [edi + 0x9c], 0
movsx ecx, ax
movsx esi, bx
mov dword [esp + 0x14], ecx
mov dword [edi + 0xb0], esi
mov dword [edi + 0xb4], ecx
je case.default.0x5a97c0
cmp byte [edi + 0x14], 0
jne 0x5a99f6
push edi
call fcn.005aa240
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x9c]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov ecx, dword [edi + 0x9c]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [edi + 0x9c], 0
jmp case.default.0x5a97c0
mov ecx, dword [edi + 0x164]
push ecx
call dword [0x610980]
mov edx, ebx
shr edx, 0x10
movsx ecx, dx
movsx eax, bx
push ecx
mov dword [esp + 0x14], eax
mov dword [edi + 0xb0], eax
push eax
mov eax, edi
mov dword [esp + 0x1c], ecx
mov dword [edi + 0xb4], ecx
call fcn.005aa970
test eax, eax
mov dword [esp + 0x40], eax
je case.default.0x5a97c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x120]
call eax
cmp eax, edi
jne case.default.0x5a97c0
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [edx + 0x16c]
call eax
mov esi, edi
call fcn.005aa220
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x6c], 0xd
mov dword [esp + 0x70], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call edx
mov dword [edi + 0xa0], esi
jmp case.default.0x5a97c0
movsx eax, bx
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x10], eax
movsx edx, cx
mov ecx, dword [edi + 0x164]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [0x6109b4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0xfc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push 0xd
lea eax, [esp + 0x44]
push eax
push 0x5aa8e0
call edx
mov esi, eax
test esi, esi
je case.default.0x5a97c0
mov eax, dword [esi]
mov edx, dword [eax + 0x120]
mov ecx, esi
call edx
cmp eax, edi
jne case.default.0x5a97c0
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xb0]
xor ecx, ecx
shr eax, 0x10
test ax, ax
setl cl
mov dword [esp + 0x6c], 0xa
mov dword [esp + 0x70], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x88], ecx
call fcn.005a6e80
mov word [esp + 0x86], ax
call dword [0x6103d8]
mov dword [esp + 0x78], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call edx
movzx eax, word [edi + 0xb4]
movzx ecx, word [edi + 0xb0]
mov edx, dword [edi + 0x164]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [0x61085c]
jmp case.default.0x5a97c0
cmp edx, 0x2a3
ja 0x5aa015
je 0x5a9f99
sub edx, 0x2a1
je 0x5a9d09
sub edx, 1
jne case.default.0x5a97c0
cmp byte [edi + 0x90], dl
je 0x5a9cfd
mov eax, dword [edi + 0x164]
push 0xffffffffffffffff
push edx
push 0xa0
push eax
call dword [0x61085c]
mov byte [edi + 0x90], 0
jmp case.default.0x5a97c0
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
push eax
mov dword [esp + 0x18], eax
push esi
mov eax, edi
call fcn.005aa970
mov ebx, eax
test ebx, ebx
je case.default.0x5a97c0
mov ecx, dword [ebx + 0x384]
mov eax, dword [ebx + 0x38c]
mov edx, dword [ebx + 0x388]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x390]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
call fcn.005c1090
test al, al
jne 0x5a9dba
mov edx, dword [ebx]
mov eax, dword [edx + 0xb8]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0xc]
sub edx, dword [esp + 0x38]
sub eax, dword [esp + 0x3c]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x38]
add dword [esp + 0x24], ecx
push esi
lea eax, [esp + 0x24]
push eax
call dword [0x6109bc]
test eax, eax
je case.default.0x5a97c0
cmp ebx, dword [edi + 0x98]
jne case.default.0x5a97c0
cmp dword [edi + 0x94], 0
je 0x5a9e3b
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x6c], 9
mov dword [esp + 0x70], ebx
call dword [0x6103d8]
mov ecx, dword [edi + 0x94]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x144]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x120], 2
cmp dword [esp + 0xc4], 0
je 0x5a9f7a
cmp byte [ebx + 0x318], 0
jne 0x5a9f7a
push 0x2c
lea esi, [edi + 0x64]
push 0
push esi
call fcn.005e6f30
mov eax, dword [edi + 0x164]
add esp, 0xc
mov dword [esi], 0x2c
mov dword [edi + 0x68], 1
mov dword [edi + 0x6c], eax
mov dword [edi + 0x70], eax
call fcn.004044c0
cmp dword [esp + 0xc8], 8
mov eax, dword [eax + 0x4c]
mov dword [edi + 0x84], eax
mov eax, dword [esp + 0xb4]
jae 0x5a9ec4
lea eax, [esp + 0xb4]
mov dword [edi + 0x88], eax
mov eax, dword [ebx]
mov edx, dword [eax + 0xb8]
mov ecx, ebx
call edx
cmp dword [edi + 0x5c], 0
mov ecx, dword [eax]
mov ebx, dword [0x61085c]
mov dword [edi + 0x74], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x78], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x7c], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x80], edx
jne 0x5a9f58
call fcn.004044c0
mov eax, dword [eax + 0x4c]
push 0
push eax
mov eax, dword [edi + 0x164]
push 0
push eax
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000003
push 0
push str.tooltips_class32
push 0
call dword [0x610908]
push esi
push 0
push 0x432
push eax
mov dword [edi + 0x5c], eax
call ebx
mov ecx, dword [edi + 0x5c]
push 0x12c
push 0
push 0x418
push ecx
call ebx
mov edx, dword [edi + 0x5c]
push esi
push 0
push 0x436
push edx
call ebx
mov eax, dword [edi + 0x5c]
push esi
push 1
push 0x411
push eax
call ebx
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x120], 0xffffffff
call dword [0x6105a0]
mov al, 1
jmp 0x5aa0aa
mov eax, dword [edi + 0x60]
test eax, eax
mov esi, dword [0x61085c]
je 0x5a9fbb
lea ecx, [edi + 0x64]
push ecx
push 0
push 0x411
push eax
call esi
mov dword [edi + 0x60], 0
cmp byte [edi + 0x91], 0
je 0x5a9fd6
mov edx, dword [edi + 0x164]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call esi
cmp dword [edi + 0x9c], 0
je 0x5a9ff1
mov eax, dword [edi + 0x164]
push 0xffffffffffffffff
push 0
push 0x202
push eax
call esi
cmp dword [edi + 0xa0], 0
je 0x5aa009
mov ecx, dword [edi + 0x164]
push 0xffffffffffffffff
push 0
push 0x7b
push ecx
call esi
mov byte [edi + 0x91], 0
jmp case.default.0x5a97c0
cmp edx, 0x8001
jne case.default.0x5a97c0
lea ebx, [edi + 0x198]
test ebx, ebx
mov dword [esp + 0xb0], ebx
je 0x5aa03f
mov eax, dword [ebx]
test eax, eax
je 0x5aa03f
push eax
call dword [0x610260]
xor esi, esi
mov dword [esp + 0x120], esi
add edi, 0xec
mov edi, edi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x5aa090
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x5aa090
test ecx, ecx
je 0x5aa073
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x5aa079
call dword [0x6105e8]
mov edx, dword [edi + 4]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x5aa08b
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
add esi, 1
jmp 0x5aa050
mov esi, edi
call fcn.005afb00
test ebx, ebx
je case.default.0x5a97c0
mov eax, dword [ebx]
test eax, eax
je case.default.0x5a97c0
push eax
call dword [0x61025c]
xor al, al
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.005e693f
mov esp, ebp
pop ebp
ret 0x10