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

Disassembly:
sub esp, 0xe8
xor eax, eax
mov dword [esp + 0x8c], 0
push ebx
mov ebx, dword [esp + 0xf0]
mov dword [esp + 0xa0], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x9c], eax
cmp dword [ebx + 0x24], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xa4], eax
mov eax, dword [ebx]
push ebp
mov ebp, dword [esp + 0x100]
mov dword [esp + 0x70], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x5c], eax
jne 0x1005b970
cmp byte [eax + 0x51], 0
jne 0x1005b970
push edi
push dword [esp + 0xfc]
push ebx
call fcn.10058b70
mov edi, eax
add esp, 8
mov dword [esp + 0x14], edi
test edi, edi
je 0x1005b96f
push dword [edi + 0x48]
push dword [ebx]
call fcn.10055670
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x10c]
push 0x7a
push edi
push ebx
call fcn.10059980
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xc]
push edi
push ebx
mov dword [esp + 0x90], eax
call fcn.10068020
add esp, 0x24
test eax, eax
jne 0x1005b96f
push dword [esp + 0x90]
push edi
push ebx
call fcn.1004b900
add esp, 0xc
test eax, eax
jne 0x1005b96f
push esi
mov esi, dword [ebx + 0x28]
mov edx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x74], edx
lea ecx, [esi + 1]
mov dword [ebx + 0x28], ecx
test byte [edi + 0x24], 0x20
mov dword [esp + 0x68], ecx
jne 0x10059f9d
mov dword [esp + 0x34], eax
jmp 0x10059fae
push edi
call fcn.10053080
mov ecx, dword [esp + 0x6c]
add esp, 4
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
xor ebp, ebp
mov dword [esp + 0x88], ebp
test eax, eax
je 0x10059fdf
mov edi, edi
cmp dword [esp + 0x34], eax
jne 0x10059fc8
mov esi, ecx
inc ecx
inc ebp
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10059fc0
mov dword [esp + 0x14], esi
mov dword [esp + 0x88], ebp
mov eax, dword [esp + 0x118]
test eax, eax
je 0x10059ffb
mov esi, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x14], esi
mov dword [esp + 0x68], eax
mov dword [ebx + 0x28], edx
mov eax, dword [esp + 0x100]
push 0
mov dword [eax + 0x34], esi
movsx eax, word [edi + 0x2a]
add eax, ebp
lea eax, [eax*4 + 6]
add eax, ebp
push eax
push dword [esp + 0x6c]
call fcn.1003de20
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
test esi, esi
je 0x1005b967
movsx eax, word [edi + 0x2a]
lea eax, [esi + eax*4]
lea ecx, [eax + 4]
mov dword [esp + 0x5c], eax
lea eax, [ebp + 1]
push eax
lea ecx, [ecx + ebp*4]
push 1
push ecx
mov dword [esp + 0x60], ecx
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x60]
add esp, 0xc
xor ecx, ecx
mov byte [eax + ebp + 1], 0
xor eax, eax
cmp ax, word [edi + 0x2a]
jge 0x1005a080
jmp 0x1005a070
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [edi + 0x2a]
cmp ecx, eax
jl 0x1005a070
mov ecx, dword [esp + 0x118]
xor ebp, ebp
mov eax, dword [esp + 0x100]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0xdc], eax
xor al, al
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xf0], 0x200
mov byte [esp + 0x23], 0
mov byte [esp + 0x13], al
mov dword [esp + 0x50], ebp
cmp dword [ecx], ebp
jle 0x1005a2c6
lea esi, [ecx + 4]
mov dword [esp + 0x28], esi
push dword [esi]
lea eax, [esp + 0xdc]
push eax
call fcn.10054020
add esp, 8
test eax, eax
jne 0x1005b8cb
movsx eax, word [edi + 0x2a]
xor ebx, ebx
test eax, eax
jle 0x1005a194
mov ebp, dword [edi + 4]
mov edi, dword [esi + 4]
mov edx, dword [ebp]
sub edi, edx
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x1005a167
test eax, eax
jne 0x1005a179
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x28]
movsx eax, word [edi + 0x28]
cmp ebx, eax
jne 0x1005a1c9
mov eax, dword [esi]
mov ebp, dword [esp + 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov byte [esp + 0x13], 1
mov dword [eax + ebx*4], ebp
jmp 0x1005a194
movzx ecx, byte [eax + 0x10087c80]
movzx eax, byte [esi + 0x10087c80]
sub ecx, eax
jne 0x1005a17c
inc edx
jmp 0x1005a130
mov edi, dword [esp + 0x18]
inc ebx
mov esi, dword [esp + 0x28]
add ebp, 0x10
movsx eax, word [edi + 0x2a]
cmp ebx, eax
jl 0x1005a128
mov ebp, dword [esp + 0x50]
movsx eax, word [edi + 0x2a]
cmp ebx, eax
jl 0x1005a24a
cmp dword [esp + 0x34], 0
jne 0x1005a2df
mov edi, dword [esi + 4]
mov esi, str._ROWID_
mov edx, edi
sub esi, edi
movzx ecx, byte [edx]
movzx eax, byte [edx + esi]
cmp ecx, eax
jne 0x1005a1f0
test ecx, ecx
je 0x1005a22d
inc edx
jmp 0x1005a1b7
cmp dword [esp + 0x34], 0
je 0x1005a1e3
mov ecx, dword [edi + 4]
mov eax, ebx
add eax, eax
test byte [ecx + eax*8 + 0xf], 1
je 0x1005a1e3
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x50]
mov dword [eax + ebx*4], ebp
jmp 0x1005a194
movzx eax, byte [eax + 0x10087c80]
movzx ecx, byte [ecx + 0x10087c80]
sub ecx, eax
jne 0x1005a205
inc edx
jmp 0x1005a1b7
push str.ROWID
push edi
call fcn.10059460
add esp, 8
test eax, eax
je 0x1005a22d
push 0x1008e9ac
push edi
call fcn.10059460
add esp, 8
test eax, eax
jne 0x1005a2df
mov esi, dword [esp + 0x28]
or ebx, 0xffffffff
mov edi, dword [esp + 0x18]
mov edx, str.ROWID
mov byte [esp + 0x13], 1
mov eax, dword [esi]
mov dword [esp + 0x78], eax
jmp 0x1005a25f
test ebx, ebx
jns 0x1005a255
mov edx, str.ROWID
jmp 0x1005a25f
mov eax, dword [edi + 4]
mov ecx, ebx
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push edx
push dword [edi]
push 0x17
push dword [esp + 0x10c]
call fcn.10036c80
add esp, 0x14
cmp eax, 1
je 0x1005b8cb
cmp eax, 2
jne 0x1005a29c
mov eax, dword [esp + 0x24]
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [esp + 0x104]
inc ebp
add esi, 0x18
mov dword [esp + 0x50], ebp
mov dword [esp + 0x28], esi
cmp ebp, dword [ecx]
jl 0x1005a101
mov ebx, dword [esp + 0xfc]
mov al, byte [esp + 0x13]
mov esi, dword [esp + 0x24]
mov dl, byte [esp + 0x23]
add dl, al
cmp dword [edi + 0x38], 0
mov byte [esp + 0x4c], dl
je 0x1005a311
mov eax, 0xffffffff
or ecx, eax
jmp 0x1005a315
mov ecx, dword [esp + 0x104]
lea eax, [ebp*2]
mov ebx, dword [esp + 0xfc]
add eax, ebp
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push ebx
call fcn.1003fb40
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x1005b8cb
xor eax, eax
xor ecx, ecx
mov ebp, dword [esp + 0x100]
mov dword [ebp + 0x40], eax
movzx eax, dl
push eax
push esi
push edi
push ebx
mov dword [ebp + 0x44], ecx
mov dword [esp + 0xb4], eax
call fcn.10046790
mov ebp, dword [esp + 0x11c]
add esp, 0x10
mov dword [esp + 0x48], eax
cmp ebp, 5
jne 0x1005a350
mov dword [esp + 0x58], 1
mov esi, dword [edi + 8]
xor ebx, ebx
mov dword [esp + 0x30], ebx
test esi, esi
je 0x1005a4df
mov edx, dword [esp + 0x24]
cmp byte [esp + 0x4c], 0
jne 0x1005a499
cmp eax, 1
jg 0x1005a499
cmp esi, dword [esp + 0x34]
je 0x1005a499
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x1005a3a9
movzx eax, byte [esp + 0x13]
push eax
push dword [esp + 0x28]
push ecx
call fcn.10043f50
mov edx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x1005a499
xor eax, eax
xor ebp, ebp
xor edi, edi
cmp ax, word [esi + 0x32]
jae 0x1005a4b4
xor ebx, ebx
jmp 0x1005a3c0
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x1005a3d7
cwde
mov eax, dword [edx + eax*4]
not eax
shr eax, 0x1f
jmp 0x1005a44a
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov eax, dword [eax + ebx + 4]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc0], 0x10017f20
mov dword [esp + 0xd4], ecx
test eax, eax
je 0x1005a42e
push eax
lea eax, [esp + 0xc0]
push eax
call fcn.10078760
add esp, 8
cmp byte [esp + 0x13], 0
mov cl, byte [esp + 0xd0]
jne 0x1005a43f
and cl, 0xfd
mov edx, dword [esp + 0x24]
xor eax, eax
test cl, cl
setne al
test eax, eax
jne 0x1005a464
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x18
cmp edi, eax
jl 0x1005a3c0
mov ebx, dword [esp + 0x30]
jmp 0x1005a4b4
mov ecx, dword [esp + 0xfc]
mov ebx, dword [esp + 0x30]
mov ebp, dword [ecx + 0x2c]
inc ebp
mov dword [ecx + 0x2c], ebp
movzx eax, word [esi + 0x34]
add eax, ebp
cmp dword [esp + 0x10c], 0xb
mov dword [ecx + 0x2c], eax
jne 0x1005a4b0
cmp byte [esi + 0x36], 5
jne 0x1005a4b0
mov dword [esp + 0x58], 1
jmp 0x1005a4b0
mov ecx, dword [esp + 0xfc]
mov ebp, dword [ecx + 0x2c]
inc ebp
mov dword [ecx + 0x2c], ebp
movzx eax, word [esi + 0x34]
add eax, ebp
mov dword [ecx + 0x2c], eax
test ebp, ebp
jne 0x1005a4bd
mov eax, dword [esp + 0x54]
mov byte [ebx + eax + 1], 0
mov eax, dword [esp + 0x5c]
mov dword [eax + ebx*4], ebp
inc ebx
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x30], ebx
test esi, esi
jne 0x1005a365
mov ebp, dword [esp + 0x10c]
mov ecx, dword [esp + 0xfc]
mov edx, dword [esp + 0x5c]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [edx + ebx*4], eax
cmp dword [esp + 0x58], 0
je 0x1005a518
mov eax, dword [esp + 0x88]
inc eax
push eax
push 1
push dword [esp + 0x5c]
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [esp + 0x108]
add esp, 0xc
mov edi, dword [ecx + 8]
mov dword [esp + 0x50], edi
test edi, edi
jne 0x1005a552
cmp dword [ecx + 0x74], edi
jne 0x1005a534
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x1005a534
mov byte [ecx + 0x17], 1
push ecx
call fcn.1005cd00
mov ecx, dword [esp + 0x100]
mov edi, eax
add esp, 4
mov dword [esp + 0x50], edi
test edi, edi
je 0x1005b8cb
cmp byte [ecx + 0x12], 0
jne 0x1005a55f
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x44], 0
jne 0x1005a571
cmp dword [esp + 0x48], 0
jne 0x1005a571
xor bl, bl
jmp 0x1005a573
mov bl, 1
mov esi, dword [ecx + 0x74]
test esi, esi
jne 0x1005a57c
mov esi, ecx
mov ecx, dword [esp + 0x38]
mov eax, 1
mov edx, dword [esi + 0x54]
shl eax, cl
test edx, eax
jne 0x1005a5a6
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x1005a5a6
push esi
call fcn.1004dbb0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov eax, dword [esi + 0x50]
or byte [esi + 0x14], bl
bts eax, ecx
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0xfc]
mov dword [esi + 0x50], eax
mov esi, dword [esp + 0x18]
cmp dword [esi + 0x38], 0
jne 0x1005a63c
mov eax, dword [esp + 0x5c]
mov ecx, dword [edx + 0x2c]
inc ecx
cmp byte [esp + 0x23], 0
mov dword [esp + 0x40], ecx
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x6c], eax
mov dword [edx + 0x2c], ecx
mov dword [esp + 0x1c], ecx
jne 0x1005a5f7
cmp dword [esp + 0x44], 0
jne 0x1005a5f7
mov eax, dword [esp + 0x48]
test eax, eax
je 0x1005a60e
lea eax, [ecx + 1]
mov dword [esp + 0x90], eax
movsx eax, word [esi + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x48]
mov dword [edx + 0x2c], ecx
cmp byte [esp + 0x4c], 0
jne 0x1005a620
cmp dword [esp + 0x44], 0
jne 0x1005a620
test eax, eax
je 0x1005a62c
lea eax, [ecx + 1]
mov dword [esp + 0x40], eax
mov ecx, eax
mov dword [edx + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x7c], eax
movsx eax, word [esi + 0x2a]
add eax, ecx
mov dword [edx + 0x2c], eax
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x1005a683
push dword [esp + 0x14]
mov eax, dword [edx + 0xf0]
push dword [esp + 0x118]
mov dword [esp + 0xbc], eax
push dword [esp + 0x118]
mov eax, dword [esi]
push dword [esp + 0x114]
mov dword [esp + 0xc0], edx
push esi
push edx
mov dword [edx + 0xf0], eax
call fcn.1004d330
add esp, 0x18
push dword [esp + 0x108]
lea eax, [esp + 0xdc]
push eax
call fcn.10054020
add esp, 8
test eax, eax
jne 0x1005b8b3
cmp dword [esi + 0x38], eax
je 0x1005a6dd
push ebp
push dword [esp + 0x10c]
push dword [esp + 0x2c]
push dword [esp + 0x84]
push dword [esp + 0x114]
push esi
push dword [esp + 0x118]
push dword [esp + 0x118]
call fcn.10071f30
add esp, 0x20
jmp 0x1005b8b3
mov ecx, dword [esp + 0xfc]
mov eax, dword [esp + 0x64]
dec dword [ecx + 0x38]
mov eax, dword [eax + 0x20]
mov ebp, dword [ecx + 0x38]
and eax, 0x80
or eax, 0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], ebp
je 0x1005a73b
cmp dword [ecx + 0x78], 0
jne 0x1005a73b
cmp byte [ecx + 0x12], 0
jne 0x1005a73b
cmp dword [esp + 0x118], 0
jne 0x1005a73b
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
push eax
push 0
push 0x46
push edi
mov dword [esp + 0xb0], eax
call fcn.1005c490
mov ecx, dword [esp + 0x10c]
add esp, 0x10
test byte [esi + 0x24], 0x20
jne 0x1005a84b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005a764
push dword [esp + 0x1c]
push dword [esp + 0x70]
push 0
push 0x49
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005a797
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x118], 0
je 0x1005a930
mov ecx, dword [esp + 0xfc]
push 0x10
push ebp
push dword [esp + 0x110]
mov esi, 1
mov dword [esp + 0xa4], 0
push ecx
mov dword [esp + 0x48], esi
call fcn.10042e70
mov ebp, dword [esp + 0xc8]
add esp, 0x10
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test byte [eax + 0x24], 0x20
jne 0x1005aa08
push dword [esp + 0x1c]
push ecx
push 0x80
push edi
call fcn.1005c490
add esp, 0x10
test esi, esi
jne 0x1005aae6
push dword [esp + 0x1c]
mov eax, dword [esp + 0x100]
push dword [esp + 0x70]
mov ecx, dword [esp + 0x64]
push 0x94
inc dword [eax + 0x2c]
mov eax, dword [eax + 0x2c]
push edi
mov dword [ecx + ebx*4], eax
call fcn.1005c490
add esp, 0x10
jmp 0x1005aae6
mov eax, dword [esp + 0x34]
movzx esi, word [eax + 0x32]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0xa8], esi
movsx esi, si
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x2c], edx
cmp dword [esp + 0x118], 0
mov dword [esp + 0x3c], eax
mov dword [ecx + 0x2c], eax
jne 0x1005a7ac
mov eax, dword [ecx + 0x28]
dec edx
mov ebp, dword [esp + 0x2c]
add edx, esi
mov dword [esp + 0x60], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005a8aa
push edx
push ebp
push 0
push 0x49
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005a8d5
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push esi
push dword [esp + 0x64]
push 0x71
push edi
call fcn.1005c490
mov ebp, dword [esp + 0x10c]
push dword [esp + 0x44]
mov dword [esp + 0xc0], eax
push ebp
mov esi, dword [ebp + 8]
call fcn.1004bd30
mov edx, eax
add esp, 0x18
test edx, edx
je 0x1005a937
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x1005a91c
push edx
push 0xfffffffffffffff7
push eax
call fcn.10022f30
add esp, 0xc
jmp 0x1005a937
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
jmp 0x1005a937
mov ebp, dword [esp + 0xfc]
cmp byte [ebp + 0x12], 0
mov eax, 0x1004
jne 0x1005a963
cmp dword [esp + 0x44], 0
jne 0x1005a963
cmp dword [esp + 0x48], 0
jne 0x1005a963
cmp byte [esp + 0x4c], 0
jne 0x1005a963
cmp dword [esp + 0x58], 0
jne 0x1005a963
mov eax, 0x100c
push dword [esp + 0x68]
push eax
push 0
push 0
push dword [esp + 0x118]
push dword [esp + 0x114]
push ebp
call fcn.10069b00
mov ecx, eax
add esp, 0x1c
mov dword [esp + 0x98], ecx
test ecx, ecx
je 0x1005b8b3
movzx esi, byte [ecx + 0x31]
mov eax, dword [ecx + 0x18]
mov ebp, dword [ecx + 0x1c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x84], ebp
mov dword [esp + 0x38], esi
cmp esi, 1
je 0x1005a7ef
mov ecx, dword [esp + 0xfc]
mov eax, dword [ecx + 0x74]
test eax, eax
jne 0x1005a9c9
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov byte [eax + 0x14], 1
cmp esi, 2
jne 0x1005a7f3
test ebp, ebp
js 0x1005a7f3
cmp ebp, ecx
je 0x1005a7f3
mov edx, dword [esp + 0x54]
mov eax, ebp
sub eax, dword [esp + 0x74]
xor ecx, ecx
cmp byte [eax + edx], cl
setne cl
dec ecx
and esi, ecx
mov dword [esp + 0x38], esi
jmp 0x1005a7ef
mov eax, dword [esp + 0xa8]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x1005aa4e
mov ebp, dword [esp + 0x18]
lea esp, [esp]
mov eax, dword [esp + 0x2c]
add eax, esi
push eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push ecx
push ebp
push edi
call fcn.100407b0
mov ecx, dword [esp + 0x28]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x1005aa20
mov ebp, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1005aaa5
mov eax, dword [esp + 0xac]
test eax, eax
je 0x1005aa94
mov edx, dword [edi]
cmp byte [edx + 0x51], 0
jne 0x1005aa94
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + ecx*4 + 0x10]
lea esi, [eax + ecx*4]
movsx eax, byte [esi + 1]
push eax
push edx
call fcn.10022f30
mov word [esi], 0xaa
add esp, 0xc
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x3c], eax
jmp 0x1005aae6
push ebx
push dword [esp + 0x38]
push dword [esp + 0x6c]
call fcn.10049ce0
add esp, 8
push eax
push dword [esp + 0x44]
push ebx
push dword [esp + 0x3c]
push 0x5c
push edi
call fcn.1005c550
push ebx
push dword [esp + 0x4c]
push dword [esp + 0x60]
push dword [esp + 0x88]
push 0x84
push edi
call fcn.1005c5d0
add esp, 0x34
cmp dword [esp + 0x118], 0
jne 0x1005ad39
cmp esi, 2
je 0x1005ab08
push dword [esp + 0x98]
call fcn.1006c620
add esp, 4
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x1005abcd
mov ecx, dword [esp + 0x38]
xor esi, esi
test ecx, ecx
je 0x1005ab43
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
test eax, eax
js 0x1005ab37
sub eax, ebx
mov byte [eax + edx], 0
test ebp, ebp
js 0x1005ab43
mov eax, ebp
sub eax, ebx
mov byte [eax + edx], 0
cmp ecx, 2
jne 0x1005ab69
mov ecx, dword [esp + 0x88]
xor eax, eax
test ebp, ebp
setns al
sub ecx, eax
test ecx, ecx
jle 0x1005ab69
push 0x11
push edi
call fcn.1005c3e0
add esp, 8
mov esi, eax
mov ebx, dword [esp + 0xfc]
push 0
push 0
push dword [esp + 0x5c]
push dword [esp + 0x80]
push 0
push 0x6d
push dword [esp + 0x30]
push ebx
call fcn.1004d9a0
add esp, 0x20
test esi, esi
je 0x1005abc3
mov edx, dword [edi + 0x6c]
jns 0x1005ab9c
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x1005abb6
mov esi, dword [esp + 0x38]
mov eax, 0x10095994
mov dword [eax + 8], edx
mov eax, dword [esp + 0x70]
jmp 0x1005abd4
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x70]
jmp 0x1005abd4
mov ebx, dword [esp + 0xfc]
test esi, esi
je 0x1005ac3f
test eax, eax
jne 0x1005ac0b
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x8c], eax
je 0x1005ac0b
cmp ebp, eax
mov ebp, dword [esp + 0x30]
je 0x1005ac0f
push dword [esp + 0x80]
push dword [esp + 0x40]
push ebp
push eax
push 0x1c
push edi
call fcn.1005c5d0
add esp, 0x18
jmp 0x1005ac0f
mov ebp, dword [esp + 0x30]
cmp esi, 1
je 0x1005ac1e
dec dword [ebx + 0x38]
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x34], 0
mov eax, dword [esp + 0x3c]
jne 0x1005ac2d
mov eax, dword [esp + 0x1c]
push ebp
push eax
push 0x32
push edi
call fcn.1005c490
add esp, 0x10
jmp 0x1005ad39
cmp dword [esp + 0x34], 0
mov ebp, dword [esp + 0x30]
je 0x1005ac98
mov esi, dword [esp + 0xfc]
push ebp
push dword [esp + 0x64]
dec dword [esi + 0x38]
mov ebx, dword [esi + 0x38]
push 0x24
push edi
mov dword [esp + 0x38], ebx
call fcn.1005c490
mov ebp, dword [esp + 0x4c]
push ebp
push dword [esp + 0x74]
push 0x7f
push edi
call fcn.1005c490
push 0
push ebp
push ebx
push dword [esp + 0x40]
mov dword [esp + 0xcc], eax
push 0x1c
push edi
call fcn.1005c5d0
add esp, 0x38
jmp 0x1005ad40
mov ebx, dword [edi + 0x6c]
mov dword [esp + 0x28], ebx
cmp dword [edi + 0x70], ebx
jg 0x1005acc4
push dword [esp + 0x1c]
push ebp
push dword [esp + 0x74]
push 0x29
push edi
call fcn.10025690
mov ebp, dword [esp + 0x30]
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x28], ebx
jmp 0x1005acf3
mov edx, dword [esp + 0x6c]
lea eax, [ebx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x29
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005ad0e
push ebp
push ebx
push dword [esp + 0x1c]
push 0x1f
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005ad39
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], ebp
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0xfc]
cmp byte [esp + 0x13], 0
je 0x1005add7
mov eax, dword [esp + 0x78]
test eax, eax
je 0x1005ad67
cmp byte [eax], 0xa8
jne 0x1005ad67
mov ebx, dword [esp + 0x40]
push ebx
push dword [eax + 0x1c]
push 0x4e
push dword [esi + 8]
jmp 0x1005ad86
mov ebx, dword [esp + 0x40]
push ebx
push eax
push esi
call fcn.10041690
add esp, 0xc
cmp eax, ebx
je 0x1005ad8e
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1005ad8e
push ebx
push eax
push 0x4f
push ecx
call fcn.1005c490
add esp, 0x10
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005ada8
push 0
push 0
push ebx
push 0xf
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005add7
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x23], 0
jne 0x1005ae78
cmp dword [esp + 0x48], 0
jne 0x1005ae83
cmp dword [esp + 0x44], 0
je 0x1005af5a
xor ebp, ebp
push dword [esp + 0x10c]
push dword [esp + 0x1c]
push 3
push 0
push dword [esp + 0x114]
push dword [esp + 0x58]
push esi
call fcn.10059840
mov edx, dword [esp + 0x34]
or ebp, eax
xor eax, eax
add esp, 0x1c
xor esi, esi
cmp ax, word [edx + 0x2a]
jge 0x1005aef9
xor ebx, ebx
cmp ebp, 0xffffffff
je 0x1005aecc
cmp esi, 0x20
jge 0x1005ae4e
mov eax, 1
mov ecx, esi
shl eax, cl
test ebp, eax
jne 0x1005aecc
mov eax, dword [edx + 4]
test byte [eax + ebx + 0xf], 1
jne 0x1005aecc
mov edx, dword [esp + 0x90]
mov ecx, dword [edi + 0x6c]
add edx, esi
cmp dword [edi + 0x70], ecx
jg 0x1005ae97
push 0
push edx
push 0
push 0x49
push edi
call fcn.10025690
jmp 0x1005aee2
cmp dword [esp + 0x48], 0
je 0x1005adf8
push dword [esp + 0x18]
push esi
call fcn.100466a0
add esp, 8
mov ebp, eax
jmp 0x1005adfa
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1005aee5
mov eax, dword [esp + 0x90]
add eax, esi
push eax
push esi
push dword [esp + 0x1c]
push edx
push edi
call fcn.100407b0
add esp, 0x14
mov edx, dword [esp + 0x18]
inc esi
add ebx, 0x10
movsx eax, word [edx + 0x2a]
cmp esi, eax
jl 0x1005ae33
cmp byte [esp + 0x13], 0
jne 0x1005af5a
cmp dword [esp + 0x34], 0
jne 0x1005af5a
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005af27
mov edx, dword [esp + 0x40]
push 0
push edx
push dword [esp + 0x24]
push 0x4e
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005af5a
mov edx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebp, dword [esp + 0x10c]
push ebp
push dword [esp + 0x1c]
push 1
push 1
push dword [esp + 0x114]
push dword [esp + 0x58]
push dword [esp + 0x114]
call fcn.10059840
mov ecx, dword [esp + 0x34]
mov edx, eax
xor eax, eax
mov dword [esp + 0x48], edx
add esp, 0x1c
xor ebx, ebx
cmp ax, word [ecx + 0x2a]
jge 0x1005b12a
mov esi, dword [esp + 0x7c]
movsx eax, word [ecx + 0x28]
cmp ebx, eax
jne 0x1005afc6
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005b0c8
push 0
push esi
push 0
push 0x49
push edi
call fcn.10025690
jmp 0x1005b10a
mov eax, dword [esp + 0x24]
mov eax, dword [eax + ebx*4]
test eax, eax
js 0x1005b09d
mov ecx, dword [esp + 0x104]
lea eax, [eax + eax*2]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
je 0x1005b042
cmp byte [eax], 0xa8
jne 0x1005b042
mov ebp, dword [eax + 0x1c]
mov eax, dword [esp + 0xfc]
mov edx, dword [eax + 8]
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x1005b012
push 0
push esi
push ebp
push 0x4e
push edx
call fcn.10025690
jmp 0x1005b10a
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1005b10d
push esi
push eax
push dword [esp + 0x104]
call fcn.10041690
mov ebp, eax
add esp, 0xc
cmp ebp, esi
je 0x1005b10d
mov eax, dword [esp + 0xfc]
mov edx, dword [eax + 8]
test edx, edx
je 0x1005b10d
mov ecx, dword [edx + 0x6c]
cmp dword [edx + 0x70], ecx
jg 0x1005b088
push 0
push esi
push ebp
push 0x4f
push edx
call fcn.10025690
jmp 0x1005b10a
lea eax, [ecx + 1]
mov dword [edx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x1005b025
test dword [esp + 0x94], 1
je 0x1005b0fd
cmp ebx, 0x1f
jg 0x1005b0fd
mov eax, 1
mov ecx, ebx
shl eax, cl
test edx, eax
jne 0x1005b0f9
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jle 0x1005afb4
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1005b111
mov ecx, dword [esp + 0x18]
push esi
push ebx
push dword [esp + 0x1c]
push ecx
push edi
call fcn.100407b0
add esp, 0x14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
inc ebx
inc esi
movsx eax, word [ecx + 0x2a]
cmp ebx, eax
jl 0x1005afa0
mov ebp, dword [esp + 0x10c]
test byte [esp + 0x94], 1
je 0x1005b25b
push dword [esp + 0x7c]
push ecx
push edi
call fcn.100594e0
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ebx, dword [esp + 0x28]
mov esi, eax
test eax, eax
je 0x1005b19c
mov edi, dword [esp + 0x18]
cmp byte [esi + 8], 0x7a
jne 0x1005b191
cmp byte [esi + 9], 1
jne 0x1005b191
push dword [esp + 0x104]
push dword [esi + 0x10]
call fcn.10017e50
add esp, 8
test eax, eax
je 0x1005b191
push ebx
push ebp
push dword [esp + 0x24]
push edi
push esi
push dword [esp + 0x110]
call fcn.1003bc60
add esp, 0x18
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x1005b158
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x34], 0
je 0x1005b1c4
push dword [esp + 0x80]
push dword [esp + 0x40]
push ebx
push dword [esp + 0x20]
push 0x1c
push edi
call fcn.1005c5d0
mov edx, dword [esp + 0x2c]
add esp, 0x18
jmp 0x1005b215
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005b1e6
push dword [esp + 0x1c]
push ebx
push dword [esp + 0x1c]
push 0x1f
push edi
call fcn.10025690
mov edx, dword [esp + 0x28]
add esp, 0x14
jmp 0x1005b215
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
mov dword [edi + 0x6c], eax
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
xor eax, eax
mov ebx, dword [esp + 0x24]
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x1005b25f
cmp dword [ebx + esi*4], 0
jge 0x1005b24c
movsx eax, word [ecx + 0x28]
cmp esi, eax
je 0x1005b24c
mov eax, dword [esp + 0x7c]
add eax, esi
push eax
push esi
push edx
push ecx
push edi
call fcn.100407b0
mov ecx, dword [esp + 0x2c]
add esp, 0x14
movsx eax, word [ecx + 0x2a]
inc esi
mov edx, dword [esp + 0x14]
cmp esi, eax
jl 0x1005b227
jmp 0x1005b25f
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x70], 0
jne 0x1005b4f3
xor esi, esi
lea eax, [esp + 0x58]
push esi
push ebx
mov ebx, dword [esp + 0x30]
push eax
push ebx
push ebp
push dword [esp + 0x60]
push dword [esp + 0x34]
push dword [esp + 0x5c]
push dword [esp + 0x88]
push dword [esp + 0x38]
push dword [esp + 0x84]
push ecx
push dword [esp + 0x12c]
call fcn.100469c0
mov ebp, dword [esp + 0x7c]
add esp, 0x34
test ebp, ebp
je 0x1005b2d2
push dword [esp + 0xa4]
push dword [esp + 0x28]
push esi
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x110]
call fcn.10045ad0
add esp, 0x18
cmp dword [esp + 0x58], esi
jne 0x1005b2e3
cmp byte [esp + 0x4c], 0
je 0x1005b3b0
cmp dword [esp + 0x34], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x1005b360
cmp eax, esi
jg 0x1005b30d
push dword [esp + 0x3c]
push 0
push dword [esp + 0x1c]
push 0x1c
push edi
call fcn.10025690
add esp, 0x14
mov esi, eax
jmp 0x1005b340
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x1005b3b0
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0x80]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x1005b3b0
cmp eax, esi
jg 0x1005b37d
push dword [esp + 0x1c]
push 0
push dword [esp + 0x1c]
push 0x1f
push edi
call fcn.10025690
add esp, 0x14
mov esi, eax
jmp 0x1005b3b0
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push 0xffffffffffffffff
push dword [esp + 0x60]
push dword [esp + 0x70]
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x110]
call fcn.10048730
add esp, 0x18
cmp ebp, 1
jg 0x1005b3de
mov al, byte [esp + 0x4c]
test al, al
je 0x1005b432
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005b3fb
push 0
push 0
push dword [esp + 0x1c]
push 0x7b
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005b42e
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x4c]
cmp dword [esp + 0x58], 0
jne 0x1005b43d
test al, al
je 0x1005b462
mov edx, dword [edi + 0x6c]
test esi, esi
jns 0x1005b447
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x1005b456
mov eax, 0x10095994
jmp 0x1005b45f
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov esi, dword [esp + 0xa4]
test ebp, ebp
je 0x1005b48b
push esi
push dword [esp + 0x28]
push dword [esp + 0x48]
push 0
push dword [esp + 0x28]
push dword [esp + 0x110]
call fcn.10045ad0
add esp, 0x18
mov ebp, dword [esp + 0x38]
xor eax, eax
push 0
cmp ebp, 2
push 0
sete al
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x68]
push dword [esp + 0x50]
push dword [esp + 0x7c]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [esp + 0x11c]
call fcn.1003c5f0
add esp, 0x24
cmp dword [esp + 0x48], 0
je 0x1005b4fb
push esi
push dword [esp + 0x28]
mov esi, dword [esp + 0x20]
push dword [esp + 0x24]
push dword [esp + 0x110]
push esi
push dword [esp + 0x110]
call fcn.10045a40
add esp, 0x18
jmp 0x1005b4ff
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0xa0]
test edx, edx
je 0x1005b557
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005b524
push 0
push 1
push edx
push 0x53
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005b557
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x44], 0
je 0x1005b5b8
mov ebp, dword [esp + 0xfc]
mov edi, dword [esp + 0x44]
lea esp, [esp]
cmp byte [edi + 8], 0x7a
jne 0x1005b5a9
cmp byte [edi + 9], 2
jne 0x1005b5a9
push dword [esp + 0x104]
push dword [edi + 0x10]
call fcn.10017e50
add esp, 8
test eax, eax
je 0x1005b5a9
push ebx
push dword [esp + 0x110]
push dword [esp + 0x24]
push esi
push edi
push ebp
call fcn.1003bc60
add esp, 0x18
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x1005b570
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x38]
cmp ebp, 1
je 0x1005b6cd
cmp ebp, 2
jne 0x1005b60f
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1005b5f2
push ebx
push edi
push ecx
call fcn.10031450
add esp, 0xc
push dword [esp + 0x98]
call fcn.1006c620
add esp, 4
jmp 0x1005b6cd
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
push dword [esp + 0x98]
mov dword [ecx + ebx*4], eax
call fcn.1006c620
add esp, 4
jmp 0x1005b6cd
cmp dword [esp + 0x34], 0
je 0x1005b684
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1005b630
push ebx
push edi
push ecx
call fcn.10031450
add esp, 0xc
jmp 0x1005b639
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005b65c
mov edx, dword [esp + 0x9c]
push 0
push edx
push dword [esp + 0x68]
push 5
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005b6cd
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x1005b6bd
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005b69e
push 0
push ebx
push 0
push 0xb
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005b6cd
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1005b6eb
push edx
push edi
push ecx
call fcn.10031450
add esp, 0xc
jmp 0x1005b6f4
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0xfc]
cmp byte [eax + 0x12], 0
jne 0x1005b720
cmp dword [eax + 0x78], 0
jne 0x1005b720
cmp dword [esp + 0x118], 0
jne 0x1005b720
cmp dword [eax + 0x70], 0
je 0x1005b720
push eax
call fcn.10014100
add esp, 4
mov edx, dword [esp + 0xa0]
test edx, edx
je 0x1005b8b3
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x1005b749
push 0
push 1
push edx
push 0x51
push edi
call fcn.10025690
add esp, 0x14
jmp 0x1005b778
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
movzx eax, word [edi + 0x90]
mov esi, dword [edi]
test ax, ax
je 0x1005b831
add eax, eax
push eax
push dword [edi + 0x74]
call fcn.10030150
mov ebx, dword [edi + 0x74]
add esp, 8
test ebx, ebx
je 0x1005b831
test esi, esi
je 0x1005b7dc
cmp dword [esi + 0x1e8], 0
je 0x1005b7bc
push ebx
push esi
call fcn.100281e0
add esp, 8
jmp 0x1005b831
cmp ebx, dword [esi + 0x138]
jb 0x1005b7dc
cmp ebx, dword [esi + 0x13c]
jae 0x1005b7dc
mov eax, dword [esi + 0x134]
mov dword [ebx], eax
mov dword [esi + 0x134], ebx
jmp 0x1005b831
cmp dword [0x10094018], 0
je 0x1005b827
mov eax, dword [0x100956d0]
test eax, eax
je 0x1005b7f8
push eax
call dword [0x10094074]
add esp, 4
push ebx
call dword [0x10094050]
sub dword [0x10095670], eax
dec dword [0x10095694]
push ebx
call dword [0x10094048]
mov eax, dword [0x100956d0]
add esp, 8
test eax, eax
je 0x1005b831
push eax
call dword [0x1009407c]
jmp 0x1005b82e
push ebx
call dword [0x10094048]
add esp, 4
push 0
push 0x50
mov ebx, 1
push esi
mov word [edi + 0x90], bx
call fcn.1003de20
add esp, 0xc
mov dword [edi + 0x74], eax
test eax, eax
je 0x1005b86d
mov dword [eax + 0x20], esi
mov word [eax + 8], bx
mov dword [eax + 0x18], 0
mov dword [eax + 0x48], esi
mov word [eax + 0x30], bx
mov dword [eax + 0x40], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x1005b8b3
mov esi, dword [edi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x1005b889
cmp dword [esi + 0x18], 0
je 0x1005b892
push esi
call fcn.100739f0
add esp, 4
mov eax, 0xa02
mov dword [esi + 0x10], str.rows_updated
mov dword [esi + 0x24], 0
mov dword [esi + 0xc], 0xc
mov word [esi + 8], ax
mov byte [esi + 0xa], bl
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x1005b8cb
mov ecx, dword [esp + 0xb4]
mov dword [eax + 0xf0], ecx
mov eax, dword [esp + 0x64]
cmp dword [eax + 0x1e8], 0
je 0x1005b8ea
push dword [esp + 0x24]
push eax
call fcn.100281e0
add esp, 8
jmp 0x1005b967
mov ebx, dword [esp + 0x24]
cmp ebx, dword [eax + 0x138]
jb 0x1005b912
cmp ebx, dword [eax + 0x13c]
jae 0x1005b912
mov eax, dword [eax + 0x134]
mov dword [ebx], eax
mov eax, dword [esp + 0x64]
mov dword [eax + 0x134], ebx
jmp 0x1005b967
cmp dword [0x10094018], 0
je 0x1005b95d
mov eax, dword [0x100956d0]
test eax, eax
je 0x1005b92e
push eax
call dword [0x10094074]
add esp, 4
push ebx
call dword [0x10094050]
sub dword [0x10095670], eax
dec dword [0x10095694]
push ebx
call dword [0x10094048]
mov eax, dword [0x100956d0]
add esp, 8
test eax, eax
je 0x1005b967
push eax
call dword [0x1009407c]
jmp 0x1005b964
push ebx
call dword [0x10094048]
add esp, 4
mov ebp, dword [esp + 0x108]
pop esi
pop edi
push dword [esp + 0xf8]
mov ebx, dword [esp + 0x60]
push ebx
call fcn.10058510
mov eax, dword [esp + 0x104]
add esp, 8
test eax, eax
je 0x1005b999
push eax
push ebx
call fcn.10020380
add esp, 8
test ebp, ebp
je 0x1005b9a7
push ebp
push ebx
call fcn.10042b80
add esp, 8
pop ebp
pop ebx
add esp, 0xe8
ret