Function at 0x476ed0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x114
push ebx
mov ebx, dword [esp + 0x11c]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x12c]
push esi
cmp dword [ebx + 0x24], 0
mov esi, dword [esp + 0x128]
mov dword [esp + 0xe0], eax
mov eax, dword [ebx]
push edi
mov edi, dword [esp + 0x130]
mov dword [esp + 0xa4], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0x6c], 0xffffffff
mov dword [esp + 0xa0], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0xac], 1
mov dword [esp + 0xbc], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0x68], eax
jne 0x479465
cmp byte [eax + 0x53], 0
jne 0x479465
push esi
push ebx
call fcn.00474cf0
mov ebp, eax
add esp, 8
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x47945e
mov ecx, dword [ebp + 0x48]
mov dword [esp + 0x3c], 0xffff8000
test ecx, ecx
je 0x477013
mov eax, dword [ebx]
xor esi, esi
mov dword [esp + 0x3c], esi
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x47700c
jmp 0x477000
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x477000
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x12c]
lea eax, [esp + 0xb8]
push eax
push edi
push 0x80
push ebp
push ebx
call fcn.00476a20
add esp, 0x14
mov dword [esp + 0x54], eax
cmp dword [esi], 1
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x50], eax
jle 0x477043
mov esi, dword [edi]
mov dword [esp + 0x28], esi
jmp 0x47704b
mov dword [esp + 0x28], 0
push ebp
push ebx
call fcn.00487590
add esp, 8
test eax, eax
jne 0x47945e
push dword [esp + 0xb8]
push ebp
push ebx
call fcn.00465490
add esp, 0xc
test eax, eax
jne 0x47945e
mov esi, dword [ebx + 0x28]
mov edx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x98], edx
lea eax, [esi + 1]
mov dword [ebx + 0x28], eax
test byte [ebp + 0x24], 0x80
mov dword [esp + 0x84], eax
jne 0x4770a3
mov dword [esp + 0x2c], 0
jmp 0x4770b7
push ebp
call fcn.0046e660
mov dword [esp + 0x30], eax
add esp, 4
mov eax, dword [esp + 0x84]
mov ecx, dword [ebp + 8]
xor edi, edi
mov dword [esp + 0x80], edi
test ecx, ecx
je 0x4770f9
mov edx, eax
lea esp, [esp]
cmp dword [esp + 0x2c], ecx
mov eax, edx
cmovne eax, esi
inc edx
mov dword [ebx + 0x28], edx
inc edi
mov ecx, dword [ecx + 0x14]
mov esi, eax
test ecx, ecx
jne 0x4770d0
mov edx, dword [esp + 0x98]
mov dword [esp + 0x80], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x144]
test eax, eax
je 0x477118
mov esi, dword [eax + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x84], eax
mov dword [ebx + 0x28], edx
mov ecx, dword [esp + 0x12c]
push 0
mov dword [ecx + 0x34], esi
movsx eax, word [ebp + 0x2a]
add eax, edi
lea eax, [eax*4 + 6]
add eax, edi
push eax
push dword [esp + 0x70]
call fcn.00455fb0
mov esi, eax
add esp, 0xc
mov dword [esp + 0x20], esi
test esi, esi
je 0x47945e
movsx eax, word [ebp + 0x2a]
lea eax, [esi + eax*4]
lea ecx, [eax + 4]
mov dword [esp + 0x7c], eax
lea eax, [edi + 1]
push eax
lea ecx, [ecx + edi*4]
push 1
push ecx
mov dword [esp + 0x7c], ecx
call fcn.004ac5e0
mov eax, dword [esp + 0x7c]
add esp, 0xc
xor ecx, ecx
mov byte [eax + edi + 1], 0
xor eax, eax
cmp ax, word [ebp + 0x2a]
jge 0x4771a0
jmp 0x477190
mov dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebp + 0x2a]
cmp ecx, eax
jl 0x477190
mov eax, dword [esp + 0x12c]
mov ecx, dword [esp + 0x144]
mov dword [esp + 0x108], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x104], ebx
mov dword [esp + 0x10c], ecx
mov dword [esp + 0x11c], 0x200
mov dword [esp + 0x10], eax
test eax, eax
jne 0x47722b
cmp dword [ebx + 0x74], eax
jne 0x477216
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x477216
mov byte [ebx + 0x17], 1
push ebx
call fcn.0047aac0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x477555
mov ecx, dword [esp + 0x130]
xor edi, edi
xor al, al
mov byte [esp + 0x33], 0
mov byte [esp + 0x17], al
mov dword [esp + 0x58], edi
cmp dword [ecx], edi
jle 0x477449
lea esi, [ecx + 4]
mov dword [esp + 0x40], esi
cmp dword [esp + 0x28], 0
jne 0x477273
push dword [esi]
lea eax, [esp + 0x108]
push eax
call fcn.0046f6a0
add esp, 8
test eax, eax
jne 0x477551
movsx eax, word [ebp + 0x2a]
xor ebx, ebx
test eax, eax
jle 0x477311
mov ecx, dword [ebp + 4]
mov ebp, ecx
mov dword [esp + 0x94], ecx
lea ecx, [ecx]
mov edx, dword [ebp]
mov edi, dword [esi + 4]
mov dword [esp + 0x64], edx
sub edi, edx
lea esp, [esp]
movzx eax, byte [edx]
movzx esi, byte [edx + edi]
cmp eax, esi
jne 0x4772e2
test eax, eax
jne 0x4772f4
mov ebp, dword [esp + 0x1c]
movsx eax, word [ebp + 0x28]
cmp ebx, eax
jne 0x477385
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x58]
mov byte [esp + 0x17], 1
mov dword [esp + 0x6c], edi
mov eax, dword [esi]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x20]
mov dword [eax + ebx*4], edi
jmp 0x477311
movzx ecx, byte [eax + 0x4cf118]
movzx eax, byte [esi + 0x4cf118]
sub ecx, eax
jne 0x4772f7
inc edx
jmp 0x4772a0
mov ecx, dword [esp + 0x1c]
inc ebx
mov esi, dword [esp + 0x40]
add ebp, 0x14
movsx eax, word [ecx + 0x2a]
cmp ebx, eax
jl 0x477290
mov edi, dword [esp + 0x58]
mov ebp, ecx
movsx eax, word [ebp + 0x2a]
cmp ebx, eax
jl 0x4773d8
cmp dword [esp + 0x2c], 0
jne 0x477575
mov esi, dword [esi + 4]
push str._ROWID_
push esi
call fcn.00475700
add esp, 8
test eax, eax
je 0x477365
push str.ROWID
push esi
call fcn.00475700
add esp, 8
test eax, eax
je 0x477365
push 0x4d32b8
push esi
call fcn.00475700
add esp, 8
test eax, eax
jne 0x477575
mov esi, dword [esp + 0x40]
or ebx, 0xffffffff
mov byte [esp + 0x17], 1
mov edx, str.ROWID
mov dword [esp + 0x6c], edi
mov eax, dword [esi]
mov dword [esp + 0xa8], eax
jmp 0x4773ec
cmp dword [esp + 0x2c], 0
mov ecx, dword [esp + 0x94]
je 0x4773b6
lea eax, [ebx + ebx*4]
test byte [ecx + eax*4 + 0x10], 1
je 0x4773b6
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
mov byte [esp + 0x33], 1
mov dword [eax + ebx*4], edi
jmp 0x477311
lea eax, [ebx + ebx*4]
test byte [ecx + eax*4 + 0x10], 0x60
jne 0x477539
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x40]
mov dword [eax + ebx*4], edi
jmp 0x477311
test ebx, ebx
jns 0x4773e3
mov edx, str.ROWID
jmp 0x4773ec
mov eax, dword [ebp + 4]
lea ecx, [ebx + ebx*4]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x3c]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push edx
push dword [ebp]
push 0x17
push dword [esp + 0x138]
call fcn.0044ccf0
add esp, 0x14
cmp eax, 1
je 0x477551
cmp eax, 2
jne 0x47742a
mov eax, dword [esp + 0x20]
mov dword [eax + ebx*4], 0xffffffff
mov ecx, dword [esp + 0x130]
inc edi
add esi, 0x14
mov dword [esp + 0x58], edi
mov dword [esp + 0x40], esi
cmp edi, dword [ecx]
jl 0x477252
mov al, byte [esp + 0x17]
mov bh, byte [esp + 0x33]
add bh, al
test byte [ebp + 0x24], 0x60
mov byte [esp + 0x78], bh
je 0x47752b
movzx eax, word [ebp + 0x2a]
xor ecx, ecx
xor ebx, ebx
xor esi, esi
cmp cx, ax
jge 0x477527
xor edi, edi
mov ecx, dword [esp + 0x20]
cmp dword [ecx + esi*4], 0
jge 0x47750a
mov eax, dword [ebp + 4]
test byte [eax + edi + 0x10], 0x60
je 0x47750a
mov eax, dword [eax + edi + 4]
xor edx, edx
mov dword [esp + 0xc8], edx
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], edx
mov dword [esp + 0xdc], edx
mov dword [esp + 0xcc], 0x427740
mov dword [esp + 0xe0], ecx
test eax, eax
je 0x4774e2
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.0049b300
mov ecx, dword [esp + 0x28]
add esp, 8
cmp byte [esp + 0x17], 0
mov ax, word [esp + 0xdc]
jne 0x4774f9
mov edx, 0xfffd
and ax, dx
test ax, ax
je 0x47750a
mov dword [ecx + esi*4], 0x1869f
mov ebx, 1
movzx eax, word [ebp + 0x2a]
inc esi
mov ecx, eax
add edi, 0x14
cwde
cmp esi, eax
jl 0x477472
mov eax, ecx
test ebx, ebx
jne 0x477461
mov bh, byte [esp + 0x78]
cmp dword [ebp + 0x38], 0
je 0x47759e
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4775a2
push dword [esp + 0x64]
push str.cannot_UPDATE_generated_column___s_
push dword [esp + 0x130]
call fcn.00457ce0
add esp, 0xc
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x68]
cmp dword [eax + 0x200], 0
je 0x4793c9
push esi
push eax
call fcn.0043b030
add esp, 8
jmp 0x47945e
mov ecx, dword [esp + 0x130]
lea eax, [edi + edi*4]
mov ebx, dword [esp + 0x128]
push dword [ecx + eax*4 + 8]
push str.no_such_column:__s
push ebx
call fcn.00457ce0
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x477551
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x12c]
mov dword [edx + 0x40], eax
movzx eax, bh
push eax
push dword [esp + 0x24]
mov dword [edx + 0x44], ecx
push ebp
push dword [esp + 0x134]
mov dword [esp + 0xa4], eax
call fcn.0045f540
mov ebp, eax
add esp, 0x10
cmp dword [esp + 0x138], 5
mov ecx, 1
mov eax, dword [esp + 0x74]
cmove eax, ecx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x74], eax
xor edi, edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], edi
mov esi, dword [eax + 8]
test esi, esi
je 0x4777e4
mov ebx, dword [esp + 0x70]
inc ebx
mov dword [esp + 0x4c], ebx
lea ecx, [ecx]
cmp byte [esp + 0x78], 0
jne 0x477799
cmp ebp, 1
jg 0x477799
cmp esi, dword [esp + 0x2c]
je 0x477799
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4776a1
xor ecx, ecx
mov dword [esp + 0xcc], 0x427740
push eax
lea eax, [esp + 0xcc]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0xe8], ecx
call fcn.0049b300
mov ax, word [esp + 0xe4]
add esp, 8
cmp byte [esp + 0x17], 0
jne 0x477698
mov ecx, 0xfffd
and ax, cx
test ax, ax
jne 0x477799
xor eax, eax
xor ebp, ebp
xor edi, edi
cmp ax, word [esi + 0x32]
jae 0x4777b3
xor ebx, ebx
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x4776ce
mov ecx, dword [esp + 0x20]
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x477744
mov eax, dword [esi + 0x28]
xor ecx, ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ecx
mov eax, dword [eax + ebx + 4]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xec], 0x427740
mov dword [esp + 0x100], ecx
test eax, eax
je 0x477725
push eax
lea eax, [esp + 0xec]
push eax
call fcn.0049b300
add esp, 8
cmp byte [esp + 0x17], 0
mov cx, word [esp + 0xfc]
jne 0x47773c
mov eax, 0xfffd
and cx, ax
xor eax, eax
test cx, cx
setne al
test eax, eax
jne 0x47775e
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x14
cmp edi, eax
jl 0x4776b3
mov ebx, dword [esp + 0x4c]
jmp 0x4777b3
mov ecx, dword [esp + 0x128]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x88]
inc dword [ecx + 0x2c]
movzx eax, word [esi + 0x34]
mov ebp, dword [ecx + 0x2c]
add eax, ebp
cmp dword [esp + 0x138], 0xb
mov dword [ecx + 0x2c], eax
jne 0x4777af
cmp byte [esi + 0x36], 5
jne 0x4777af
mov dword [esp + 0x74], 1
jmp 0x4777af
mov ecx, dword [esp + 0x128]
inc dword [ecx + 0x2c]
movzx eax, word [esi + 0x34]
mov ebp, dword [ecx + 0x2c]
add eax, ebp
mov dword [ecx + 0x2c], eax
test ebp, ebp
jne 0x4777bd
mov edi, dword [esp + 0x88]
mov byte [ebx], 0
mov eax, dword [esp + 0x7c]
inc ebx
mov dword [esp + 0x4c], ebx
mov dword [eax + edi*4], ebp
inc edi
mov esi, dword [esi + 0x14]
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x88], edi
test esi, esi
jne 0x477610
mov bh, byte [esp + 0x78]
mov esi, dword [esp + 0x128]
mov ecx, dword [esp + 0x7c]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [ecx + edi*4], eax
cmp dword [esp + 0x74], 0
je 0x477816
mov eax, dword [esp + 0x80]
inc eax
push eax
push 1
push dword [esp + 0x78]
call fcn.004ac5e0
add esp, 0xc
cmp byte [esi + 0x12], 0
jne 0x477827
mov eax, dword [esp + 0x10]
or dword [eax + 0x98], 0x10
cmp dword [esp + 0x54], 0
jne 0x477836
test ebp, ebp
jne 0x477836
xor bl, bl
jmp 0x477838
mov bl, 1
mov eax, dword [esi + 0x74]
test eax, eax
mov ecx, dword [esp + 0x3c]
cmovne esi, eax
mov eax, 1
shl eax, cl
mov edx, dword [esi + 0x54]
test edx, eax
jne 0x47786a
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x47786a
push esi
call fcn.00467ab0
mov ecx, dword [esp + 0x40]
add esp, 4
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x1c]
bts eax, ecx
or byte [esi + 0x14], bl
mov dword [esi + 0x50], eax
cmp dword [edx + 0x38], 0
jne 0x477901
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x128]
mov dword [esp + 0x90], eax
mov esi, dword [edi + 0x2c]
inc esi
cmp byte [esp + 0x33], 0
mov dword [esp + 0x48], esi
mov dword [edi + 0x2c], esi
mov dword [esp + 0x24], esi
jne 0x4778bd
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4778bd
mov ecx, esi
test ebp, ebp
je 0x4778d4
movsx ecx, word [edx + 0x2a]
lea eax, [esi + 1]
add ecx, esi
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0x2c], ecx
test bh, bh
jne 0x4778e0
test eax, eax
jne 0x4778e0
test ebp, ebp
je 0x4778ec
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
mov ecx, eax
mov dword [edi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0x8c], eax
movsx eax, word [edx + 0x2a]
add eax, ecx
mov dword [edi + 0x2c], eax
jmp 0x477908
mov edi, dword [esp + 0x128]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x477930
mov eax, dword [edi + 0xf0]
mov dword [esp + 0xc0], eax
mov eax, dword [edx]
mov dword [edi + 0xf0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xe4], edi
cmp dword [esp + 0x28], 0
jne 0x47799f
test eax, eax
je 0x477967
push dword [esp + 0x18]
mov ebx, dword [esp + 0x138]
push dword [esp + 0x144]
push dword [esp + 0x144]
push ebx
push edx
push edi
call fcn.00467160
add esp, 0x18
xor ebp, ebp
mov dword [esp + 0x64], ebp
jmp 0x477980
mov ebx, dword [esp + 0x140]
mov ebp, dword [esp + 0x13c]
mov dword [esp + 0x64], ebx
mov ebx, dword [esp + 0x134]
lea eax, [esp + 0x104]
push ebx
push eax
call fcn.0046f6a0
add esp, 8
test eax, eax
jne 0x4793a4
mov edx, dword [esp + 0x1c]
jmp 0x4779b8
mov eax, dword [esp + 0x140]
mov ebp, dword [esp + 0x13c]
mov ebx, dword [esp + 0x134]
mov dword [esp + 0x64], eax
cmp dword [edx + 0x38], 0
je 0x4779f0
push dword [esp + 0x138]
mov esi, dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0xb0]
push esi
push ebx
push dword [esp + 0x140]
push edx
push dword [esp + 0x144]
push edi
call fcn.00493b80
add esp, 0x20
jmp 0x4793a8
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x477aa0
cmp dword [edi + 0x78], 0
jne 0x477aa0
cmp byte [edi + 0x12], 0
jne 0x477aa0
cmp byte [edi + 0x91], 0
jne 0x477aa0
cmp dword [esp + 0x144], 0
mov ebx, dword [esp + 0x10]
jne 0x477aa4
inc dword [edi + 0x2c]
mov ecx, dword [ebx + 0x6c]
mov esi, dword [edi + 0x2c]
mov dword [esp + 0xbc], esi
cmp dword [ebx + 0x70], ecx
jg 0x477a68
push 0
push esi
push 0
push 0x45
push ebx
call fcn.00437ce0
mov edx, dword [esp + 0x30]
add esp, 0x14
jmp 0x477aa4
mov edi, dword [esp + 0x128]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
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 0x477aa4
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x477b80
test byte [edx + 0x24], 0x80
jne 0x477b80
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esp + 0x90]
cmp dword [ebx + 0x70], ecx
jg 0x477ae3
push dword [esp + 0x24]
push edx
push esi
push 0x48
push ebx
call fcn.00437ce0
mov edx, dword [esp + 0xa4]
add esp, 0x14
jmp 0x477b12
mov esi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x28]
mov dword [esp + 0x34], esi
lea eax, [esi + 1]
mov dword [edi + 0x28], eax
mov edi, dword [ebx + 0x6c]
mov dword [esp + 0x4c], edi
cmp dword [ebx + 0x70], edi
jg 0x477b42
push edx
push 0
push esi
push 0x65
push ebx
call fcn.00437ce0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x4c], edi
jmp 0x477b6d
lea eax, [edi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x65
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x144], 0
je 0x477d51
jmp 0x477e90
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x477b8e
movzx ebx, word [eax + 0x32]
jmp 0x477b90
xor ebx, ebx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x9c], ebx
movsx ebx, bx
lea ecx, [eax + 1]
inc eax
add eax, ebx
mov dword [esp + 0x5c], ecx
add eax, esi
cmp dword [esp + 0x144], 0
mov dword [esp + 0x44], eax
mov dword [edi + 0x2c], eax
jne 0x477e37
cmp dword [esp + 0x50], 0
je 0x477bcb
movsx eax, word [edx + 0x2a]
jmp 0x477bcd
xor eax, eax
mov edx, dword [edi + 0x28]
lea esi, [eax + ebx]
add esi, dword [esp + 0x28]
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x34], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
mov edi, dword [esp + 0x10]
je 0x477c44
lea edx, [ecx - 1]
mov ecx, dword [edi + 0x6c]
add edx, ebx
cmp dword [edi + 0x70], ecx
jg 0x477c0d
push edx
push dword [esp + 0x60]
push 0
push 0x48
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x477c40
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x5c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x48
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov edi, dword [edi + 0x6c]
mov dword [esp + 0x4c], edi
cmp dword [ecx + 0x70], edi
jg 0x477c6b
push 0
push esi
push edx
push 0x65
push ecx
call fcn.00437ce0
mov edi, eax
add esp, 0x14
mov dword [esp + 0x4c], edi
jmp 0x477c9e
lea eax, [edi + 1]
mov dword [ecx + 0x6c], eax
lea ecx, [edi + edi*4]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
mov eax, dword [eax + 0x68]
mov dword [eax + ecx*4], 0x65
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x477cfe
push eax
push dword [esp + 0x12c]
call fcn.00465a00
mov edx, eax
add esp, 8
test edx, edx
je 0x477cfa
mov word [edx + 8], si
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
cmp byte [eax + 0x53], 0
je 0x477ce8
cmp dword [eax + 0x200], 0
jne 0x477cfa
add dword [edx], 0xffffffff
jne 0x477cfa
push edx
push dword [edx + 0xc]
call fcn.00455ea0
add esp, 8
jmp 0x477cfa
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
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x28], 0
je 0x477d49
push dword [esp + 0x64]
mov ecx, dword [esp + 0x130]
push ebp
push dword [esp + 0x13c]
mov ebp, dword [esp + 0x40]
push ecx
push dword [esp + 0x140]
push eax
push ebp
push dword [esp + 0x144]
call fcn.00492a70
add esp, 0x20
cmp dword [esp + 0x50], 0
je 0x477e51
mov dword [esp + 0x18], ebp
jmp 0x477e51
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x128]
mov eax, 4
cmp byte [ecx + 0x12], 0
jne 0x477d85
cmp dword [esp + 0x54], 0
jne 0x477d85
cmp dword [esp + 0x58], 0
jne 0x477d85
cmp byte [esp + 0x78], 0
jne 0x477d85
cmp dword [esp + 0x74], 0
mov edx, 0xc
cmove eax, edx
push dword [esp + 0x84]
push eax
push 0
push 0
push dword [esp + 0x144]
push dword [esp + 0x140]
push ecx
call fcn.00489900
add esp, 0x1c
mov dword [esp + 0xb0], eax
test eax, eax
je 0x4793a4
movzx edx, byte [eax + 0x2e]
mov ecx, dword [eax + 0x14]
mov ebp, dword [eax + 0x18]
mov eax, dword [eax + 0x30]
and eax, 1
mov dword [esp + 0x40], ecx
mov dword [esp + 0x64], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0xac], eax
cmp edx, 1
je 0x477ee0
mov ecx, dword [esp + 0x128]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
cmp edx, 2
mov edx, dword [esp + 0x18]
mov byte [ecx + 0x14], 1
jne 0x477ee4
test ebp, ebp
js 0x477ee4
cmp ebp, edx
je 0x477ee4
mov ecx, dword [esp + 0x70]
mov eax, ebp
sub eax, dword [esp + 0x98]
cmp byte [eax + ecx], 0
je 0x477ee4
mov dword [esp + 0x38], 0
jmp 0x477ee4
mov edx, dword [esp + 0x18]
xor esi, esi
xor edi, edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x18], edx
cmp dword [esp + 0x28], esi
je 0x477e8c
mov ecx, dword [esp + 0x128]
mov ebp, dword [esp + 0xc4]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0xc0]
mov eax, dword [ecx + 0x74]
test eax, eax
cmovne ecx, eax
xor eax, eax
mov dword [esp + 0x38], eax
mov byte [ecx + 0x14], 1
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x44], ecx
jmp 0x4781d8
mov ebx, dword [esp + 0x10]
push 0x10
push dword [esp + 0x40]
mov dword [esp + 0xb8], 0
push dword [esp + 0x13c]
mov dword [esp + 0x44], 1
push dword [esp + 0x134]
call fcn.0045b9f0
mov ebp, dword [esp + 0xd4]
add esp, 0x10
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xac], 0
mov dword [esp + 0x64], ebp
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 0x80
jne 0x478020
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x477f11
push 0
push dword [esp + 0x28]
push edx
push 0x82
push ebx
call fcn.00437ce0
add esp, 0x14
jmp 0x477f44
mov ebp, dword [esp + 0x64]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x477fd4
mov edx, dword [esp + 0x128]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x10]
inc dword [edx + 0x2c]
mov eax, dword [edx + 0x2c]
mov edx, dword [esp + 0x7c]
mov dword [edx + ecx*4], eax
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x90]
cmp dword [edi + 0x70], ecx
jg 0x477f9c
push dword [esp + 0x24]
push edx
push esi
push 0x7b
push edi
call fcn.00437ce0
mov ebx, dword [esp + 0x54]
add esp, 0x14
mov eax, dword [esp + 0x38]
jmp 0x4781dc
mov ebx, dword [esp + 0x40]
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 + 0x24]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x38]
jmp 0x4781dc
test edi, edi
je 0x4781d4
mov edx, dword [ebx]
cmp byte [edx + 0x53], 0
jne 0x4781d4
lea ecx, [edi + edi*4]
mov edi, dword [esp + 0x10]
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.004350e0
mov ebx, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov word [esi], 0xb0
mov dword [esi + 0x10], 0
jmp 0x4781dc
mov eax, dword [esp + 0x9c]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x478067
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
add eax, esi
push eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push edx
push edi
push ebp
call fcn.00459050
mov edx, dword [esp + 0x2c]
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x478038
mov edi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x64]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4780e4
test edi, edi
je 0x4780c8
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
cmp byte [edx + 0x53], 0
jne 0x4780c4
lea ecx, [edi + edi*4]
mov edi, eax
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.004350e0
mov ecx, dword [esp + 0x68]
add esp, 0xc
mov eax, dword [esp + 0x38]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x40]
mov word [esi], 0xb0
mov dword [esi + 0x10], 0
mov dword [esp + 0x44], ecx
jmp 0x4781dc
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0xa0], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x44], ecx
jmp 0x4781dc
push dword [esp + 0x2c]
push dword [esp + 0x6c]
call fcn.00463670
mov edi, dword [esp + 0x18]
add esp, 8
mov esi, eax
mov edx, dword [edi + 0x6c]
cmp dword [edi + 0x70], edx
jg 0x47811a
push dword [esp + 0x44]
push ebx
push dword [esp + 0x64]
push 0x5c
push edi
call fcn.00437ce0
add esp, 0x14
mov edx, eax
jmp 0x47814d
mov ebp, dword [esp + 0x5c]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], ebp
mov ebp, dword [esp + 0x64]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x478167
cmp ebx, 0xfffffff4
je 0x4781af
push esi
push ebx
push eax
call fcn.004350e0
add esp, 0xc
jmp 0x4781af
test edx, edx
jns 0x47816f
mov edx, dword [edi + 0x6c]
dec edx
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
test ebx, ebx
jns 0x4781a3
cmp byte [eax + 1], 0
jne 0x4781a3
cmp ebx, 0xfffffffd
jne 0x47818f
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
jmp 0x4781af
test esi, esi
je 0x4781af
mov dword [eax + 0x10], esi
mov byte [eax + 1], bl
cmp ebx, 0xfffffff4
jne 0x4781af
inc dword [esi + 0xc]
jmp 0x4781af
push ebx
push esi
push eax
push edi
call fcn.00494b80
add esp, 0x10
push ebx
push dword [esp + 0x60]
push dword [esp + 0x4c]
push dword [esp + 0x40]
push 0x85
push edi
call fcn.0047a300
mov ebx, dword [esp + 0x58]
add esp, 0x18
mov eax, dword [esp + 0x38]
jmp 0x4781dc
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x144], 0
jne 0x47838b
cmp dword [esp + 0x28], 0
jne 0x478205
cmp eax, 2
je 0x478205
push dword [esp + 0xb0]
call fcn.0048c710
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x47830b
mov ecx, dword [esp + 0x38]
xor esi, esi
test ecx, ecx
je 0x4782ae
mov edx, dword [esp + 0x70]
test ebx, ebx
js 0x478234
mov eax, ebx
sub eax, dword [esp + 0x98]
mov byte [eax + edx], 0
test ebp, ebp
js 0x478245
mov eax, ebp
sub eax, dword [esp + 0x98]
mov byte [eax + edx], 0
cmp ecx, 2
jne 0x4782ae
mov ecx, dword [esp + 0x80]
xor eax, eax
test ebp, ebp
setns al
sub ecx, eax
test ecx, ecx
jle 0x4782ae
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x47827b
push 0
push 0
push 0
push 0x11
push edi
call fcn.00437ce0
add esp, 0x14
mov esi, eax
jmp 0x4782ae
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
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
push 0
push 0
push dword [esp + 0x78]
push dword [esp + 0xa4]
push 0
push 0x62
push dword [esp + 0x34]
push dword [esp + 0x144]
call fcn.004678b0
add esp, 0x20
test esi, esi
je 0x478307
mov edx, dword [edi + 0x6c]
lea eax, [edx - 1]
cmp esi, eax
jne 0x4782e7
mov dword [edi + 0x6c], eax
jmp 0x478307
test esi, esi
cmovs esi, eax
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x4782fb
mov eax, 0x4e89a4
jmp 0x478304
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x38]
test esi, esi
je 0x478456
test eax, eax
jne 0x478346
mov eax, dword [esp + 0x18]
cmp ebx, eax
je 0x478346
mov ebx, dword [esp + 0x3c]
cmp ebp, eax
mov ebp, dword [esp + 0x44]
je 0x47834e
push dword [esp + 0xa0]
push ebp
push ebx
push eax
push 0x1d
push edi
call fcn.0047a300
add esp, 0x18
jmp 0x47834e
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
cmp esi, 1
je 0x478364
mov eax, dword [esp + 0x128]
dec dword [eax + 0x38]
mov esi, dword [eax + 0x38]
mov dword [esp + 0x60], esi
cmp dword [esp + 0x2c], 0
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x6c]
cmovne edx, ebp
cmp dword [edi + 0x70], ecx
jg 0x478426
push 0
push ebx
push edx
push 0x32
push edi
call fcn.00437ce0
add esp, 0x14
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x128]
cmp byte [esp + 0x17], 0
je 0x47883b
mov esi, dword [esp + 0x48]
test eax, eax
jne 0x4787c1
cmp dword [ebp + 8], eax
je 0x478405
mov ebx, dword [esp + 0xa8]
push esi
push ebx
push ebp
call fcn.0045a0d0
mov edi, eax
add esp, 0xc
cmp edi, esi
je 0x478401
mov edx, dword [ebx + 4]
mov esi, dword [ebp + 8]
and edx, 0x200000
neg edx
sbb edx, edx
mov ecx, dword [esi + 0x6c]
add edx, 0x4e
cmp dword [esi + 0x70], ecx
jg 0x47878e
mov ebx, dword [esp + 0x48]
push 0
push ebx
push edi
push edx
push esi
call fcn.00437ce0
add esp, 0x14
mov esi, ebx
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47880c
push 0
push 0
push esi
push 0xf
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x47883b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x32
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 0x47838b
mov esi, dword [esp + 0x2c]
test esi, esi
jne 0x478585
cmp dword [esp + 0x28], esi
jne 0x478585
mov ecx, dword [edi + 0x6c]
mov ebx, dword [esp + 0x34]
cmp dword [edi + 0x70], ecx
jg 0x47848b
push esi
push dword [esp + 0x40]
push ebx
push 0x25
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x4784ba
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], ebx
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 + 0x128]
dec dword [ebp + 0x38]
mov ecx, dword [edi + 0x6c]
mov esi, dword [ebp + 0x38]
mov dword [esp + 0x60], esi
mov dword [esp + 0xa4], ecx
cmp dword [edi + 0x70], ecx
jg 0x4784fc
push 0
push dword [esp + 0x28]
push ebx
push 0x82
push edi
call fcn.00437ce0
mov edx, dword [esp + 0x38]
add esp, 0x14
mov dword [esp + 0xa4], eax
jmp 0x47852b
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47854d
push edx
push esi
push dword [esp + 0x20]
push 0x20
push edi
call fcn.00437ce0
mov eax, dword [esp + 0x3c]
add esp, 0x14
jmp 0x47839a
mov edx, dword [esp + 0x18]
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], esi
mov esi, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
jmp 0x47839a
mov eax, dword [esp + 0x128]
mov ebx, dword [esp + 0x34]
dec dword [eax + 0x38]
mov ecx, dword [edi + 0x6c]
mov ebp, dword [eax + 0x38]
mov dword [esp + 0x60], ebp
cmp dword [edi + 0x70], ecx
jg 0x4785b6
push 0
push dword [esp + 0x40]
push ebx
push 0x25
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x4785e5
mov edx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0xa4], ecx
test eax, eax
je 0x478728
cmp dword [esp + 0x50], 0
jne 0x478393
test esi, esi
je 0x478692
mov eax, dword [esp + 0x9c]
xor esi, esi
movsx edi, ax
test edi, edi
jle 0x478674
mov ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, dword [ebp + 0x6c]
add edx, esi
cmp dword [ebp + 0x70], ecx
jg 0x478640
push edx
push esi
push ebx
push 0x5a
push ebp
call fcn.00437ce0
add esp, 0x14
jmp 0x47866b
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebp + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebp + 0x68]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
inc esi
cmp esi, edi
jl 0x478622
mov ebp, dword [esp + 0x60]
push edi
push dword [esp + 0x60]
mov edi, dword [esp + 0x18]
push ebp
push dword [esp + 0x24]
push 0x1d
push edi
call fcn.0047a300
add esp, 0x18
jmp 0x47838f
mov esi, dword [esp + 0x24]
cmp dword [edi + 0x70], ecx
jg 0x4786af
push 0
push esi
push ebx
push 0x82
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x4786da
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4786f8
push esi
push ebp
push dword [esp + 0x20]
push 0x20
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x47838f
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x47838f
cmp dword [edi + 0x70], ecx
jg 0x478744
push 0
push dword [esp + 0x48]
push ebx
push 0x81
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x478773
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x81
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push 0
push dword [esp + 0x48]
push ebp
push dword [esp + 0x24]
push 0x1d
push edi
call fcn.0047a300
add esp, 0x18
jmp 0x47838f
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov esi, dword [esp + 0x48]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x478401
mov ecx, dword [edi + 0x6c]
mov edx, dword [esp + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4787e0
push esi
push edx
push ebx
push 0x5a
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x478405
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x478405
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], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x33], 0
jne 0x4788f7
cmp dword [esp + 0x58], 0
jne 0x478902
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4789d6
xor ebp, ebp
push dword [esp + 0x138]
push dword [esp + 0x20]
push 3
push 0
push dword [esp + 0x140]
push dword [esp + 0x68]
push dword [esp + 0x140]
call fcn.00475bf0
mov ecx, dword [esp + 0x38]
or ebp, eax
xor eax, eax
add esp, 0x1c
xor esi, esi
cmp ax, word [ecx + 0x2a]
jge 0x478975
xor edi, edi
mov edi, edi
mov eax, dword [ecx + 4]
push esi
push ecx
movzx ebx, word [edi + eax + 0x10]
call fcn.004758e0
movsx edx, ax
add esp, 8
add edx, dword [esp + 0xb4]
cmp ebp, 0xffffffff
je 0x478947
cmp esi, 0x20
jge 0x4788d7
mov eax, 1
mov ecx, esi
shl eax, cl
test ebp, eax
jne 0x478947
test bl, 1
jne 0x478947
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x478916
push 0
push edx
push 0
push 0x48
push ebx
call fcn.00437ce0
jmp 0x47895a
cmp dword [esp + 0x58], 0
je 0x47885d
push dword [esp + 0x1c]
push ebp
call fcn.0045f450
add esp, 8
mov ebp, eax
jmp 0x47885f
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x48
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 0x47895d
push edx
push esi
push dword [esp + 0x20]
push dword [esp + 0x28]
push dword [esp + 0x20]
call fcn.00459050
add esp, 0x14
mov ecx, dword [esp + 0x1c]
inc esi
add edi, 0x14
movsx eax, word [ecx + 0x2a]
cmp esi, eax
jl 0x4788a0
mov edi, dword [esp + 0x10]
cmp byte [esp + 0x17], 0
jne 0x4789d2
cmp dword [esp + 0x2c], 0
jne 0x4789d2
mov ecx, dword [edi + 0x6c]
mov ebx, dword [esp + 0x48]
cmp dword [edi + 0x70], ecx
jg 0x4789a3
push 0
push ebx
push dword [esp + 0x2c]
push 0x4d
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x4789d2
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x4d
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
mov eax, dword [esp + 0x54]
push dword [esp + 0x138]
push dword [esp + 0x20]
push 1
push 1
push dword [esp + 0x140]
push eax
push dword [esp + 0x140]
call fcn.00475bf0
mov edx, dword [esp + 0xa8]
mov ebx, eax
mov eax, dword [esp + 0x38]
xor ebp, ebp
add esp, 0x1c
mov dword [esp + 0x80], ebx
mov esi, edx
mov dword [esp + 0xb4], ebp
movzx ecx, word [eax + 0x2a]
cmp bp, cx
jge 0x478b82
xor edx, edx
mov dword [esp + 0x6c], edx
mov edi, edi
movsx eax, word [eax + 0x28]
cmp ebp, eax
jne 0x478a59
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x478c93
push 0
push esi
push 0
push 0x48
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x478b55
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
movzx eax, word [eax + edx + 0x10]
test al, 0x60
je 0x478a77
test al, 0x20
je 0x478b55
dec esi
jmp 0x478b55
mov eax, dword [esp + 0x20]
mov eax, dword [eax + ebp*4]
test eax, eax
js 0x478c57
cmp dword [esp + 0x28], 0
je 0x478aee
cmp dword [esp + 0x50], 0
jne 0x478a9b
mov ecx, dword [esp + 0x9c]
movzx ecx, cx
movsx edx, cx
mov ecx, dword [edi + 0x6c]
add edx, eax
cmp dword [edi + 0x70], ecx
jg 0x478ac1
push esi
push edx
push dword [esp + 0x3c]
push 0x5a
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x478b55
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x478b55
mov ecx, dword [esp + 0x128]
cmp dword [ecx + 8], 0
je 0x478b55
mov edx, dword [esp + 0x130]
lea eax, [eax + eax*4]
push esi
mov edi, dword [edx + eax*4 + 4]
push edi
push ecx
call fcn.0045a0d0
mov ebx, eax
add esp, 0xc
cmp ebx, esi
je 0x478b4e
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x128]
and edx, 0x200000
neg edx
sbb edx, edx
mov edi, dword [eax + 8]
add edx, 0x4e
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x478c28
push 0
push esi
push ebx
push edx
push edi
call fcn.00437ce0
add esp, 0x14
mov ebx, dword [esp + 0x80]
mov eax, dword [esp + 0x1c]
inc ebp
add dword [esp + 0x6c], 0x14
inc esi
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x10]
movzx eax, word [eax + 0x2a]
mov ecx, eax
cwde
cmp ebp, eax
mov eax, dword [esp + 0x1c]
jl 0x478a30
mov edx, dword [esp + 0x8c]
test byte [eax + 0x24], 0x60
mov esi, dword [esp + 0x128]
je 0x478b9e
push eax
push edx
push esi
call fcn.004543d0
mov eax, dword [esp + 0x28]
add esp, 0xc
test byte [esp + 0xb8], 1
je 0x478dd3
push dword [esp + 0x8c]
mov ebx, dword [esp + 0x14]
push eax
push ebx
call fcn.004757a0
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x144]
push ebp
push edi
push dword [esp + 0x38]
push dword [esp + 0x34]
push 1
push dword [esp + 0x150]
push 0x80
push dword [esp + 0x7c]
push esi
call fcn.00452fa0
add esp, 0x30
cmp dword [esp + 0x50], 0
jne 0x47907c
cmp dword [esp + 0x2c], 0
je 0x478cea
push dword [esp + 0xa0]
push dword [esp + 0x48]
push ebp
push dword [esp + 0x24]
push 0x1d
push ebx
call fcn.0047a300
mov edx, dword [esp + 0x30]
add esp, 0x18
jmp 0x478d3b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
jmp 0x478b4e
test dword [esp + 0xb8], 1
je 0x478cc7
cmp ebp, 0x1f
jg 0x478cc7
mov eax, 1
mov ecx, ebp
shl eax, cl
test ebx, eax
jne 0x478cc7
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x478c93
push 0
push esi
push 0
push 0x48
push edi
call fcn.00437ce0
add esp, 0x14
jmp 0x478b55
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x48
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 0x478b55
push esi
push ebp
push dword [esp + 0x20]
push dword [esp + 0x28]
push edi
call fcn.00459050
add esp, 0x14
mov dword [esp + 0xac], 0
jmp 0x478b55
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x478d0c
push dword [esp + 0x24]
push ebp
push dword [esp + 0x20]
push 0x20
push ebx
call fcn.00437ce0
mov edx, dword [esp + 0x2c]
add esp, 0x14
jmp 0x478d3b
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov esi, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
mov eax, dword [esp + 0x8c]
xor esi, esi
mov edi, eax
cmp cx, word [ebx + 0x2a]
jge 0x478dba
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
jmp 0x478d60
mov eax, dword [ebp + 4]
movzx eax, word [ebx + eax + 0x10]
test al, 0x60
je 0x478d78
test al, 0x20
lea eax, [edi - 1]
cmove eax, edi
mov edi, eax
jmp 0x478d9a
mov eax, dword [esp + 0x20]
cmp dword [eax + esi*4], 0
jge 0x478d9a
movsx eax, word [ebp + 0x28]
cmp esi, eax
je 0x478d9a
push edi
push esi
push edx
push ebp
push dword [esp + 0x20]
call fcn.00459050
add esp, 0x14
movsx eax, word [ebp + 0x2a]
inc esi
mov edx, dword [esp + 0x18]
add ebx, 0x14
inc edi
cmp esi, eax
jl 0x478d60
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x8c]
test byte [ebx + 0x24], 0x60
je 0x478de6
push ebx
push eax
push dword [esp + 0x130]
call fcn.004543d0
add esp, 0xc
jmp 0x478de6
cmp dword [esp + 0x50], 0
mov ebp, dword [esp + 0x60]
jne 0x479072
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x74]
push 0
push dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push eax
push ebp
push dword [esp + 0x148]
push dword [esp + 0x8c]
push edi
push dword [esp + 0x64]
push dword [esp + 0xa4]
push esi
push dword [esp + 0xa4]
push ebx
push dword [esp + 0x158]
call fcn.0045f730
add esp, 0x34
cmp dword [esp + 0x74], 0
jne 0x478e3a
cmp byte [esp + 0x78], 0
je 0x478ea0
cmp dword [esp + 0x2c], 0
mov ebx, dword [esp + 0x10]
je 0x478e5f
push dword [esp + 0xa0]
push dword [esp + 0x48]
push ebp
push esi
push 0x1d
push ebx
call fcn.0047a300
add esp, 0x18
jmp 0x478ea4
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x478e77
push edi
push ebp
push esi
push 0x20
push ebx
call fcn.00437ce0
add esp, 0x14
jmp 0x478ea4
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x478ea4
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x94]
test edi, edi
je 0x478ed1
push esi
push dword [esp + 0x24]
push 0
push dword [esp + 0x30]
push dword [esp + 0x2c]
push dword [esp + 0x13c]
call fcn.0045e760
add esp, 0x18
push 0xffffffffffffffff
push dword [esp + 0x80]
push dword [esp + 0x8c]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x13c]
call fcn.00461d80
add esp, 0x18
cmp dword [esp + 0xac], 0
je 0x478f20
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x478f4e
push 0
push 0
push dword [esp + 0x20]
push 0x8a
push ebx
call fcn.00437ce0
add esp, 0x14
mov edx, dword [esp + 0x18]
cmp edi, 1
jg 0x478f34
cmp byte [esp + 0x78], 0
je 0x478fb6
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x478f83
push 0
push 0
push edx
push 0x7d
push ebx
call fcn.00437ce0
add esp, 0x14
jmp 0x478fb6
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x8a
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
jmp 0x478f24
mov ebp, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x7d
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
test edi, edi
je 0x478fd8
push esi
push dword [esp + 0x24]
push dword [esp + 0x50]
push 0
push dword [esp + 0x2c]
push dword [esp + 0x13c]
call fcn.0045e760
add esp, 0x18
mov esi, dword [esp + 0x38]
xor eax, eax
push 0
cmp esi, 2
push 0
sete al
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x88]
push dword [esp + 0x58]
push dword [esp + 0x98]
push dword [esp + 0x30]
push dword [esp + 0x38]
push dword [esp + 0x148]
call fcn.004541e0
add esp, 0x24
test edi, edi
je 0x479046
push dword [esp + 0x94]
push dword [esp + 0x24]
push dword [esp + 0x2c]
push dword [esp + 0x13c]
push dword [esp + 0x2c]
push dword [esp + 0x13c]
call fcn.0045e6d0
add esp, 0x18
mov edi, dword [esp + 0x138]
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x4790b5
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x479082
push 0
push 1
push edx
push 0x53
push ebx
call fcn.00437ce0
add esp, 0x14
jmp 0x4790b5
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
jmp 0x479046
mov esi, dword [esp + 0x38]
jmp 0x47904d
mov ebp, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 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
push ebp
push edi
push dword [esp + 0x2c]
mov edi, dword [esp + 0x134]
push dword [esp + 0x28]
push 2
push dword [esp + 0x144]
push 0x80
push dword [esp + 0x70]
push edi
call fcn.00452fa0
add esp, 0x24
cmp esi, 1
je 0x4791a9
mov ecx, dword [ebx + 0xc]
not ebp
mov eax, dword [ecx + 0x3c]
cmp esi, 2
jne 0x479135
add eax, dword [ecx + 0x38]
jns 0x47911b
push ebp
push ebx
push ecx
call fcn.004458c0
add esp, 0xc
push dword [esp + 0xb0]
call fcn.0048c710
add esp, 4
jmp 0x4791a9
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
push dword [esp + 0xb0]
mov dword [ecx + ebp*4], eax
call fcn.0048c710
add esp, 4
jmp 0x4791a9
add eax, dword [ecx + 0x38]
jns 0x479147
push ebp
push ebx
push ecx
call fcn.004458c0
add esp, 0xc
jmp 0x479150
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + ebp*4], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x479173
mov edx, dword [esp + 0xa4]
push 0
push edx
push dword [esp + 0x3c]
push 5
push ebx
call fcn.00437ce0
add esp, 0x14
jmp 0x4791a9
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xa4]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x3c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4791c7
push edx
push ebx
push ecx
call fcn.004458c0
add esp, 0xc
jmp 0x4791d0
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [edi + 0x12], 0
jne 0x4791f5
cmp dword [edi + 0x78], 0
jne 0x4791f5
cmp dword [esp + 0x144], 0
jne 0x4791f5
cmp dword [edi + 0x70], 0
je 0x4791f5
push edi
call fcn.004234d0
add esp, 4
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x4793a4
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47921e
push 0
push 1
push edx
push 0x50
push ebx
call fcn.00437ce0
add esp, 0x14
jmp 0x47924d
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x50
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 [ebx + 0x90]
mov esi, dword [ebx]
test ax, ax
je 0x479321
add eax, eax
push eax
push dword [ebx + 0x74]
call fcn.00444020
mov edi, dword [ebx + 0x74]
add esp, 8
test edi, edi
je 0x479321
test esi, esi
je 0x4792cc
cmp dword [esi + 0x200], 0
je 0x479294
push edi
push esi
call fcn.0043b030
add esp, 8
jmp 0x479321
cmp edi, dword [esi + 0x154]
jae 0x4792cc
cmp edi, dword [esi + 0x14c]
jb 0x4792b4
mov eax, dword [esi + 0x148]
mov dword [edi], eax
mov dword [esi + 0x148], edi
jmp 0x479321
cmp edi, dword [esi + 0x150]
jb 0x4792cc
mov eax, dword [esi + 0x140]
mov dword [edi], eax
mov dword [esi + 0x140], edi
jmp 0x479321
cmp dword [0x4e6008], 0
je 0x479317
mov eax, dword [0x4e86d8]
test eax, eax
je 0x4792e8
push eax
call dword [0x4e6058]
add esp, 4
push edi
call dword [0x4e6034]
sub dword [0x4e8678], eax
dec dword [0x4e869c]
push edi
call dword [0x4e602c]
mov eax, dword [0x4e86d8]
add esp, 8
test eax, eax
je 0x479321
push eax
call dword [0x4e6060]
jmp 0x47931e
push edi
call dword [0x4e602c]
add esp, 4
push 0
push 0x50
mov ebp, 1
push esi
mov word [ebx + 0x90], bp
call fcn.00455fb0
add esp, 0xc
mov dword [ebx + 0x74], eax
test eax, eax
je 0x47935d
mov dword [eax + 0x20], esi
mov word [eax + 8], bp
mov dword [eax + 0x18], 0
mov dword [eax + 0x48], esi
mov word [eax + 0x30], bp
mov dword [eax + 0x40], 0
mov eax, dword [ebx]
cmp byte [eax + 0x53], 0
jne 0x4793a4
mov esi, dword [ebx + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x479379
cmp dword [esi + 0x18], 0
je 0x479382
push esi
call fcn.00496190
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], 1
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0xe4]
test eax, eax
je 0x477555
mov ecx, dword [esp + 0xc0]
mov dword [eax + 0xf0], ecx
jmp 0x477555
cmp esi, dword [eax + 0x154]
jae 0x479409
cmp esi, dword [eax + 0x14c]
jb 0x4793ed
mov eax, dword [eax + 0x148]
mov dword [esi], eax
mov eax, dword [esp + 0x68]
mov dword [eax + 0x148], esi
jmp 0x47945e
cmp esi, dword [eax + 0x150]
jb 0x479409
mov eax, dword [eax + 0x140]
mov dword [esi], eax
mov eax, dword [esp + 0x68]
mov dword [eax + 0x140], esi
jmp 0x47945e
cmp dword [0x4e6008], 0
je 0x479454
mov eax, dword [0x4e86d8]
test eax, eax
je 0x479425
push eax
call dword [0x4e6058]
add esp, 4
push esi
call dword [0x4e6034]
sub dword [0x4e8678], eax
dec dword [0x4e869c]
push esi
call dword [0x4e602c]
mov eax, dword [0x4e86d8]
add esp, 8
test eax, eax
je 0x47945e
push eax
call dword [0x4e6060]
jmp 0x47945b
push esi
call dword [0x4e602c]
add esp, 4
mov ebp, dword [esp + 0x134]
push dword [esp + 0x12c]
mov esi, dword [esp + 0x6c]
push esi
call fcn.004746d0
mov eax, dword [esp + 0x138]
add esp, 8
test eax, eax
je 0x47948e
push eax
push esi
call fcn.004311a0
add esp, 8
test ebp, ebp
je 0x47949c
push ebp
push esi
call fcn.0045b700
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret