Function at 0x1005ba30
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
push esi
xor esi, esi
mov dword [ebp - 0x24], edx
xorps xmm0, xmm0
mov dword [ebp - 8], esi
mov eax, dword [ebx]
push edi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x5c], edx
movq qword [ebp - 0x70], xmm0
mov dword [ebp - 0x1c], eax
cmp dword [ebx + 0x40], edx
jne 0x1005d84e
cmp byte [eax + 0x1e], dl
jne 0x1005d84e
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov dword [ebp - 0x58], eax
call fcn.1005a670
mov esi, eax
add esp, 8
mov dword [ebp - 4], esi
test esi, esi
je 0x1005d847
push dword [esi + 0x44]
push dword [ebx]
call fcn.10058370
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x64]
push eax
push edi
push 0x6b
push esi
push ebx
call fcn.1005b6b0
mov dword [ebp - 0x4c], eax
xor eax, eax
cmp dword [esi + 0x1c], eax
push esi
setne al
push ebx
mov dword [ebp - 0x3c], eax
call fcn.100697c0
add esp, 0x24
test eax, eax
jne 0x1005d847
push dword [ebp - 0x64]
push esi
push ebx
call fcn.1004fda0
add esp, 0xc
test eax, eax
jne 0x1005d847
mov eax, dword [esi + 8]
shl eax, 2
push eax
push dword [ebp - 0x1c]
call fcn.100453d0
mov edx, eax
add esp, 8
mov dword [ebp - 8], edx
test edx, edx
je 0x1005d847
xor eax, eax
cmp dword [esi + 8], eax
jle 0x1005bb1d
lea ecx, [ecx]
mov dword [edx + eax*4], 0xffffffff
inc eax
cmp eax, dword [esi + 8]
jl 0x1005bb10
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x20], eax
mov dword [ecx + 0x20], eax
inc dword [ebx + 0x44]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x44]
test eax, eax
je 0x1005bb41
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x1005bb36
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xd0], eax
xor eax, eax
movdqu xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xd4], ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x10], eax
cmp dword [edi], eax
jle 0x1005bcf8
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov eax, dword [edi + 0xc]
push dword [eax + ebx]
lea eax, [ebp - 0xd4]
push eax
call fcn.100570e0
add esp, 8
test eax, eax
jne 0x1005d7fa
xor edi, edi
cmp edi, dword [esi + 8]
jge 0x1005bc2e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, ebx
mov ebx, dword [esi + 0xc]
mov dword [ebp - 0x50], eax
mov edx, dword [ebx]
mov esi, dword [eax + 4]
mov al, byte [edx]
test al, al
je 0x1005bbe0
movzx ecx, byte [esi]
movzx eax, al
mov al, byte [eax + 0x100949e0]
cmp al, byte [ecx + 0x100949e0]
jne 0x1005bbe0
mov al, byte [edx + 1]
inc edx
inc esi
test al, al
jne 0x1005bbc3
movzx eax, byte [edx]
movzx ecx, byte [eax + 0x100949e0]
movzx eax, byte [esi]
mov esi, dword [ebp - 4]
movzx eax, byte [eax + 0x100949e0]
sub ecx, eax
je 0x1005bc09
mov eax, dword [ebp - 0x50]
inc edi
add ebx, 0x18
cmp edi, dword [esi + 8]
jl 0x1005bbb8
jmp 0x1005bc26
cmp edi, dword [esi + 4]
jne 0x1005bc1d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x40], 1
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov dword [ecx + edi*4], eax
mov ebx, dword [ebp - 0x14]
cmp edi, dword [esi + 8]
jl 0x1005bc58
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 0xc]
push dword [esi + ebx + 4]
call fcn.1004fe30
add esp, 4
test eax, eax
je 0x1005be0d
mov eax, dword [esi + ebx]
mov esi, dword [ebp - 4]
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x28]
add ecx, ecx
mov eax, dword [eax + 8]
mov edx, dword [eax + ecx*8]
lea ecx, [edi + edi*2]
mov eax, dword [esi + 0xc]
mov esi, dword [eax + ecx*8]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp byte [eax + 0x7c], 0
jne 0x1005bcd4
cmp byte [ecx + 0x210], 0
jne 0x1005bcd4
mov ecx, dword [eax + 0x10c]
test ecx, ecx
je 0x1005bcd4
mov ebx, dword [ebp + 8]
push dword [ebx + 0x204]
push edx
push esi
mov esi, dword [ebp - 4]
push dword [esi]
push 0x17
push dword [eax + 0x110]
call ecx
mov ebx, dword [ebp - 0x14]
add esp, 0x18
cmp eax, 1
je 0x1005be5e
test eax, eax
je 0x1005bcc3
cmp eax, 2
jne 0x1005be3c
mov edx, dword [ebp - 8]
cmp eax, 2
jne 0x1005bcd7
mov dword [edx + edi*4], 0xffffffff
jmp 0x1005bcd7
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
add ebx, 0x14
mov edi, dword [ebp + 0x10]
inc esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
cmp esi, dword [edi]
mov esi, dword [ebp - 4]
jl 0x1005bb82
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
push eax
push edx
push esi
push ebx
call fcn.1004b5f0
mov edx, eax
add esp, 0x10
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [ebp - 0x38], edx
test eax, eax
je 0x1005bd41
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x1005bd12
test ecx, ecx
jle 0x1005bd41
lea eax, [ecx*4]
push eax
push dword [ebp - 0x1c]
call fcn.100453d0
mov edx, eax
add esp, 8
mov dword [ebp - 0x24], edx
test edx, edx
je 0x1005d849
mov edx, dword [ebp - 0x38]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1005bda1
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov edi, edi
test edx, edx
jne 0x1005be8e
cmp dword [ebp - 0x40], edx
jne 0x1005be8e
mov esi, dword [edi + 4]
xor ebx, ebx
test esi, esi
jle 0x1005bd8c
mov ecx, dword [edi + 8]
lea ecx, [ecx]
mov esi, dword [ebp - 8]
mov eax, dword [ecx]
cmp dword [esi + eax*4], ebx
mov esi, dword [edi + 4]
jge 0x1005be80
inc edx
add ecx, 4
cmp edx, esi
jl 0x1005bd70
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
mov dword [eax], ebx
add eax, 4
mov edi, dword [edi + 0x20]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x48], eax
test edi, edi
jne 0x1005bd50
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x48], edi
test edi, edi
jne 0x1005bef2
mov esi, dword [ebx]
push 0xc0
push esi
call fcn.100453d0
mov edi, eax
mov dword [ebp - 0x48], eax
add esp, 8
test edi, edi
je 0x1005be99
push 0xc0
push 0
push edi
call sub.MSVCR120.dll_memset
mov dword [edi], esi
add esp, 0xc
mov eax, dword [esi + 0x88]
test eax, eax
je 0x1005bdeb
mov dword [eax + 0x3c], edi
mov eax, dword [esi + 0x88]
mov dword [edi + 0x40], eax
mov dword [edi + 0x3c], 0
mov dword [esi + 0x88], edi
mov dword [edi + 0x34], 0x26bceaa5
jmp 0x1005be9e
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0xc]
push dword [eax + ecx*4 + 4]
push str.no_such_column:__s
push ebx
call fcn.10046bd0
add esp, 0xc
mov byte [ebx + 0x12], 1
mov ebx, dword [ebp - 0x1c]
xor edx, edx
jmp 0x1005d803
mov ebx, dword [ebp + 8]
push str.authorizer_malfunction
push ebx
call fcn.10046bd0
add esp, 8
mov dword [ebx + 4], 1
mov ebx, dword [ebp - 0x1c]
xor edx, edx
jmp 0x1005d800
mov ebx, dword [ebp + 8]
push str.not_authorized
push ebx
call fcn.10046bd0
add esp, 8
mov dword [ebx + 4], 0x17
mov ebx, dword [ebp - 0x1c]
xor edx, edx
jmp 0x1005d800
mov eax, dword [ebp + 8]
inc dword [eax + 0x48]
mov ebx, dword [eax + 0x48]
jmp 0x1005bd89
inc dword [ebx + 0x48]
mov ebx, dword [ebx + 0x48]
jmp 0x1005bd8f
xor edi, edi
mov dword [ebp - 0x48], edi
mov dword [ebx + 0xc], edi
test edi, edi
je 0x1005d7fa
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x1005bebe
push edi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005bef2
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x88
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [ebx + 0x13], 0
jne 0x1005befc
mov byte [edi + 0x62], 1
mov eax, dword [ebx + 0x1a8]
mov esi, ebx
push dword [ebp - 0x28]
test eax, eax
push ebx
cmovne esi, eax
call fcn.10043e00
mov edx, dword [ebp - 4]
mov eax, 1
mov ecx, dword [ebp - 0x28]
add esp, 8
or byte [esi + 0x158], 1
shl eax, cl
or dword [esi + 0x150], eax
test byte [edx + 0x22], 0x10
je 0x1005bf6c
push dword [ebp + 0x18]
mov esi, dword [ebp - 8]
push dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
push esi
push dword [ebp - 0x18]
push edi
push edx
push dword [ebp + 0xc]
push ebx
call fcn.1006ef30
mov ebx, dword [ebp - 0x1c]
add esp, 0x20
mov edx, dword [ebp - 0x24]
mov dword [ebp + 0x14], 0
mov dword [ebp - 0x58], 0
jmp 0x1005d806
inc dword [ebx + 0x48]
mov esi, dword [ebx + 0x48]
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
test ecx, ecx
jne 0x1005bf86
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x1005bf97
lea eax, [esi + 1]
mov dword [ebp - 0x68], eax
mov eax, dword [edx + 8]
add eax, esi
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x40], 0
jne 0x1005bfa5
test ecx, ecx
jne 0x1005bfa5
test eax, eax
je 0x1005bfae
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebx + 0x48]
lea eax, [ecx + 1]
mov dword [ebp - 0x54], eax
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp - 0x3c], 0
mov dword [ebx + 0x48], eax
je 0x1005bfe9
push dword [ebp - 0x20]
mov eax, dword [ebx + 0x204]
push dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [edx]
push edx
push ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebx + 0x204], eax
call fcn.10050750
add esp, 0x10
push dword [ebp + 0x14]
lea eax, [ebp - 0xd4]
push eax
call fcn.100570e0
add esp, 8
test eax, eax
jne 0x1005d7fa
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x1005c018
push edi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005c04b
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
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
push 4
push 0
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.1006b640
mov ebx, eax
add esp, 0x14
test ebx, ebx
je 0x1005d7fa
movzx eax, byte [ebx + 6]
mov esi, dword [edi + 0x1c]
mov dword [ebp - 0x50], eax
cmp dword [edi + 0x20], esi
jg 0x1005c084
push edi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005c0b6
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0x3d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp - 0x50], 0
jne 0x1005c10f
mov eax, dword [ebp + 8]
inc dword [eax + 0x48]
mov esi, dword [edi + 0x1c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x5c], eax
cmp dword [edi + 0x20], esi
jg 0x1005c0dd
push edi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005c10f
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0x69
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push ebx
call fcn.1006c0b0
mov eax, dword [ebp - 0x1c]
add esp, 4
test dword [eax + 0xc], 0x1000
mov eax, dword [ebp + 8]
je 0x1005c181
cmp dword [eax + 0x1ac], 0
jne 0x1005c181
inc dword [eax + 0x48]
mov esi, dword [edi + 0x1c]
mov ebx, dword [eax + 0x48]
mov dword [ebp - 0x60], ebx
cmp dword [edi + 0x20], esi
jg 0x1005c14e
push edi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005c17e
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x3c], 0
jne 0x1005c337
cmp dword [ebp - 0x50], 0
mov ebx, dword [ebp - 4]
jne 0x1005c1a6
push 0x27
push ebx
push dword [ebp - 0x28]
push dword [ebp - 0x20]
push eax
call fcn.10051180
add esp, 0x14
cmp dword [ebp + 0x18], 5
je 0x1005c1c7
mov eax, dword [ebx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x44], ecx
test eax, eax
je 0x1005c1cf
cmp byte [eax + 0x18], 5
je 0x1005c1c7
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x1005c1b8
jmp 0x1005c1cf
mov ecx, 1
mov dword [ebp - 0x44], ecx
mov ebx, dword [ebx + 0x10]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x1005c337
test ecx, ecx
jne 0x1005c1f2
mov eax, dword [ebp - 0x24]
cmp dword [eax + esi*4], ecx
jle 0x1005c325
push ebx
push dword [ebp + 8]
call fcn.1004e110
mov ecx, dword [edi + 0x20]
add esp, 8
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0x14]
mov ebx, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
cmp ecx, ebx
jg 0x1005c27a
test ecx, ecx
je 0x1005c219
add ecx, ecx
jmp 0x1005c21e
mov ecx, 0x33
lea eax, [ecx + ecx*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005c2fb
mov ecx, dword [edi]
test ecx, ecx
je 0x1005c25b
cmp esi, dword [ecx + 0x104]
jb 0x1005c25b
cmp esi, dword [ecx + 0x108]
jae 0x1005c25b
movzx ecx, word [ecx + 0xe8]
jmp 0x1005c267
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x14]
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x27
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ecx + 0x10], 0
add eax, esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
mov edx, dword [edi + 4]
mov ecx, dword [edi]
test edx, edx
je 0x1005c311
cmp byte [ecx + 0x1e], 0
jne 0x1005c311
test ebx, ebx
jns 0x1005c2c4
mov ebx, dword [edi + 0x1c]
dec ebx
lea eax, [ebx + ebx*4]
push dword [edx + eax*4 + 0x10]
lea esi, [edx + eax*4]
movsx eax, byte [esi + 1]
push eax
push ecx
call fcn.1002b2f0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x44]
mov dword [esi + 0x10], 0
test eax, eax
jne 0x1005c305
mov dword [esi + 0x10], eax
mov byte [esi + 1], al
mov esi, dword [ebp - 0x14]
jmp 0x1005c325
mov esi, dword [ebp - 0x14]
mov ebx, 1
jmp 0x1005c2ad
mov dword [esi + 0x10], eax
mov byte [esi + 1], 0xfa
mov esi, dword [ebp - 0x14]
jmp 0x1005c325
push dword [ebp - 0x34]
push 0xfffffffffffffff0
push ecx
call fcn.1002b2f0
mov ebx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov ebx, dword [ebx + 0x20]
inc esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esi
test ebx, ebx
jne 0x1005c1e2
cmp dword [ebp - 0x50], 0
mov esi, dword [edi + 0x1c]
je 0x1005c3f8
cmp dword [edi + 0x20], esi
jg 0x1005c35d
push edi
call fcn.1002d960
add esp, 4
test eax, eax
je 0x1005c35d
mov esi, 1
jmp 0x1005c390
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0x4a
mov byte [eax + ecx*4 + 3], 0
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 ebx, dword [edi + 0x1c]
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x20], ebx
jg 0x1005c3b1
push edi
call fcn.1002d960
add esp, 4
test eax, eax
je 0x1005c3b1
mov dword [ebp - 0x10], 1
jmp 0x1005c3e5
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x1c]
cmp edx, esi
jle 0x1005c448
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
mov dword [eax + ecx*4 + 8], edx
jmp 0x1005c448
mov dword [ebp - 0x10], esi
cmp dword [edi + 0x20], esi
jg 0x1005c416
push edi
call fcn.1002d960
add esp, 4
test eax, eax
je 0x1005c416
mov dword [ebp - 0x10], 1
jmp 0x1005c448
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x5c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0x6a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005c4b4
test eax, eax
je 0x1005c45a
add eax, eax
jmp 0x1005c45f
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005c4e5
mov ecx, dword [edi]
test ecx, ecx
je 0x1005c498
cmp esi, dword [ecx + 0x104]
jb 0x1005c498
cmp esi, dword [ecx + 0x108]
jae 0x1005c498
movzx ecx, word [ecx + 0xe8]
jmp 0x1005c4a4
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0x34
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebp - 0x40], 0
je 0x1005c5e1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1005c554
cmp byte [eax], 0x84
jne 0x1005c554
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x1005c520
push esi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005c599
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0xe
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1005c59c
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp + 8]
push esi
push eax
push ebx
call fcn.10047f10
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, esi
je 0x1005c599
mov esi, dword [ebx + 0xc]
test esi, esi
je 0x1005c599
mov ebx, dword [esi + 0x1c]
cmp dword [esi + 0x20], ebx
jg 0x1005c588
push esi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005c599
mov eax, dword [esi + 4]
lea ecx, [ebx + ebx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0xf
jmp 0x1005c52f
mov ebx, dword [ebp - 0x30]
mov esi, dword [edi + 0x1c]
cmp dword [edi + 0x20], esi
jg 0x1005c5b1
push edi
call fcn.1002d960
add esp, 4
test eax, eax
jne 0x1005c5e1
mov eax, dword [edi + 4]
lea ecx, [esi + esi*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
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 dword [ebp - 0x38], 0
jne 0x1005c5f9
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1005c7eb
mov esi, dword [ebp - 4]
xor ebx, ebx
jmp 0x1005c60d
mov esi, dword [ebp - 4]
push esi
push dword [ebp + 8]
call fcn.1004b440
mov ebx, eax
add esp, 8
mov eax, dword [ebp - 0x4c]
push dword [ebp + 0x18]
push esi
push 3
push 0
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1005b340
mov edx, dword [ebp - 4]
or ebx, eax
xor esi, esi
mov dword [ebp - 0x34], ebx
add esp, 0x1c
cmp dword [edx + 8], esi
jle 0x1005c73f
jmp 0x1005c640
mov eax, dword [ebp - 8]
cmp dword [eax + esi*4], 0
jl 0x1005c71b
cmp ebx, 0xffffffff
je 0x1005c71b
cmp esi, 0x20
jge 0x1005c66c
mov eax, 1
mov ecx, esi
shl eax, cl
test ebx, eax
jne 0x1005c71b
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jg 0x1005c6e5
test eax, eax
je 0x1005c681
add eax, eax
jmp 0x1005c686
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1005c72f
mov ecx, dword [edi]
test ecx, ecx
je 0x1005c6c3
cmp ebx, dword [ecx + 0x104]
jb 0x1005c6c3
cmp ebx, dword [ecx + 0x108]
jae 0x1005c6c3
movzx ecx, word [ecx + 0xe8]
jmp 0x1005c6cf
push ebx
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], ebx
mul ecx
mov ecx, dword [ebp - 0xc]
shr edx, 4
mov dword [edi + 0x20], edx
mov edx, dword [ebp - 4]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x68]
add eax, esi
mov dword [ecx + 4], 0
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
jmp 0x1005c732
mov eax, dword [ebp - 0x68]
add eax, esi
push eax
push esi
push dword [ebp - 0x20]
push edx
push edi
call fcn.100479e0
add esp, 0x14
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x34]
inc esi
cmp esi, dword [edx + 8]
jl 0x1005c640
cmp dword [ebp - 0x40], 0
jne 0x1005c7eb
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005c7b9
test eax, eax
je 0x1005c75b
add eax, eax
jmp 0x1005c760
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005c7eb
mov ecx, dword [edi]
test ecx, ecx
je 0x1005c79d
cmp esi, dword [ecx + 0x104]
jb 0x1005c79d
cmp esi, dword [ecx + 0x108]
jae 0x1005c79d
movzx ecx, word [ecx + 0xe8]
jmp 0x1005c7a9
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x2c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x30]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp + 0x18]
mov esi, dword [ebp - 4]
push esi
push 1
push 1
push dword [ebp + 0x10]
push dword [ebp - 0x4c]
push dword [ebp + 8]
call fcn.1005b340
mov ecx, dword [ebp - 4]
xor edx, edx
add esp, 0x1c
mov dword [ebp - 0x18], edx
mov esi, eax
mov dword [ebp - 0x14], esi
cmp dword [ecx + 8], edx
jle 0x1005c9ce
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x28], ebx
cmp edx, dword [ecx + 4]
jne 0x1005c8d7
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005c89f
test eax, eax
je 0x1005c83e
add eax, eax
jmp 0x1005c843
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005c9b2
mov ecx, dword [edi]
test ecx, ecx
je 0x1005c880
cmp esi, dword [ecx + 0x104]
jb 0x1005c880
cmp esi, dword [ecx + 0x108]
jae 0x1005c880
movzx ecx, word [ecx + 0xe8]
jmp 0x1005c88c
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov esi, dword [ebp - 0x28]
mov word [eax + ecx*4], 0xa
mov byte [eax + ecx*4 + 3], 0
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 0x1005c9b5
mov eax, dword [ebp - 8]
mov eax, dword [eax + edx*4]
test eax, eax
js 0x1005caae
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x1005c9fb
cmp byte [eax], 0x84
jne 0x1005c9fb
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jg 0x1005c980
test eax, eax
je 0x1005c923
add eax, eax
jmp 0x1005c928
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 4]
push dword [esi]
call fcn.100454d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1005c9b2
mov ecx, dword [esi]
test ecx, ecx
je 0x1005c961
cmp ebx, dword [ecx + 0x104]
jb 0x1005c961
cmp ebx, dword [ecx + 0x108]
jae 0x1005c961
movzx ecx, word [ecx + 0xe8]
jmp 0x1005c96d
push ebx
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [esi + 4], ebx
mul ecx
mov ecx, dword [ebp - 0xc]
shr edx, 4
mov dword [esi + 0x20], edx
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x1c]
mov esi, dword [ebp - 0x28]
mov word [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], esi
mov edx, dword [ebp - 0x34]
mov dword [eax + ecx*4 + 4], edx
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
inc edx
inc dword [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edx
cmp edx, dword [ecx + 8]
jl 0x1005c823
test byte [ebp - 0x64], 1
je 0x1005cde7
mov eax, dword [ecx + 8]
mov ebx, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005cbfe
test eax, eax
je 0x1005cba4
add eax, eax
jmp 0x1005cba9
push ebx
push eax
push dword [ebp + 8]
call fcn.10047f10
add esp, 0xc
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x1005cb9c
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xc]
test esi, esi
je 0x1005c9b2
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jg 0x1005ca96
test eax, eax
je 0x1005ca32
add eax, eax
jmp 0x1005ca37
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [esi + 4]
push dword [esi]
call fcn.100454d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1005c9b2
mov ecx, dword [esi]
test ecx, ecx
je 0x1005ca74
cmp ebx, dword [ecx + 0x104]
jb 0x1005ca74
cmp ebx, dword [ecx + 0x108]
jae 0x1005ca74
movzx ecx, word [ecx + 0xe8]
jmp 0x1005ca80
push ebx
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [esi + 4], ebx
mov ebx, dword [ebp - 0x28]
mul ecx
mov ecx, dword [ebp - 0xc]
shr edx, 4
mov dword [esi + 0x20], edx
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
inc dword [esi + 0x1c]
mov word [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 8], ebx
jmp 0x1005c996
test dword [ebp - 0x64], 1
je 0x1005cacd
cmp edx, 0x1f
jg 0x1005cacd
mov eax, 1
mov ecx, edx
shl eax, cl
test esi, eax
je 0x1005c9b8
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005cb40
test eax, eax
je 0x1005cadf
add eax, eax
jmp 0x1005cae4
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005cb82
mov ecx, dword [edi]
test ecx, ecx
je 0x1005cb21
cmp esi, dword [ecx + 0x104]
jb 0x1005cb21
cmp esi, dword [ecx + 0x108]
jae 0x1005cb21
movzx ecx, word [ecx + 0xe8]
jmp 0x1005cb2d
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov edx, dword [ebp - 0x18]
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x20]
push esi
push edx
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [ebp - 4]
push esi
push edi
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0x10], 0
call fcn.10043eb0
add esp, 0x10
jmp 0x1005c9b2
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
push esi
mov esi, dword [ebp - 4]
push edx
push esi
push edi
call fcn.10043eb0
add esp, 0x10
jmp 0x1005c9b2
mov edx, dword [ebp - 0x18]
jmp 0x1005c9b8
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005cc30
mov ecx, dword [edi]
test ecx, ecx
je 0x1005cbe2
cmp esi, dword [ecx + 0x104]
jb 0x1005cbe2
cmp esi, dword [ecx + 0x108]
jae 0x1005cbe2
movzx ecx, word [ecx + 0xe8]
jmp 0x1005cbee
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x54]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0xc]
mov word [eax + ecx*4], 0x1d
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [ebp - 4]
push ebx
push edi
call fcn.1005b010
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
push ebx
push 1
push dword [ebp + 0x10]
push 0x6b
push dword [ebp - 0x4c]
push dword [ebp + 8]
call fcn.10043770
mov ebx, dword [edi + 0x1c]
add esp, 0x2c
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005ccc5
test eax, eax
je 0x1005cc6b
add eax, eax
jmp 0x1005cc70
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005ccf6
mov ecx, dword [edi]
test ecx, ecx
je 0x1005cca9
cmp esi, dword [ecx + 0x104]
jb 0x1005cca9
cmp esi, dword [ecx + 0x108]
jae 0x1005cca9
movzx ecx, word [ecx + 0xe8]
jmp 0x1005ccb5
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0x2c]
mov word [eax + ecx*4], 0x34
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp - 4]
xor esi, esi
cmp dword [ecx + 8], esi
jle 0x1005cde7
mov eax, dword [ebp - 8]
jmp 0x1005cd10
cmp dword [eax + esi*4], 0
jge 0x1005cddd
cmp esi, dword [ecx + 4]
je 0x1005cddd
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jg 0x1005cd95
test eax, eax
je 0x1005cd38
add eax, eax
jmp 0x1005cd3d
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1005cdc4
mov ecx, dword [edi]
test ecx, ecx
je 0x1005cd76
cmp ebx, dword [ecx + 0x104]
jb 0x1005cd76
cmp ebx, dword [ecx + 0x108]
jae 0x1005cd76
movzx ecx, word [ecx + 0xe8]
jmp 0x1005cd82
push ebx
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], ebx
mul ecx
mov ecx, dword [ebp - 0xc]
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x1c
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 8], esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x54]
add eax, esi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 0x54]
add eax, esi
push eax
push esi
push dword [ebp - 4]
push edi
call fcn.10043eb0
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, dword [ebp - 8]
inc esi
cmp esi, dword [ecx + 8]
jl 0x1005cd10
cmp dword [ebp - 0x3c], 0
jne 0x1005d0c1
mov esi, dword [ebp - 0x2c]
xor eax, eax
cmp dword [ebp - 0x40], eax
mov ebx, dword [ebp + 8]
push 0
push dword [ebp - 0x10]
cmovne eax, esi
push dword [ebp + 0x18]
push 1
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push ecx
push ebx
call fcn.1004b880
add esp, 0x28
cmp dword [ebp - 0x38], 0
je 0x1005ce32
push 0
push esi
push dword [ebp - 4]
push ebx
call fcn.1004ae10
add esp, 0x10
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005cea5
test eax, eax
je 0x1005ce44
add eax, eax
jmp 0x1005ce49
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005cf0d
mov eax, dword [edi]
test eax, eax
je 0x1005ce86
cmp esi, dword [eax + 0x104]
jb 0x1005ce86
cmp esi, dword [eax + 0x108]
jae 0x1005ce86
movzx ecx, word [eax + 0xe8]
jmp 0x1005ce92
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mov esi, dword [ebp - 0x2c]
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
mov word [eax + ecx*4], 0x34
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.1004cd40
add esp, 0x10
cmp dword [ebp - 0x38], 0
jne 0x1005cef8
cmp dword [ebp - 0x40], 0
je 0x1005cfa4
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jg 0x1005cf71
test eax, eax
je 0x1005cf14
add eax, eax
jmp 0x1005cf19
mov ebx, 1
jmp 0x1005ced4
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005cfa4
mov eax, dword [edi]
test eax, eax
je 0x1005cf52
cmp esi, dword [eax + 0x104]
jb 0x1005cf52
cmp esi, dword [eax + 0x108]
jae 0x1005cf52
movzx ecx, word [eax + 0xe8]
jmp 0x1005cf5e
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
mov ecx, dword [ebp - 0xc]
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
mov word [eax + ecx*4], 0x39
mov byte [eax + ecx*4 + 3], 0
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 edx, dword [edi + 0x1c]
cmp edx, ebx
jle 0x1005cfb5
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
mov esi, dword [ebp - 0x38]
mov ebx, dword [ebp + 8]
test esi, esi
je 0x1005cfd0
push dword [ebp - 0x30]
push 0
push dword [ebp - 4]
push ebx
call fcn.1004ae10
add esp, 0x10
push 0
push 0
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x30]
push dword [ebp - 0x20]
push dword [ebp - 4]
push ebx
call fcn.10044020
add esp, 0x20
test esi, esi
je 0x1005d0c1
mov eax, dword [ebx]
test dword [eax + 0xc], 0x4000000
je 0x1005d0c1
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov esi, ecx
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1005d023
cmp byte [ecx], 0
je 0x1005d01b
inc esi
cmp byte [esi], 0
jne 0x1005d015
sub esi, ecx
and esi, 0x3fffffff
mov eax, dword [eax + 0x44]
add eax, 0x38
mov dword [ebp - 0x3c], eax
cmp dword [eax + 0xc], 0
je 0x1005d077
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x34], eax
test esi, esi
jle 0x1005d067
mov edi, esi
nop
movzx eax, byte [eax]
lea ecx, [ebx*8]
dec edi
movzx edx, byte [eax + 0x100949e0]
mov eax, dword [ebp - 0x34]
xor edx, ecx
inc eax
xor ebx, edx
mov dword [ebp - 0x34], eax
test edi, edi
jg 0x1005d040
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
xor edx, edx
mov ebx, dword [ebp - 0x3c]
div dword [ebx]
mov eax, ebx
mov ebx, dword [ebp + 8]
jmp 0x1005d079
xor edx, edx
push edx
push esi
push ecx
push eax
call fcn.10028f00
add esp, 0x10
test eax, eax
je 0x1005d0c1
mov esi, dword [eax + 8]
test esi, esi
je 0x1005d0c1
mov edi, dword [ebp - 4]
push dword [ebp + 0x10]
push esi
push edi
push ebx
call fcn.10029480
add esp, 0x10
test eax, eax
je 0x1005d0b7
push 0
push 2
push dword [ebp - 0x2c]
push edi
push eax
push ebx
call fcn.100437d0
add esp, 0x18
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x1005d093
mov edi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x1c]
test dword [eax + 0xc], 0x1000
je 0x1005d180
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1ac], 0
jne 0x1005d180
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005d14d
test eax, eax
je 0x1005d0f3
add eax, eax
jmp 0x1005d0f8
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005d180
mov eax, dword [edi]
test eax, eax
je 0x1005d131
cmp esi, dword [eax + 0x104]
jb 0x1005d131
cmp esi, dword [eax + 0x108]
jae 0x1005d131
movzx ecx, word [eax + 0xe8]
jmp 0x1005d13d
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x60]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
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
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp - 0x2c]
push dword [ebp - 4]
push 2
push dword [ebp + 0x10]
push 0x6b
push dword [ebp - 0x4c]
push dword [ebp + 8]
call fcn.10043770
mov ebx, dword [edi + 0x1c]
add esp, 0x24
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005d20d
test eax, eax
je 0x1005d1b3
add eax, eax
jmp 0x1005d1b8
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005d240
mov eax, dword [edi]
test eax, eax
je 0x1005d1f1
cmp esi, dword [eax + 0x104]
jb 0x1005d1f1
cmp esi, dword [eax + 0x108]
jae 0x1005d1f1
movzx ecx, word [eax + 0xe8]
jmp 0x1005d1fd
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x10]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp - 0x10]
cmp edx, eax
jle 0x1005d254
lea ecx, [eax + eax*4]
mov eax, dword [edi + 4]
mov dword [eax + ecx*4 + 8], edx
mov eax, dword [ebp - 4]
xor ebx, ebx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x3c], edx
test edx, edx
je 0x1005d341
mov eax, dword [ebp - 0x44]
lea ebx, [ebx]
test eax, eax
jne 0x1005d280
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + ebx*4], eax
jle 0x1005d332
mov ecx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xc], ecx
cmp eax, ecx
jg 0x1005d2f5
test eax, eax
je 0x1005d295
add eax, eax
jmp 0x1005d29a
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005d32c
mov eax, dword [edi]
test eax, eax
je 0x1005d2d3
cmp esi, dword [eax + 0x104]
jb 0x1005d2d3
cmp esi, dword [eax + 0x108]
jae 0x1005d2d3
movzx ecx, word [eax + 0xe8]
jmp 0x1005d2df
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
mov ecx, dword [ebp - 0xc]
shr edx, 4
mov dword [edi + 0x20], edx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edi + 4]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0x1c]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ecx + 8], 0
add eax, ebx
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], 0
jmp 0x1005d32f
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov edx, dword [edx + 0x20]
inc ebx
mov dword [ebp - 0x3c], edx
test edx, edx
jne 0x1005d270
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005d3ad
test eax, eax
je 0x1005d353
add eax, eax
jmp 0x1005d358
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005d3e0
mov eax, dword [edi]
test eax, eax
je 0x1005d391
cmp esi, dword [eax + 0x104]
jb 0x1005d391
cmp esi, dword [eax + 0x108]
jae 0x1005d391
movzx ecx, word [eax + 0xe8]
jmp 0x1005d39d
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x20]
mov word [eax + ecx*4], 0x2b
mov byte [eax + ecx*4 + 3], 0
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 eax, dword [ebp + 8]
cmp byte [eax + 0x13], 0
jne 0x1005d3fe
cmp dword [eax + 0x1ac], 0
jne 0x1005d3fe
push eax
call fcn.1003ed30
mov eax, dword [ebp + 8]
add esp, 4
mov ebx, dword [ebp - 0x1c]
test dword [ebx + 0xc], 0x1000
je 0x1005d7fd
cmp dword [eax + 0x1ac], 0
jne 0x1005d7fd
cmp byte [eax + 0x13], 0
jne 0x1005d7fd
mov ebx, dword [edi + 0x1c]
mov eax, dword [edi + 0x20]
cmp eax, ebx
jg 0x1005d491
test eax, eax
je 0x1005d437
add eax, eax
jmp 0x1005d43c
mov eax, 0x33
lea eax, [eax + eax*4]
shl eax, 2
push eax
push dword [edi + 4]
push dword [edi]
call fcn.100454d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1005d4c4
mov eax, dword [edi]
test eax, eax
je 0x1005d475
cmp esi, dword [eax + 0x104]
jb 0x1005d475
cmp esi, dword [eax + 0x108]
jae 0x1005d475
movzx ecx, word [eax + 0xe8]
jmp 0x1005d481
push esi
call dword [0x100ae0b8]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mov dword [edi + 4], esi
mul ecx
shr edx, 4
mov dword [edi + 0x20], edx
mov eax, dword [edi + 4]
lea ecx, [ebx + ebx*4]
inc dword [edi + 0x1c]
mov edx, dword [ebp - 0x60]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
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 + 0x30]
mov esi, dword [edi]
lea eax, [eax + eax*4]
push eax
push dword [edi + 0x10]
call fcn.10038290
push dword [edi + 0x10]
push esi
call fcn.10045340
push 0xc8
mov ebx, 1
push esi
mov word [edi + 0x30], bx
call fcn.100453d0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x1005d50c
push 0xc8
push 0
push esi
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [edi + 0x10], esi
test esi, esi
je 0x1005d548
mov word [esi + 0x1c], bx
mov eax, dword [edi]
mov dword [esi], eax
mov word [esi + 0x44], bx
mov eax, dword [edi]
mov dword [esi + 0x28], eax
mov word [esi + 0x6c], bx
mov eax, dword [edi]
mov dword [esi + 0x50], eax
mov word [esi + 0x94], bx
mov eax, dword [edi]
mov dword [esi + 0x78], eax
mov word [esi + 0xbc], bx
mov eax, dword [edi]
mov dword [esi + 0xa0], eax
mov eax, dword [edi]
cmp byte [eax + 0x1e], 0
jne 0x1005d7fa
mov esi, dword [edi + 0x10]
mov ebx, dword [esi]
test ebx, ebx
je 0x1005d562
mov eax, dword [ebx + 0x48]
jmp 0x1005d567
mov eax, 0x3b9aca00
xor edi, edi
test eax, eax
js 0x1005d57e
lea ecx, [ecx]
cmp byte [edi + str.rows_updated], 0
je 0x1005d57e
inc edi
cmp edi, eax
jle 0x1005d570
xor eax, eax
cmp eax, fcn.10045340
movzx eax, word [esi + 0x1c]
jne 0x1005d6b8
test eax, 0x2460
je 0x1005d69d
test eax, 0x2000
je 0x1005d62c
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1005d621
mov eax, dword [eax + 0x14]
mov dword [ebp + 8], eax
test eax, eax
je 0x1005d621
push 0x40
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, 1
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0x8c], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0x80], esi
call dword [ebp + 8]
push dword [esi + 0x24]
push dword [esi]
call fcn.10045340
movdqu xmm0, xmmword [ebp - 0xa8]
add esp, 0x18
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [ebp - 0x98]
movdqu xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [esi + 0x20], xmm0
push esi
call fcn.10068060
add esp, 4
jmp 0x1005d69d
test eax, 0x400
je 0x1005d64b
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1005d64b
push dword [esi + 4]
call ecx
add esp, 4
mov dword [esi + 0x20], 0
jmp 0x1005d69d
test al, 0x20
je 0x1005d65c
push dword [esi + 0x10]
call fcn.10057520
add esp, 4
jmp 0x1005d69d
test al, 0x40
je 0x1005d69d
mov edx, dword [esi + 0x10]
mov ecx, dword [edx]
mov eax, dword [ecx + 0xac]
mov dword [edx + 0x3c], eax
mov dword [ecx + 0xac], edx
test byte [esi + 0x1c], 0x20
je 0x1005d685
push dword [esi + 0x10]
call fcn.10057520
add esp, 4
mov ax, word [esi + 0x1c]
mov ecx, 0xbf01
and ax, cx
mov byte [esi + 0x1e], 5
or ax, 1
mov word [esi + 0x1c], ax
push dword [esi + 0x24]
push dword [esi]
call fcn.10045340
mov dword [esi + 0x24], str.rows_updated
mov eax, 0x202
jmp 0x1005d7dc
test eax, 0x2460
je 0x1005d7c6
test eax, 0x2000
je 0x1005d755
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1005d74a
mov eax, dword [eax + 0x14]
mov dword [ebp + 8], eax
test eax, eax
je 0x1005d74a
push 0x40
lea eax, [ebp - 0xb0]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, 1
mov dword [ebp - 0xa8], ebx
mov word [ebp - 0x8c], ax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb0]
push eax
mov dword [ebp - 0x80], esi
call dword [ebp + 8]
push dword [esi + 0x24]
push dword [esi]
call fcn.10045340
movdqu xmm0, xmmword [ebp - 0xa8]
add esp, 0x18
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [ebp - 0x98]
movdqu xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [esi + 0x20], xmm0
push esi
call fcn.10068060
add esp, 4
jmp 0x1005d7c6
test eax, 0x400
je 0x1005d774
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1005d774
push dword [esi + 4]
call ecx
add esp, 4
mov dword [esi + 0x20], 0
jmp 0x1005d7c6
test al, 0x20
je 0x1005d785
push dword [esi + 0x10]
call fcn.10057520
add esp, 4
jmp 0x1005d7c6
test al, 0x40
je 0x1005d7c6
mov edx, dword [esi + 0x10]
mov ecx, dword [edx]
mov eax, dword [ecx + 0xac]
mov dword [edx + 0x3c], eax
mov dword [ecx + 0xac], edx
test byte [esi + 0x1c], 0x20
je 0x1005d7ae
push dword [esi + 0x10]
call fcn.10057520
add esp, 4
mov ax, word [esi + 0x1c]
mov ecx, 0xbf01
and ax, cx
mov byte [esi + 0x1e], 5
or ax, 1
mov word [esi + 0x1c], ax
push dword [esi + 0x24]
push dword [esi]
call fcn.10045340
mov dword [esi + 0x24], 0
mov eax, 0xa02
mov dword [esi + 0x20], 0
add esp, 8
mov dword [esi + 4], str.rows_updated
mov dword [esi + 0x18], edi
mov word [esi + 0x1c], ax
mov word [esi + 0x1e], 0x103
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
je 0x1005d816
mov eax, dword [ebp - 0x70]
mov dword [ecx + 0x204], eax
push edx
push ebx
call fcn.10045340
push esi
push ebx
call fcn.10045340
push dword [ebp - 0x58]
push ebx
call fcn.1005a1f0
push edi
push ebx
call fcn.100497b0
push dword [ebp + 0x14]
push ebx
call fcn.10048e60
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edx, edx
mov ebx, dword [ebp - 0x1c]
jmp 0x1005d800
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
jmp 0x1005d806