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

Disassembly:
sub esp, 0xf4
mov eax, dword [esp + 0x10c]
mov edx, dword [esp + 0x110]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x114]
push ebx
mov ebx, dword [esp + 0x120]
mov dword [esp + 0x18], eax
mov al, byte [ecx + 0x3228]
push ebp
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x120]
push esi
push edi
mov edi, dword [esp + 0x10c]
test al, al
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
mov byte [esp + 0x4c], 0
mov dword [esp + 0x5c], 0
je 0x5bf934
mov al, byte [edi + 0x2e4c]
test al, al
je 0x5bf934
mov al, byte [ebx + 0x30]
test al, al
je 0x5bf934
mov eax, dword [edi + 0x2e54]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x5c], eax
jmp 0x5bf9dd
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x110]
push edx
mov eax, dword [ecx + 0x3378]
lea ecx, [eax + 8]
call fcn.005d2e20
mov dl, byte [esp + 0x4c]
lea esi, [edi + 0x2a14]
xor ebp, ebp
mov ecx, esi
test eax, eax
je 0x5bf97d
test al, 1
je 0x5bf972
cmp dword [ecx - 0x10], 0x16
jne 0x5bf972
mov edx, dword [ecx]
mov dword [esp + 0x5c], edx
mov dl, 1
sar eax, 1
inc ebp
add ecx, 0x18
cmp ebp, 0x20
jl 0x5bf95c
test dl, dl
mov byte [esp + 0x4c], dl
jne 0x5bf9dd
mov eax, dword [edi + 0x2e00]
test eax, eax
je 0x5bf9dd
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x110]
push ecx
mov eax, dword [eax + 0x3378]
lea ecx, [eax + 8]
call fcn.005d2e20
and eax, dword [edi + 0x2e00]
je 0x5bf9dd
mov ecx, esi
xor edx, edx
mov esi, 5
test eax, eax
je 0x5bf9dd
test al, 1
je 0x5bf9d2
cmp dword [ecx - 0x10], esi
je 0x5bf9d2
mov ebp, dword [ecx]
mov byte [esp + 0x4c], 1
mov dword [esp + 0x5c], ebp
sar eax, 1
inc edx
add ecx, 0x18
cmp edx, 0x20
jl 0x5bf9ba
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x5bf9fe
mov al, byte [esp + 0x4c]
test al, al
jne 0x5bf9fe
mov al, byte [edi + 0x2da4]
mov byte [esp + 0x1b], 1
test al, al
jne 0x5bfa03
mov byte [esp + 0x1b], 0
mov ebp, dword [esp + 0x130]
mov edx, dword [esp + 0x14]
xor esi, esi
mov ecx, dword [edx + 0x3378]
cmp ebp, esi
sete al
mov byte [esp + 0x56], al
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x4b0]
imul eax, dword [edi + 0x2d74]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x110]
push eax
call fcn.005ceb30
cmp ebp, esi
mov dword [esp + 0x64], eax
jg 0x5bfa4d
xor eax, eax
jmp 0x5bfa61
cmp ebp, dword [ebx + 0x58]
jge 0x5bfa5e
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x5bfa5e
mov eax, dword [eax + ebp*4]
jmp 0x5bfa61
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x44], esi
mov edx, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x58]
cmp ebp, ecx
mov dword [esp + 0x50], edx
jge 0x5bfac7
cmp ebp, esi
jg 0x5bfa88
mov dword [esp + 0x58], esi
jmp 0x5bfa9f
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x5bfa98
mov eax, dword [eax + ebp*4]
mov dword [esp + 0x58], eax
jmp 0x5bfa9f
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x58], edx
lea eax, [ebp + 1]
cmp eax, esi
jg 0x5bfaac
mov dword [esp + 0x44], esi
jmp 0x5bfac7
cmp eax, ecx
jge 0x5bfac0
mov edx, dword [ebx + 4]
cmp edx, esi
je 0x5bfac0
mov eax, dword [edx + eax*4]
mov dword [esp + 0x44], eax
jmp 0x5bfac7
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x44], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x88], 0
test byte [eax + 0x3368], 1
je 0x5bfb0a
lea eax, [ebp + 1]
cmp eax, ecx
jge 0x5bfb0a
cmp eax, esi
jg 0x5bfaeb
xor eax, eax
jmp 0x5bfafe
cmp eax, ecx
jge 0x5bfafb
mov edx, dword [ebx + 4]
cmp edx, esi
je 0x5bfafb
mov eax, dword [edx + eax*4]
jmp 0x5bfafe
mov eax, dword [ebx + 0x18]
cmp eax, esi
setne dl
mov byte [esp + 0x88], dl
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x108]
mov edx, dword [eax + 0x3374]
test edx, edx
je 0x5bfc47
cmp ebp, ecx
jge 0x5bfc47
test ebp, ebp
jg 0x5bfb33
xor ebp, ebp
jmp 0x5bfb42
mov eax, dword [ebx + 4]
test eax, eax
je 0x5bfb3f
mov ebp, dword [eax + ebp*4]
jmp 0x5bfb42
mov ebp, dword [ebx + 0x18]
test ebp, ebp
setne al
test al, al
je 0x5bfc47
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x2d70]
mov ebp, dword [esp + 0x118]
imul eax, edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x50]
sub ecx, ecx
mov edx, dword [esi]
add ecx, ebp
add eax, ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0xc10]
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x14]
mov al, 2
test byte [ecx + 0x3368], al
je 0x5bfc2b
mov edx, ecx
test byte [edx + 0x336c], al
je 0x5bfbe2
mov eax, dword [esp + 0x80]
mov ecx, dword [edi + 0x2d70]
sub eax, ecx
mov dword [esp + 0x78], eax
jmp 0x5bfbf5
mov eax, dword [edi + 0x2d70]
mov ecx, dword [esp + 0x78]
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [edi + 0x2da0]
mov edx, dword [esp + 0x78]
push eax
push 0
mov eax, dword [esp + 0x28]
sub esp, 0x10
mov ecx, esp
push esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x30]
call fcn.005bf500
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x3374]
imul edx, dword [edi + 0x2d70]
add ebp, edx
mov dword [esp + 0x118], ebp
jmp 0x5bfc4e
mov ebp, dword [esp + 0x118]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov cl, byte [edx + 0x31d6]
test cl, cl
je 0x5bff70
lea ecx, [eax*4 + 4]
mov dword [esp + 0x40], ecx
mov ecx, 1
sub ecx, dword [esp + 0x64]
mov dword [esp + 0x6c], ecx
cmp eax, dword [esp + 0x44]
jge 0x5bff70
mov edx, dword [ebx + 0x3c]
lea ecx, [edx + eax]
mov dl, byte [edx + eax]
cmp dl, byte [ecx + 1]
mov byte [esp + 0x60], dl
jne 0x5bfcec
mov ecx, dword [esp + 0x44]
dec ecx
cmp eax, ecx
je 0x5bfcec
mov edx, dword [ebx + 0x38]
lea ecx, [edx + eax]
movsx edx, byte [edx + eax]
test edx, edx
jl 0x5bfcb8
cmp edx, 0x20
jl 0x5bfcec
movsx ecx, byte [ecx + 1]
test ecx, ecx
jl 0x5bfcc5
cmp ecx, 0x20
jl 0x5bfcec
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
cmp edx, ecx
je 0x5bfce0
mov ecx, dword [esp + 0x64]
lea ecx, [eax + ecx + 1]
cmp ecx, edx
je 0x5bfcec
cmp ecx, dword [ebx + 0x2c]
je 0x5bfcec
mov edx, dword [ebx + 0x34]
dec edx
cmp eax, edx
jne 0x5bff4e
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x50]
shl eax, 2
mov eax, dword [ecx + eax]
sub eax, edx
mov edx, dword [esp + 0x40]
add eax, ebp
mov ecx, dword [ecx + edx]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov dword [esp + 0x1c], eax
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x124]
cmp eax, ecx
jg 0x5bff36
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x11c]
cmp eax, ecx
jl 0x5bff36
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x28]
and eax, 0xff
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
add eax, edx
cmp eax, ecx
jl 0x5bfd68
mov edx, dword [ebx + 0x2c]
cmp eax, edx
jge 0x5bfd68
cmp ecx, edx
mov byte [esp + 0x3c], 1
jne 0x5bfd6d
mov byte [esp + 0x3c], 0
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x5bfd85
cmp eax, ecx
jl 0x5bfd85
mov ecx, dword [ebx + 0x50]
mov byte [esp + 0x34], 1
cmp eax, ecx
jl 0x5bfd8a
mov byte [esp + 0x34], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x5c]
push ecx
push edx
push eax
lea ecx, [esp + 0xa8]
push edi
push ecx
mov ecx, dword [esp + 0x38]
call fcn.005bf3b0
mov edx, dword [ebx + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
mov cl, byte [ecx + edx]
cmp cl, 9
jne 0x5bfe18
mov cl, byte [esp + 0x1b]
test cl, cl
je 0x5bfdeb
mov cl, byte [esp + 0x13]
test cl, cl
je 0x5bfde5
cmp dword [edi + 0x2e3c], 1
jne 0x5bfdeb
mov eax, dword [edi + 0x2dac]
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
jmp 0x5bff36
movsx ecx, cl
test ecx, ecx
jl 0x5bfe2b
cmp ecx, 0x20
jge 0x5bfe2b
mov byte [esp + 0x13], 0
jmp 0x5bfdeb
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x5bfe77
mov al, byte [esp + 0x13]
test al, al
je 0x5bff36
mov al, byte [edi + 0x2e40]
test al, al
je 0x5bff36
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
xor ecx, ecx
sub eax, edx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x48], eax
js 0x5bff36
lea eax, [edx*4]
mov dword [esp + 0x30], eax
jmp 0x5bfea2
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x38]
add edx, ecx
cmp byte [edx + eax], 0x20
jne 0x5bff15
mov al, byte [esp + 0x1b]
test al, al
je 0x5bff1a
mov al, byte [esp + 0x13]
test al, al
je 0x5bfec6
cmp dword [edi + 0x2e3c], 1
jne 0x5bff1a
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx]
mov edx, dword [esp + 0x38]
add edx, ecx
mov ecx, dword [ebx + 0x44]
add eax, ebp
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [esi]
add ecx, ebp
mov ebp, dword [edi + 0x2dac]
push ebp
sub esp, 0x10
mov ebp, esp
mov dword [ebp], eax
mov eax, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov ecx, dword [esp + 0x68]
jmp 0x5bff1a
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x48]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x30], edx
jle 0x5bfe9e
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x64]
add eax, edx
add eax, ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x40]
inc eax
add edx, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14]
mov cl, byte [edx + 0x31d6]
test cl, cl
jne 0x5bfc80
mov al, byte [edx + 0x31d6]
test al, al
je 0x5bffe6
mov ecx, dword [edi + 0x2da0]
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x13c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x124]
push eax
push ebp
push ecx
mov ecx, dword [esp + 0x13c]
push edx
push ebx
mov edx, dword [esp + 0x148]
sub esp, 0x10
mov eax, esp
push edi
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x164]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x168]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0xc], edx
call fcn.005bf670
mov ecx, dword [esp + 0x130]
mov al, byte [esp + 0x56]
test ecx, ecx
mov byte [esp + 0x13], al
jg 0x5c0003
mov dword [esp + 0x38], 0
jmp 0x5c001f
cmp ecx, dword [ebx + 0x58]
jge 0x5c0018
mov eax, dword [ebx + 4]
test eax, eax
je 0x5c0018
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x38], ecx
jmp 0x5c001f
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
cmp edx, eax
mov dword [esp + 0x2c], edx
jge 0x5c09b8
mov eax, dword [esp + 0x64]
lea ecx, [edx + eax]
mov eax, dword [ebx + 0x3c]
add eax, edx
mov dword [esp + 0x34], ecx
mov cl, byte [eax]
cmp cl, byte [eax + 1]
mov byte [esp + 0x60], cl
jne 0x5c0099
mov ecx, dword [esp + 0x44]
dec ecx
cmp edx, ecx
je 0x5c0099
mov eax, dword [ebx + 0x38]
add eax, edx
movsx ecx, byte [eax]
test ecx, ecx
jl 0x5c0068
cmp ecx, 0x20
jl 0x5c0099
movsx eax, byte [eax + 1]
test eax, eax
jl 0x5c0075
cmp eax, 0x20
jl 0x5c0099
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebx + 0x2c]
cmp eax, ecx
je 0x5c008d
mov ecx, dword [esp + 0x34]
inc ecx
cmp ecx, eax
je 0x5c0099
cmp ecx, dword [ebx + 0x2c]
je 0x5c0099
mov eax, dword [ebx + 0x34]
dec eax
cmp edx, eax
jne 0x5c09a7
mov ecx, dword [esp + 0x38]
lea eax, [ecx*4]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx + eax]
mov ecx, dword [ecx + edx*4 + 4]
sub eax, dword [esp + 0x50]
add eax, ebp
inc edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
sub ecx, edx
add ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x124]
cmp eax, ecx
jg 0x5c099a
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x11c]
cmp edx, eax
jl 0x5c099a
mov eax, dword [esp + 0x60]
and eax, 0xff
lea ecx, [eax + eax*4]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x70], ecx
mov edx, dword [ecx + 0x208]
lea ecx, [eax + eax*4 + 0x23]
shl ecx, 4
add ecx, edi
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x5c0143
cmp edx, ecx
jl 0x5c0143
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx + 0x3350]
jge 0x5c0143
mov cl, byte [edi + 0x2dd8]
test cl, cl
je 0x5c0143
mov ecx, dword [edi + 0x2de0]
mov dword [esp + 0x3c], ecx
cmp edx, dword [ebx + 0x28]
jl 0x5c0212
mov ecx, dword [ebx + 0x2c]
cmp edx, ecx
jge 0x5c0212
cmp dword [ebx + 0x28], ecx
je 0x5c020e
mov cl, byte [edi + 0x2d78]
mov byte [esp + 0x6c], 1
test cl, cl
je 0x5c0179
mov edx, dword [edi + 0x2d80]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x4c]
cmp ecx, 0xffffffff
je 0x5c0195
cmp edx, ecx
jl 0x5c0195
mov ecx, dword [ebx + 0x50]
mov byte [esp + 0x68], 1
cmp edx, ecx
jl 0x5c019a
mov byte [esp + 0x68], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x68]
push ebx
push ecx
mov ecx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x10c]
push edi
push eax
call fcn.005bf3b0
mov ecx, dword [eax]
mov eax, dword [ebx + 0x38]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x40], ecx
mov al, byte [eax + edx]
cmp al, 9
jne 0x5c03cc
mov eax, dword [esp + 0x14]
mov cl, byte [eax + 0x31d6]
test cl, cl
jne 0x5c0248
mov al, byte [esp + 0x1b]
test al, al
je 0x5c021c
mov al, byte [esp + 0x13]
test al, al
je 0x5c0206
cmp dword [edi + 0x2e3c], 1
jne 0x5c021c
mov eax, dword [edi + 0x2dac]
jmp 0x5c0220
mov edx, dword [esp + 0x34]
mov byte [esp + 0x6c], 0
jmp 0x5c017d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
push eax
sub esp, 0x10
mov edx, dword [esi]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x5c0268
mov al, byte [esp + 0x13]
test al, al
je 0x5c0342
mov al, byte [edi + 0x2e40]
test al, al
je 0x5c0288
mov al, byte [edi + 0x2d98]
test al, al
je 0x5c027c
mov edx, dword [edi + 0x2da0]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x3c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov al, byte [esp + 0x13]
test al, al
je 0x5c0342
mov al, byte [edi + 0x2e40]
test al, al
je 0x5c0342
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + edx*4]
cdq
idiv dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebp, eax
mov eax, dword [esp + 0x74]
imul ebp, eax
inc edx
cmp ebp, dword [ecx + edx*4]
jge 0x5c0342
mov edx, dword [esp + 0x118]
add edx, ebp
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
cmp ebp, dword [ecx + edx*4]
jl 0x5c0329
test ebp, ebp
jle 0x5c0329
mov edx, dword [ebx + 0x20]
cmp edx, ebp
mov edx, dword [esp + 0x1c]
sete al
push eax
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x2d64]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x128]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push eax
push esi
call fcn.005bf480
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add ecx, eax
add ebp, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x44]
inc edx
cmp ebp, dword [ecx + edx*4]
jl 0x5c02d1
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x5c08ae
mov cl, byte [esp + 0x13]
test cl, cl
je 0x5c0361
cmp eax, 1
jne 0x5c08ae
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
add ecx, 4
lea ebp, [eax + 1]
mov eax, dword [edi + 0x2d6c]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x28]
dec edx
sub ecx, eax
mov eax, dword [edi + 0x2d64]
mov dword [esp + 0xc8], edx
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
add eax, edx
mov edx, dword [esp + 0xc4]
push eax
sub esp, 0x10
mov eax, esp
push esi
mov dword [eax], ebp
mov dword [eax + 4], edx
mov edx, dword [esp + 0xe0]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.005beab0
add esp, 0x18
jmp 0x5c08ae
movsx ecx, al
test ecx, ecx
jl 0x5c05c3
cmp ecx, 0x20
jge 0x5c05c3
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x13], 0
cmp dword [ecx + 0x31c8], 0x20
jge 0x5c0563
push eax
call fcn.005bbcf0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
add esp, 4
mov al, byte [edx + 0x31d6]
test al, al
jne 0x5c043d
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
sub esp, 0x10
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0x38]
mov edx, dword [esi]
lea ebx, [edi + 0xd70]
push ebx
mov ecx, esi
call dword [edx + 0x68]
mov ebp, eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x60]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xb4], ecx
mov ecx, dword [edi + 0x2d68]
mov edx, dword [esp + 0x28]
sub eax, ebp
mov ebp, ecx
mov dword [esp + 0xb0], ebx
sub ebp, eax
mov eax, dword [esp + 0x20]
add ebp, eax
mov dword [esp + 0xbc], edx
lea eax, [ecx + eax + 1]
inc ebx
mov dword [esp + 0xbc], eax
dec eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [ebp + 1]
mov dword [esp + 0xa8], ebp
sub esp, 0x10
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xb8]
mov ecx, esp
mov edx, dword [esi]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], ebx
inc ebx
push ecx
mov dword [esp + 0x7c], ebx
mov ebx, dword [esp + 0x4c]
dec eax
push edx
mov dword [esp + 0x84], ebp
mov ebp, dword [esi]
push ebx
mov dword [esp + 0x8c], eax
call fcn.005bea90
add esp, 4
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [edi + 0x2d68]
push ebx
mov ebx, dword [esp + 0x30]
add eax, ebx
push eax
lea eax, [edi + 0xd70]
push eax
mov eax, dword [esp + 0x94]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0xa8]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xe4]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [ebp + 0x4c]
mov ebx, dword [esp + 0x12c]
jmp 0x5c08ae
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov edx, dword [esi]
mov byte [esp + 0x57], 0
mov cl, byte [eax + 0x31c8]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x56], cl
mov ecx, dword [esp + 0x40]
push eax
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x5e]
push 1
push eax
mov eax, dword [edi + 0x2d68]
add eax, ecx
push eax
lea eax, [edi + 0xd70]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ebp
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
jmp 0x5c08ae
mov edx, dword [esp + 0x70]
mov al, byte [edx + 0x22c]
test al, al
je 0x5c0688
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov cl, byte [eax + 0x31d6]
test cl, cl
je 0x5c0635
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x3c]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebx + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
mov ecx, dword [esp + 0x54]
push eax
push ecx
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x50]
jmp 0x5c0688
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x34]
sub ecx, eax
inc ecx
push ecx
mov ecx, dword [ebx + 0x38]
add ecx, eax
mov eax, dword [edi + 0x2d68]
push ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x58]
push eax
push ecx
mov ecx, dword [esp + 0x34]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x48]
mov eax, dword [edi + 0x2e3c]
test eax, eax
jne 0x5c06ac
mov al, byte [esp + 0x13]
test al, al
je 0x5c08ae
mov al, byte [edi + 0x2e40]
test al, al
je 0x5c08ae
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
sub ecx, eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], ecx
js 0x5c08ae
lea ecx, [eax*4]
mov dword [esp + 0x30], ecx
jmp 0x5c06d9
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x40]
add edx, eax
mov eax, dword [ebx + 0x38]
cmp byte [edx + eax], 0x20
jne 0x5c0889
mov eax, dword [edi + 0x2e3c]
test eax, eax
je 0x5c0819
mov cl, byte [edi + 0x2d98]
test cl, cl
je 0x5c070e
mov ecx, dword [edi + 0x2da0]
mov dword [esp + 0x3c], ecx
mov cl, byte [esp + 0x13]
test cl, cl
je 0x5c071f
cmp eax, 1
jne 0x5c0819
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0x44]
add edx, ecx
mov ecx, dword [eax + edx*4 + 4]
mov edx, dword [esp + 0x30]
mov eax, dword [eax + edx]
mov dword [esp + 0x8c], eax
add eax, ecx
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x14]
sar ebp, 1
mov dl, byte [eax + 0x31d6]
test dl, dl
jne 0x5c07b4
mov al, byte [esp + 0x1b]
test al, al
je 0x5c07b4
mov al, byte [esp + 0x13]
test al, al
je 0x5c076e
cmp dword [edi + 0x2e3c], 1
jne 0x5c07b4
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x8c]
add ecx, edx
add eax, edx
mov dword [esp + 0xfc], ecx
mov ecx, dword [edi + 0x2dac]
push ecx
mov edx, dword [esi]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x110]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x118]
sub ebp, eax
mov eax, dword [edi + 0x2d64]
add ebp, edx
cdq
lea ecx, [ebp + 1]
sub eax, edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x3c]
push ecx
sub esp, 0x10
mov ecx, esp
sar eax, 1
add eax, edx
mov dword [ecx], ebp
lea edx, [eax + 1]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0xf0], edx
mov edx, dword [esi]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xf0]
mov dword [ecx + 0xc], eax
mov ecx, esi
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov al, byte [esp + 0x13]
test al, al
je 0x5c088e
mov al, byte [edi + 0x2e40]
test al, al
je 0x5c088e
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x30]
mov ecx, dword [edx + ecx]
test ecx, ecx
jle 0x5c088e
mov eax, ecx
cdq
idiv dword [esp + 0x74]
test edx, edx
jne 0x5c088e
cmp dword [ebx + 0x20], ecx
sete al
push eax
mov eax, dword [esp + 0x20]
sub esp, 0x10
add ecx, ebp
mov edx, esp
push ecx
mov ecx, dword [edi + 0x2d64]
mov dword [edx], eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x40]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x130]
push edx
push esi
call fcn.005bf480
jmp 0x5c088e
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
inc eax
add edx, 4
cmp eax, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], edx
jle 0x5c06d5
mov eax, dword [ebx + 0x4c]
cmp eax, 0xffffffff
je 0x5c092f
mov cl, byte [edi + 0x2df0]
test cl, cl
je 0x5c092f
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jl 0x5c092f
cmp ecx, dword [ebx + 0x50]
jge 0x5c092f
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x9c], edx
mov edx, dword [edi + 0x2d68]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x1c]
lea eax, [edx + eax + 1]
lea edx, [eax + 1]
mov dword [esp + 0x9c], edx
mov dl, byte [edi + 0x2dd8]
test dl, dl
mov edx, dword [esi]
je 0x5c090f
mov ebp, dword [edi + 0x2de0]
jmp 0x5c0913
mov ebp, dword [esp + 0x3c]
push ebp
sub esp, 0x10
mov ebp, esp
mov dword [ebp], ecx
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0xb0]
jmp 0x5c098b
mov ecx, dword [esp + 0x70]
mov al, byte [ecx + 0x225]
test al, al
je 0x5c0993
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [esp + 0xf0], edx
mov edx, dword [edi + 0x2d68]
sub esp, 0x10
mov ebp, esp
mov dword [esp + 0xf8], eax
lea eax, [edx + eax + 1]
mov dword [ebp], ecx
lea edx, [eax + 1]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x100], edx
mov edx, dword [esi]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x100]
mov ecx, esi
mov dword [ebp + 0xc], eax
call dword [edx + 0x38]
mov ebp, dword [esp + 0x118]
mov ecx, dword [esp + 0x2c]
mov edx, ecx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
inc edx
cmp edx, eax
mov dword [esp + 0x2c], edx
jl 0x5c0033
mov edx, dword [esp + 0x14]
mov eax, 1
mov ecx, dword [edx + 0x3378]
mov ecx, dword [ecx + 0x498]
shl eax, cl
cmp eax, 0x100
mov dword [esp + 0x30], eax
jge 0x5c0ae8
lea edx, [edi + 0x2d04]
mov dword [esp + 0x60], edx
mov ecx, dword [esp + 0x58]
or eax, 0xffffffff
mov edx, ecx
mov dword [esp + 0x48], eax
cmp edx, dword [esp + 0x44]
mov dword [esp + 0x34], ecx
jg 0x5c0ac8
test eax, eax
jge 0x5c0a2e
cmp ecx, dword [esp + 0x44]
jge 0x5c0a26
mov edx, dword [ebx + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x30]
test edx, ecx
mov ecx, dword [esp + 0x34]
je 0x5c0a26
mov eax, ecx
mov dword [esp + 0x48], eax
test eax, eax
jl 0x5c0ab7
cmp ecx, dword [esp + 0x44]
jge 0x5c0a43
mov edx, dword [ebx + 0x40]
movsx ecx, byte [edx + ecx]
mov edx, dword [esp + 0x30]
test edx, ecx
jne 0x5c0ab3
mov ecx, dword [ebx + 0x44]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x50]
mov eax, dword [ecx + eax*4]
sub eax, edx
mov edx, dword [esp + 0x48]
add eax, ebp
mov ecx, dword [ecx + edx*4]
mov edx, dword [esp + 0x50]
sub ecx, edx
mov edx, dword [edi + 0x2d68]
add ecx, ebp
mov dword [esp + 0x98], eax
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x120]
add ecx, edx
lea edx, [esp + 0x11c]
mov dword [esp + 0x94], ecx
add ecx, 3
lea eax, [esp + 0x90]
push edx
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0x64]
push eax
push esi
call fcn.00615bb0
or eax, 0xffffffff
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
inc ecx
cmp ecx, edx
mov dword [esp + 0x34], ecx
jle 0x5c0a03
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
shl eax, 1
add edx, 0xc
cmp eax, 0x100
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], edx
jl 0x5c09e8
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x31d6]
test al, al
jne 0x5c0b62
mov edx, dword [edi + 0x2da0]
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x13c]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x124]
push ecx
push ebp
push edx
mov edx, dword [esp + 0x13c]
push eax
push ebx
mov eax, dword [esp + 0x148]
sub esp, 0x10
mov ecx, esp
push edi
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x164]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x168]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x54]
call fcn.005bf670
cmp dword [edi + 0x2e60], 1
jne 0x5c0ba7
mov ecx, dword [esp + 0x14]
mov ebx, dword [edi + 0x2e5c]
push ebx
mov edx, dword [esi]
mov eax, dword [ecx + 0x32c0]
sub esp, 0x10
imul eax, dword [edi + 0x2d74]
add eax, ebp
mov ebx, esp
lea ecx, [eax + 1]
mov dword [ebx], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0x3c]
mov dword [ebx + 0xc], ecx
mov ecx, esi
call dword [edx + 0x38]
cmp dword [edi + 0x2e6c], 1
jne 0x5c0bf4
mov edi, dword [edi + 0x2e74]
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x11c]
push edi
sub esp, 0x10
mov ecx, dword [esp + 0x138]
mov dword [esp + 0x10c], edx
mov edx, dword [esp + 0x13c]
mov edi, esp
mov ebp, dword [esi]
lea ebx, [edx - 1]
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
mov ecx, esi
mov dword [edi + 0xc], edx
call dword [ebp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 0x2c