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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff50
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0x18]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5b88c3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x18], eax
fld qword [ebp + 0x10]
call fcn.00403240
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0xbc]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0xb8]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xbc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0xd8]
mov edx, dword [eax]
call dword [edx + 0x1e4]
mov byte [ebp - 9], al
xor esi, esi
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jbe 0x5b7bdc
mov edx, esi
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x44], eax
jmp 0x5b7bf6
mov dword [ebp - 0x44], 0xffffffff
jmp 0x5b7bf6
inc esi
mov edx, esi
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebx + 0xc0]
jg 0x5b7c11
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
cmp eax, esi
jg 0x5b7be5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp byte [ebp + 0x20], 0
je 0x5b7cae
cmp byte [ebp + 0x1c], 0
je 0x5b7c61
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebx + 0x5c]
add edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x5b7d0d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [ebx + 0xd8]
mov edx, dword [edx + 0x310]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebx + 0xd8]
mov edx, dword [edx + 0x310]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebx + 0x5c]
add edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x5b7d0d
cmp byte [ebp + 0x1c], 0
je 0x5b7ce3
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebx + 0x5c]
add edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x5b7d0d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [ebx + 0x58]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebx + 0x58]
mov ecx, dword [eax]
call dword [ecx + 4]
mov edx, dword [ebx + 0x5c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov al, byte [ebx + 0x74]
test al, al
jne 0x5b7e9e
cmp byte [ebp - 9], 0
je 0x5b7d32
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x54]
jmp 0x5b7d44
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x54]
add dword [ebp - 0x10], 4
add dword [ebp - 0x14], 4
cmp byte [ebp - 9], 0
je 0x5b7ddb
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jle 0x5b7e5a
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
add eax, dword [ebx + 0xc0]
cmp eax, dword [ebp - 0x44]
jne 0x5b7db7
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x54]
inc esi
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp esi, eax
jae 0x5b7dae
mov edx, esi
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x44], eax
jmp 0x5b7dc9
mov dword [ebp - 0x44], 0xffffffff
jmp 0x5b7dc9
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x50]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
inc dword [ebp - 0x20]
dec dword [ebp - 0x50]
jne 0x5b7d6c
jmp 0x5b7e5a
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jle 0x5b7e5a
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x20]
add eax, dword [ebx + 0xc0]
cmp eax, dword [ebp - 0x44]
jne 0x5b7e38
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x54]
inc esi
mov eax, dword [ebx + 0x88]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp esi, eax
jae 0x5b7e2f
mov edx, esi
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x44], eax
jmp 0x5b7e4a
mov dword [ebp - 0x44], 0xffffffff
jmp 0x5b7e4a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x50]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
inc dword [ebp - 0x20]
dec dword [ebp - 0x50]
jne 0x5b7ded
sub dword [ebp - 0x14], 4
sub dword [ebp - 0x10], 4
cmp byte [ebp - 9], 0
je 0x5b7e83
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
jmp 0x5b83d4
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
jmp 0x5b83d4
cmp al, 1
jne 0x5b7fa7
cmp byte [ebp - 9], 0
je 0x5b7ec0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x54]
jmp 0x5b7ed2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x54]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add dword [ebp - 0x10], 4
add dword [ebp - 0x14], 4
cmp byte [ebp - 9], 0
je 0x5b7f25
mov edx, dword [ebp - 0x24]
dec edx
test edx, edx
jle 0x5b7f63
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov edx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
dec dword [ebp - 0x50]
jne 0x5b7ef0
jmp 0x5b7f63
mov edx, dword [ebp - 0x24]
dec edx
test edx, edx
jle 0x5b7f63
mov dword [ebp - 0x50], edx
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
mov ecx, eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
dec dword [ebp - 0x50]
jne 0x5b7f30
sub dword [ebp - 0x14], 4
sub dword [ebp - 0x10], 4
cmp byte [ebp - 9], 0
je 0x5b7f8c
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
jmp 0x5b83d4
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
jmp 0x5b83d4
cmp al, 2
jne 0x5b82af
mov edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp byte [ebp + 0x20], 0
je 0x5b7fd1
mov esi, dword [ebx + 0x5c]
add esi, 2
mov dword [ebp - 0x3c], 1
jmp 0x5b7fd9
mov esi, dword [ebx + 0x5c]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x25], 1
mov al, byte [ebx + 0xe1]
dec al
je 0x5b803c
dec al
jne 0x5b8089
cmp byte [ebp - 9], 0
je 0x5b8018
mov eax, ebx
call fcn.005b2b54
mov edx, dword [eax]
call dword [edx + 0xbc]
test al, al
je 0x5b8010
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], eax
jmp 0x5b808e
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
jmp 0x5b808e
mov eax, ebx
call fcn.005b2b54
mov edx, dword [eax]
call dword [edx + 0xbc]
test al, al
je 0x5b8033
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jmp 0x5b808e
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x40], eax
jmp 0x5b808e
cmp byte [ebp - 9], 0
je 0x5b8065
mov eax, ebx
call fcn.005b2b54
mov edx, dword [eax]
call dword [edx + 0xbc]
test al, al
je 0x5b805d
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x40], eax
jmp 0x5b808e
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], eax
jmp 0x5b808e
mov eax, ebx
call fcn.005b2b54
mov edx, dword [eax]
call dword [edx + 0xbc]
test al, al
je 0x5b8081
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x40], eax
jmp 0x5b808e
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x40], eax
jmp 0x5b808e
xor eax, eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x5b83d4
inc eax
mov dword [ebp - 0x50], eax
cmp word [ebx + 0x172], 0
je 0x5b80dc
mov byte [ebp - 0x25], 1
mov eax, dword [ebp + 8]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
push dword [eax]
mov al, byte [ebp + 0x20]
push eax
lea eax, [ebp - 0x25]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0xc]
mov ecx, eax
mov edx, ebx
mov eax, dword [ebx + 0x174]
call dword [ebx + 0x170]
cmp byte [ebp - 0x25], 0
je 0x5b8291
cmp byte [ebp - 9], 0
je 0x5b81c5
mov al, byte [ebx + 0xe1]
dec eax
sub al, 2
jae 0x5b8137
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, esi
mov edx, esi
sar edx, 1
jns 0x5b8114
adc edx, 0
sub eax, edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, esi
sar eax, 1
jns 0x5b8125
adc eax, 0
sub ecx, eax
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x40]
jmp 0x5b8291
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x48]
dec eax
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx]
jle 0x5b8184
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, esi
mov edx, esi
sar edx, 1
jns 0x5b815e
adc edx, 0
sub eax, edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, esi
sar eax, 1
jns 0x5b816f
adc eax, 0
sub ecx, eax
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x40]
jmp 0x5b8291
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
add eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, esi
mov edx, esi
sar edx, 1
jns 0x5b819e
adc edx, 0
sub eax, edx
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, esi
sar eax, 1
jns 0x5b81af
adc eax, 0
sub ecx, eax
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x48]
dec edx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x40]
jmp 0x5b8291
mov al, byte [ebx + 0xe1]
dec eax
sub al, 2
jae 0x5b820c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, esi
mov edx, esi
sar edx, 1
jns 0x5b81e0
adc edx, 0
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, esi
sar eax, 1
jns 0x5b81fa
adc eax, 0
sub edx, eax
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x40]
jmp 0x5b8291
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx]
jle 0x5b8256
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, esi
mov edx, esi
sar edx, 1
jns 0x5b8229
adc edx, 0
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
sub eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, esi
sar eax, 1
jns 0x5b8243
adc eax, 0
sub edx, eax
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x48]
inc ecx
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x40]
jmp 0x5b8291
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, esi
mov edx, esi
sar edx, 1
jns 0x5b8266
adc edx, 0
sub eax, edx
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
add eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, esi
sar eax, 1
jns 0x5b8281
adc eax, 0
sub edx, eax
mov ecx, dword [ebp - 0x54]
sub ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x40]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
add dword [ebp + 0xc], 8
add dword [ebp + 8], 8
dec dword [ebp - 0x50]
jne 0x5b809e
jmp 0x5b83d4
cmp al, 3
jne 0x5b83d4
mov eax, dword [ebx + 0x70]
cmp byte [eax + 0x10], 0
jne 0x5b83d4
cmp byte [ebp + 0x20], 0
je 0x5b836e
mov edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp byte [ebp - 9], 0
je 0x5b8329
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x5b83d4
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 2
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
dec ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
dec edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x40]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
dec dword [ebp - 0x50]
jne 0x5b82f1
jmp 0x5b83d4
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x5b83d4
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, 2
push eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
add eax, 2
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
dec ecx
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
dec edx
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x40]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
dec dword [ebp - 0x50]
jne 0x5b8339
jmp 0x5b83d4
cmp byte [ebp - 9], 0
je 0x5b83a5
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x5b83d4
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
dec dword [ebp - 0x50]
jne 0x5b8380
jmp 0x5b83d4
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x5b83d4
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x30]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
dec dword [ebp - 0x50]
jne 0x5b83b1
mov byte [ebp - 0x4a], 0
mov eax, dword [ebx + 0x70]
cmp byte [eax + 0x10], 0
jne 0x5b8419
mov eax, dword [ebx + 0x7c]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5b8419
inc eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x7c]
call fcn.005d8380
mov eax, dword [eax + 0x5c]
cmp byte [eax + 0x10], 0
je 0x5b8411
mov byte [ebp - 0x4a], 1
jmp 0x5b8419
inc dword [ebp - 0x20]
dec dword [ebp - 0x50]
jne 0x5b83f7
mov eax, dword [ebx + 0x70]
mov al, byte [eax + 0x10]
or al, byte [ebp - 0x4a]
je 0x5b88ad
mov eax, dword [ebx + 0xb8]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0xbc]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x7c]
cmp dword [eax + 8], 0
jle 0x5b8469
mov eax, dword [ebx + 0xa8]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0xa4]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x1c], eax
mov edx, 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x56af28]
call fcn.0056be94
mov edx, eax
test edx, edx
je 0x5b848e
sub edx, 0xffffffe8
lea eax, [ebp - 0x2c]
call fcn.00407468
cmp byte [ebp + 0x20], 0
je 0x5b84f5
mov eax, dword [ebx + 0x70]
mov al, byte [eax + 0x11]
add al, 0xfd
sub al, 3
jae 0x5b84da
cmp byte [ebp + 0x1c], 0
je 0x5b84c5
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
add edx, 4
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x5b84da
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
add edx, 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp byte [ebp + 0x1c], 0
je 0x5b84ec
mov dword [ebp - 0x38], 2
jmp 0x5b856e
mov dword [ebp - 0x38], 1
jmp 0x5b856e
cmp byte [ebp + 0x1c], 0
je 0x5b8523
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x5b856e
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0x70]
cmp byte [eax + 0x20], 0
je 0x5b8552
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov edx, dword [ebx + 0x58]
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 4]
mov edx, dword [ebx + 0x58]
mov ecx, dword [eax]
call dword [ecx + 4]
jmp 0x5b856e
mov eax, dword [ebx + 0x70]
mov edx, dword [eax + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov eax, dword [ebx + 0x70]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jl 0x5b88a5
inc eax
mov dword [ebp - 0x50], eax
cmp byte [ebp - 9], 0
je 0x5b8596
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
jmp 0x5b85a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x49], 0
mov edi, dword [ebx + 0x70]
mov eax, dword [ebx + 0x7c]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5b861c
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x18]
push dword [eax + 4]
push dword [eax]
mov edx, esi
mov eax, dword [ebx + 0x7c]
call fcn.005d8380
call fcn.005d0544
mov edx, dword [eax]
call dword [edx + 0x68]
test al, al
je 0x5b8616
mov edx, esi
mov eax, dword [ebx + 0x7c]
call fcn.005d8380
mov edi, dword [eax + 0x5c]
cmp byte [edi + 0x20], 0
jne 0x5b861c
cmp byte [ebp + 0x1c], 0
jne 0x5b861c
mov byte [ebp - 0x49], 1
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x78]
mov edx, dword [edi + 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
jmp 0x5b861c
dec esi
cmp esi, 0xffffffff
jne 0x5b85b9
cmp byte [edi + 0x10], 0
je case.default.0x5b867b
mov esi, dword [edi + 0x14]
mov eax, esi
add eax, dword [ebp - 0x30]
inc eax
push eax
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ebp - 0x30]
sub edx, esi
mov eax, dword [ebp - 0x34]
sub eax, esi
mov ecx, esi
add ecx, dword [ebp - 0x34]
inc ecx
call fcn.004c7648
cmp byte [ebp + 0x20], 0
je 0x5b865b
dec dword [ebp - 0x70]
dec dword [ebp - 0x6c]
inc dword [ebp - 0x68]
inc dword [ebp - 0x64]
cmp byte [ebp + 0x1c], 0
je 0x5b866d
dec dword [ebp - 0x70]
dec dword [ebp - 0x6c]
inc dword [ebp - 0x68]
inc dword [ebp - 0x64]
xor eax, eax
mov al, byte [edi + 0x11]
cmp eax, 5
ja case.default.0x5b867b
jmp dword [eax*4 + 0x5b8682]
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp case.default.0x5b867b
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
jmp case.default.0x5b867b
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x34]
call fcn.004c7664
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x70]
call fcn.004c7664
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x64]
dec edx
mov eax, dword [ebp - 0x34]
call fcn.004c7664
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0x68]
dec eax
mov edx, dword [ebp - 0x30]
call fcn.004c7664
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x74], eax
lea edx, [ebp - 0x90]
mov ecx, 3
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x4c]
jmp case.default.0x5b867b
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x54]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x54]
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
jmp case.default.0x5b867b
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x54]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
mov edx, dword [ebp - 0x68]
dec edx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x54]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x70]
dec edx
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
jmp case.default.0x5b867b
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x54]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x70]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x54]
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x50]
mov ecx, dword [ebp - 0x6c]
mov edx, esi
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x54]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x68]
sub edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x50]
mov edx, dword [ebp - 0x68]
dec edx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0x54]
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x38]
mov edx, esi
dec edx
add edx, dword [ebp - 0x38]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x50]
cmp byte [ebp - 0x49], 0
je 0x5b888c
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0xc]
add dword [ebp - 0x14], 4
add dword [ebp - 0x10], 4
add dword [ebp - 0x1c], 8
add dword [ebp - 0x18], 8
dec dword [ebp - 0x50]
jne 0x5b857e
lea eax, [ebp - 0x2c]
call fcn.00407450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5b88ca
lea eax, [ebp - 0x2c]
call fcn.00407450
ret