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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x519008]
xor eax, esp
mov dword [esp + 0x120], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, edx
push edi
mov edi, ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x84], ebx
mov edx, dword [edi]
mov dword [esp + 0x10], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0xb8], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0x128], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x74], edx
cmp dword [edi + 0x24], eax
jne 0x47a625
cmp byte [edx + 0x51], al
jne 0x47a625
mov edx, ebx
call fcn.00499600
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x47a621
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x38], 0xfff0bdc0
test ecx, ecx
je 0x478b02
mov eax, dword [edi]
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov eax, dword [eax + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x478b02
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x478af6
mov dword [esp + 0x38], ebx
lea eax, [esp + 0xb0]
mov edx, esi
push eax
push dword [esp + 0x4c]
mov ecx, edi
push 0x7a
call fcn.0047b380
add esp, 0xc
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x94], eax
call fcn.0049e3b0
test eax, eax
jne 0x47a621
push dword [esp + 0xb0]
mov edx, esi
mov ecx, edi
call fcn.00499490
add esp, 4
test eax, eax
jne 0x47a621
mov eax, dword [edi + 0x28]
mov ebx, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x9c], ebx
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
test byte [esi + 0x24], 0x20
mov dword [esp + 0x7c], ecx
jne 0x478b80
mov dword [esp + 0x30], 0
jmp 0x478b8f
mov ecx, esi
call fcn.004a0930
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x90], edx
test eax, eax
je 0x478bbd
nop
cmp dword [esp + 0x30], eax
jne 0x478baa
mov dword [esp + 0x14], ecx
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x478ba0
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x478bd8
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x7c], ecx
mov dword [edi + 0x28], ebx
jmp 0x478bdc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x84]
push 0
mov dword [ecx + 0x34], eax
movsx eax, word [esi + 0x2a]
mov ecx, dword [esp + 0x78]
add eax, edx
lea eax, [eax*4 + 6]
add eax, edx
push eax
call fcn.004ece50
mov ebx, eax
add esp, 8
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x47a621
movsx eax, word [esi + 0x2a]
lea ecx, [ebx + eax*4]
mov eax, dword [esp + 0x90]
mov dword [esp + 0x68], ecx
lea ecx, [ecx + eax*4]
inc eax
push eax
add ecx, 4
push 1
push ecx
mov dword [esp + 0x84], ecx
call fcn.00405490
mov eax, dword [esp + 0x9c]
add esp, 0xc
mov ecx, dword [esp + 0x78]
mov byte [ecx + eax + 1], 0
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 0x2a]
jge 0x478c70
jmp 0x478c60
mov dword [ebx + ecx*4], 0xffffffff
inc ecx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x478c60
mov ecx, dword [esp + 0x70]
xor ebx, ebx
mov eax, dword [esp + 0x84]
mov dword [esp + 0x110], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10c], eax
xor al, al
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x108], edi
mov dword [esp + 0x120], 0x200
mov byte [esp + 0x27], 0
mov byte [esp + 0x1f], al
mov dword [esp + 0x64], ebx
cmp dword [ecx], ebx
jle 0x478e68
lea esi, [ecx + 4]
mov dword [esp + 0x2c], esi
jmp 0x478cf0
mov edx, dword [esi]
lea ecx, [esp + 0x108]
call fcn.004b1320
test eax, eax
jne 0x47a584
mov edx, dword [esp + 0x18]
xor edi, edi
movsx eax, word [edx + 0x2a]
test eax, eax
jle 0x478d8f
mov ebx, dword [edx + 4]
jmp 0x478d20
mov esi, dword [esi + 4]
mov edx, dword [ebx]
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x478d62
test ecx, ecx
jne 0x478d74
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x2c]
movsx eax, word [edx + 0x28]
cmp edi, eax
jne 0x478dc7
mov eax, dword [esi]
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x1f], 1
mov dword [eax + edi*4], ebx
jmp 0x478d8f
movzx eax, byte [eax + 0x5077b0]
movzx ecx, byte [ecx + 0x5077b0]
sub ecx, eax
jne 0x478d77
inc edx
jmp 0x478d27
mov edx, dword [esp + 0x18]
inc edi
mov esi, dword [esp + 0x2c]
add ebx, 0x10
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x478d20
mov ebx, dword [esp + 0x64]
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x478dee
cmp dword [esp + 0x30], 0
jne 0x478e81
mov ecx, dword [esi + 4]
call fcn.004adcd0
test eax, eax
je 0x478e81
mov eax, dword [esi]
or edi, 0xffffffff
mov byte [esp + 0x1f], 1
mov edx, str.ROWID
mov dword [esp + 0x5c], eax
jmp 0x478e03
cmp dword [esp + 0x30], 0
je 0x478de1
mov ecx, dword [edx + 4]
mov eax, edi
add eax, eax
test byte [ecx + eax*8 + 0xf], 1
je 0x478de1
mov byte [esp + 0x27], 1
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x64]
mov dword [eax + edi*4], ebx
jmp 0x478d8f
test edi, edi
jns 0x478df9
mov edx, str.ROWID
jmp 0x478e03
mov eax, dword [edx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push dword [edx]
mov edx, 0x17
call fcn.004a2880
add esp, 0xc
cmp eax, 1
je 0x47a584
cmp eax, 2
jne 0x478e44
mov eax, dword [esp + 0x34]
mov dword [eax + edi*4], 0xffffffff
mov ecx, dword [esp + 0x48]
inc ebx
add esi, 0x18
mov dword [esp + 0x64], ebx
mov dword [esp + 0x2c], esi
cmp ebx, dword [ecx]
jl 0x478cf0
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov al, byte [esp + 0x1f]
mov dl, byte [esp + 0x27]
add dl, al
cmp dword [esi + 0x38], 0
mov byte [esp + 0x2c], dl
je 0x478ea7
mov eax, 0xffffffff
or ecx, eax
jmp 0x478eab
mov ecx, dword [esp + 0x48]
lea eax, [ebx + ebx*2]
mov ebx, dword [esp + 0x10]
push dword [ecx + eax*8 + 8]
push str.no_such_column:__s
push ebx
call fcn.004e9ae0
add esp, 0xc
mov byte [ebx + 0x11], 1
jmp 0x47a584
xor eax, eax
xor ecx, ecx
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x40], eax
movzx eax, dl
mov edx, esi
push eax
push dword [esp + 0x38]
mov dword [ebx + 0x44], ecx
mov ecx, edi
mov dword [esp + 0xbc], eax
call fcn.004922f0
add esp, 8
mov dword [esp + 0x4c], eax
cmp dword [ebp + 0x10], 5
jne 0x478ee8
mov dword [esp + 0x128], 1
mov esi, dword [esi + 8]
xor ebx, ebx
mov dword [esp + 0x28], ebx
test esi, esi
je 0x4790b3
lea esp, [esp]
cmp byte [esp + 0x2c], 0
jne 0x479077
cmp eax, 1
jg 0x479077
cmp esi, dword [esp + 0x30]
je 0x479077
mov edx, dword [esi + 0x24]
test edx, edx
je 0x478f84
xor eax, eax
mov dword [esp + 0xd4], 0x48fbc0
mov dword [esp + 0xd0], eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xe8], eax
call fcn.004b3e10
cmp byte [esp + 0x1f], 0
mov al, byte [esp + 0xe4]
jne 0x478f7c
and al, 0xfd
test al, al
jne 0x479077
xor ecx, ecx
xor eax, eax
xor edi, edi
mov dword [esp + 0x8c], ecx
cmp ax, word [esi + 0x32]
jae 0x47908b
xor ebx, ebx
lea ecx, [ecx]
mov eax, dword [esi + 4]
movzx eax, word [eax + edi*2]
test ax, ax
js 0x478fbb
mov ecx, dword [esp + 0x34]
cwde
mov eax, dword [ecx + eax*4]
not eax
shr eax, 0x1f
jmp 0x479025
mov eax, dword [esi + 0x28]
mov dword [esp + 0xf0], 0x48fbc0
mov edx, dword [eax + ebx + 4]
xor eax, eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x104], eax
test edx, edx
je 0x47900d
lea ecx, [esp + 0xec]
call fcn.004b3e10
cmp byte [esp + 0x1f], 0
mov cl, byte [esp + 0x100]
jne 0x47901e
and cl, 0xfd
xor eax, eax
test cl, cl
setne al
test eax, eax
jne 0x479046
movzx eax, word [esi + 0x32]
inc edi
add ebx, 0x18
cmp edi, eax
jl 0x478fa0
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x28]
jmp 0x47908b
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
mov ecx, dword [edi + 0x2c]
inc ecx
mov dword [edi + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
cmp dword [ebp + 0x10], 0xb
mov dword [edi + 0x2c], eax
jne 0x479087
cmp byte [esi + 0x36], 5
jne 0x479087
mov dword [esp + 0x128], 1
jmp 0x479087
mov ecx, dword [edi + 0x2c]
inc ecx
mov dword [edi + 0x2c], ecx
movzx eax, word [esi + 0x34]
add eax, ecx
mov dword [edi + 0x2c], eax
test ecx, ecx
jne 0x479094
mov eax, dword [esp + 0x78]
mov byte [ebx + eax + 1], 0
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x10]
mov dword [eax + ebx*4], ecx
inc ebx
mov esi, dword [esi + 0x14]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], ebx
test esi, esi
jne 0x478f00
mov ecx, dword [esp + 0x68]
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [ecx + ebx*4], eax
cmp dword [esp + 0x128], 0
je 0x4790e4
mov eax, dword [esp + 0x90]
inc eax
push eax
push 1
push dword [esp + 0x80]
call fcn.00405490
add esp, 0xc
mov edi, dword [edi + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x80], edi
test edi, edi
jne 0x47911f
cmp dword [esi + 0x74], edi
jne 0x479107
mov eax, dword [esi]
test byte [eax + 0x4c], 8
jne 0x479107
mov byte [esi + 0x17], 1
mov ecx, esi
call fcn.004c8600
mov edi, eax
mov dword [esp + 0x80], eax
test edi, edi
je 0x47a584
cmp byte [esi + 0x12], 0
jne 0x47912c
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x44], 0
jne 0x47913e
cmp dword [esp + 0x4c], 0
jne 0x47913e
xor bl, bl
jmp 0x479140
mov bl, 1
mov esi, dword [esi + 0x74]
test esi, esi
jne 0x47914b
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov eax, 1
mov edx, dword [esi + 0x54]
shl eax, cl
test edx, eax
jne 0x479173
bts edx, ecx
mov dword [esi + 0x54], edx
cmp ecx, 1
jne 0x479173
mov ecx, esi
call fcn.0049b260
mov ecx, dword [esp + 0x38]
mov eax, dword [esi + 0x50]
mov edx, dword [esp + 0x18]
bts eax, ecx
or byte [esi + 0x14], bl
mov ebx, dword [esp + 0x28]
mov dword [esi + 0x50], eax
cmp dword [edx + 0x38], 0
mov esi, dword [esp + 0x10]
jne 0x47920c
mov eax, dword [esp + 0x68]
mov ecx, dword [esi + 0x2c]
inc ecx
cmp byte [esp + 0x27], 0
mov dword [esp + 0x54], ecx
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x88], eax
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x20], ecx
jne 0x4791c4
cmp dword [esp + 0x44], 0
jne 0x4791c4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4791db
lea eax, [ecx + 1]
mov dword [esp + 0xac], eax
movsx eax, word [edx + 0x2a]
add ecx, eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x2c], ecx
cmp byte [esp + 0x2c], 0
jne 0x4791ed
cmp dword [esp + 0x44], 0
jne 0x4791ed
test eax, eax
je 0x4791f9
lea eax, [ecx + 1]
mov dword [esp + 0x54], eax
mov ecx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + 1]
mov dword [esp + 0xa0], eax
movsx eax, word [edx + 0x2a]
add eax, ecx
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x479249
push dword [esp + 0x14]
mov eax, dword [esi + 0xf0]
mov ecx, esi
push 0
push 0
push dword [esp + 0x48]
mov dword [esp + 0xd8], eax
mov eax, dword [edx]
mov dword [esp + 0xd4], esi
mov dword [esi + 0xf0], eax
call fcn.00499330
add esp, 0x10
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x108]
call fcn.004b1320
test eax, eax
jne 0x47a56c
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x38], 0
je 0x479296
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x40]
mov edx, dword [esp + 0x8c]
push dword [esp + 0x3c]
push dword [esp + 0x68]
push ecx
push eax
mov ecx, esi
call fcn.004781d0
add esp, 0x18
jmp 0x47a56c
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4792e7
cmp dword [esi + 0x78], 0
jne 0x4792e7
cmp byte [esi + 0x12], 0
jne 0x4792e7
cmp dword [esp + 0x70], 0
jne 0x4792e7
inc dword [esi + 0x2c]
mov edx, 0x46
mov eax, dword [esi + 0x2c]
mov ecx, edi
push eax
push 0
mov dword [esp + 0xc4], eax
call fcn.004c8180
add esp, 8
mov edx, dword [esp + 0x18]
test byte [edx + 0x24], 0x20
jne 0x4793dd
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47931b
push dword [esp + 0x20]
mov edx, 0x49
mov ecx, edi
push dword [esp + 0x8c]
push 0
call fcn.004c8320
add esp, 0xc
jmp 0x479351
mov edx, dword [esp + 0x88]
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 + 0x20]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x70], 0
je 0x4794d4
mov ecx, dword [esp + 0x10]
push 0x10
push dword [esp + 0x3c]
mov esi, 1
mov dword [esp + 0x94], 0
push dword [esp + 0x44]
mov dword [esp + 0x5c], esi
push ecx
call fcn.004a8d60
mov eax, dword [esp + 0xdc]
add esp, 0x10
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xa8], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x20
jne 0x47960b
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4795a3
push 0
push dword [esp + 0x24]
mov ecx, edi
push edx
mov edx, 0x80
call fcn.004c8320
mov edx, dword [esp + 0x2c]
add esp, 0xc
jmp 0x4795d6
mov eax, dword [esp + 0x30]
movzx ecx, word [eax + 0x32]
mov eax, dword [esi + 0x2c]
movsx esi, cx
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + 1]
inc eax
add eax, esi
mov dword [esp + 0x60], edx
cmp dword [esp + 0x70], 0
mov dword [esp + 0x40], eax
mov dword [ecx + 0x2c], eax
jne 0x479360
mov eax, dword [ecx + 0x28]
dec edx
mov dword [esp + 0x6c], eax
add edx, esi
inc eax
mov dword [ecx + 0x28], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x479440
push edx
push dword [esp + 0x64]
mov edx, 0x49
mov ecx, edi
push 0
call fcn.004c8320
add esp, 0xc
jmp 0x479473
mov ebx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push esi
push dword [esp + 0x70]
mov edx, 0x71
mov ecx, edi
call fcn.004c8180
mov edx, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
mov esi, dword [eax + 8]
call fcn.0049a6a0
mov edx, eax
test edx, edx
je 0x4794d0
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4794be
push edx
mov edx, 0xfffffff7
call fcn.004c7440
add esp, 4
jmp 0x4794d0
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 esi, dword [esp + 0x10]
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x479503
cmp dword [esp + 0x44], 0
jne 0x479503
cmp dword [esp + 0x4c], 0
jne 0x479503
cmp byte [esp + 0x2c], 0
jne 0x479503
cmp dword [esp + 0x128], 0
jne 0x479503
mov eax, 0x100c
push dword [esp + 0x7c]
mov edx, dword [esp + 0x88]
mov ecx, esi
push eax
push 0
push 0
push dword [esp + 0x4c]
call fcn.00468310
mov edx, eax
add esp, 0x14
mov dword [esp + 0x8c], edx
test edx, edx
je 0x47a56c
movzx esi, byte [edx + 0x31]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0xa8], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x50], esi
cmp esi, 1
je 0x4793a0
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x74]
test eax, eax
jne 0x479561
mov eax, edx
mov edx, dword [esp + 0x14]
mov byte [eax + 0x14], 1
cmp esi, 2
jne 0x4793a4
test ecx, ecx
js 0x4793a4
cmp ecx, edx
je 0x4793a4
mov edx, dword [esp + 0x78]
mov eax, ecx
sub eax, dword [esp + 0x9c]
xor ecx, ecx
cmp byte [eax + edx], cl
setne cl
dec ecx
and esi, ecx
mov dword [esp + 0x50], esi
jmp 0x4793a0
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test esi, esi
jne 0x47973a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x68]
push edx
push dword [esp + 0x8c]
inc dword [eax + 0x2c]
mov edx, 0x94
mov eax, dword [eax + 0x2c]
mov dword [ecx + ebx*4], eax
mov ecx, edi
call fcn.004c8180
add esp, 8
jmp 0x47973a
mov eax, dword [esp + 0xc0]
xor esi, esi
movsx ebx, ax
test ebx, ebx
jle 0x47964d
jmp 0x479620
mov eax, dword [esp + 0x60]
add eax, esi
push eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push edx
mov edx, ecx
mov ecx, edi
call fcn.004aaf90
mov ecx, dword [esp + 0x24]
inc esi
mov edx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ebx
jl 0x479620
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4796a5
mov eax, dword [esp + 0x98]
test eax, eax
je 0x479691
mov ecx, dword [edi]
cmp byte [ecx + 0x51], 0
jne 0x479691
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x68]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.004c7440
mov word [esi], 0xaa
add esp, 4
mov dword [esi + 0x10], 0
mov esi, dword [esp + 0x50]
mov eax, dword [esp + 0x60]
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x40], eax
jmp 0x47973a
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x74]
call fcn.00491620
mov edx, dword [edi + 0x6c]
mov esi, eax
cmp dword [edi + 0x70], edx
jg 0x4796d8
push dword [esp + 0x40]
mov edx, 0x5c
mov ecx, edi
push ebx
push dword [esp + 0x68]
call fcn.004c8320
add esp, 0xc
mov edx, eax
jmp 0x47970e
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x60]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 0xc], edi
mov edi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
push ebx
push esi
mov ecx, edi
call fcn.004c7150
push ebx
push dword [esp + 0x6c]
mov edx, 0x84
mov ecx, edi
push dword [esp + 0x50]
push dword [esp + 0x80]
call fcn.004c7b60
mov esi, dword [esp + 0x68]
add esp, 0x18
cmp dword [esp + 0x70], 0
jne 0x4799dc
cmp esi, 2
je 0x479756
mov ecx, dword [esp + 0x8c]
call fcn.00467a10
mov eax, dword [esp + 0x94]
test eax, eax
jne 0x479823
mov edx, dword [esp + 0x50]
xor esi, esi
test edx, edx
je 0x4797a0
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0x78]
test eax, eax
js 0x479789
sub eax, dword [esp + 0x9c]
mov byte [eax + ebx], 0
mov ecx, dword [esp + 0x64]
test ecx, ecx
js 0x4797a4
mov eax, ecx
sub eax, dword [esp + 0x9c]
mov byte [eax + ebx], 0
jmp 0x4797a4
mov ecx, dword [esp + 0x64]
cmp edx, 2
jne 0x4797cb
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x90]
setns al
sub ecx, eax
test ecx, ecx
jle 0x4797cb
mov edx, 0x11
mov ecx, edi
call fcn.004c8250
mov esi, eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 0
push 0
push dword [esp + 0x80]
push dword [esp + 0xa8]
push 0
push 0x6d
call fcn.0048dde0
add esp, 0x18
test esi, esi
je 0x479818
mov edx, dword [edi + 0x6c]
jns 0x4797fd
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x47980c
mov eax, 0x51e9d8
jmp 0x479815
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4798ca
test eax, eax
jne 0x479864
mov eax, dword [esp + 0x14]
cmp dword [esp + 0xa8], eax
je 0x479864
mov ebx, dword [esp + 0x38]
cmp dword [esp + 0x64], eax
je 0x479868
push dword [esp + 0xa4]
mov edx, 0x1c
mov ecx, edi
push dword [esp + 0x44]
push ebx
push eax
call fcn.004c7b60
add esp, 0x10
jmp 0x479868
mov ebx, dword [esp + 0x38]
cmp esi, 1
je 0x47987b
mov eax, dword [esp + 0x10]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x30], 0
mov edx, dword [esp + 0x40]
jne 0x47988a
mov edx, dword [esp + 0x20]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4798aa
push 0
push ebx
push edx
mov edx, 0x32
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x4799dc
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 + 0xc], 0
jmp 0x4799cc
cmp dword [esp + 0x30], 0
je 0x47992d
mov esi, dword [esp + 0x10]
mov edx, 0x24
push dword [esp + 0x38]
mov ecx, edi
push dword [esp + 0x70]
dec dword [esi + 0x38]
mov ebx, dword [esi + 0x38]
mov dword [esp + 0x60], ebx
call fcn.004c8180
push dword [esp + 0x48]
mov edx, 0x7f
mov ecx, edi
push dword [esp + 0x78]
call fcn.004c8180
push 0
push dword [esp + 0x54]
mov edx, 0x1c
mov dword [esp + 0xd0], eax
push ebx
push dword [esp + 0x30]
mov ecx, edi
call fcn.004c7b60
add esp, 0x20
jmp 0x4799e0
mov ebx, dword [edi + 0x6c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x58], ebx
cmp dword [edi + 0x70], ebx
jg 0x479960
push esi
push dword [esp + 0x3c]
mov edx, 0x29
mov ecx, edi
push dword [esp + 0x90]
call fcn.004c8320
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x58], ebx
jmp 0x479992
mov edx, dword [esp + 0x88]
lea eax, [ebx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x29
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4799b1
push esi
push ebx
push dword [esp + 0x1c]
mov edx, 0x1f
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x4799dc
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 4], edx
mov esi, dword [esp + 0x10]
cmp byte [esp + 0x1f], 0
je 0x479a82
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x479a0a
cmp byte [eax], 0xa8
jne 0x479a0a
mov ebx, dword [esp + 0x54]
mov edx, 0x4e
mov ecx, dword [esi + 8]
push ebx
push dword [eax + 0x1c]
jmp 0x479a2d
mov ebx, dword [esp + 0x54]
mov edx, eax
push ebx
mov ecx, esi
call fcn.004a9cb0
add esp, 4
cmp eax, ebx
je 0x479a35
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x479a35
push ebx
push eax
mov edx, 0x4f
call fcn.004c8180
add esp, 8
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x479a53
push 0
push 0
push ebx
mov edx, 0xf
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x479a82
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xf
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0x27], 0
jne 0x479b32
cmp dword [esp + 0x4c], 0
jne 0x479b3d
cmp dword [esp + 0x44], 0
je 0x479c21
mov ebx, dword [esp + 0x18]
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x48]
mov ecx, esi
push ebx
push 3
push 0
push dword [esp + 0x58]
mov dword [esp + 0x70], eax
call fcn.0047a880
mov edx, dword [esp + 0x70]
add esp, 0x14
or edx, eax
xor esi, esi
xor eax, eax
mov dword [esp + 0x5c], edx
cmp ax, word [ebx + 0x2a]
jge 0x479bbc
xor ebx, ebx
cmp edx, 0xffffffff
je 0x479b87
cmp esi, 0x20
jge 0x479b00
mov eax, 1
mov ecx, esi
shl eax, cl
test edx, eax
jne 0x479b87
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
test byte [eax + ebx + 0xf], 1
jne 0x479b8b
mov edx, dword [esp + 0xac]
mov ecx, dword [edi + 0x6c]
add edx, esi
cmp dword [edi + 0x70], ecx
jg 0x479b4f
push 0
push edx
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004c8320
jmp 0x479ba1
cmp dword [esp + 0x4c], 0
je 0x479aa3
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edx, ebx
call fcn.004923e0
jmp 0x479aa9
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479ba4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xac]
mov ecx, edi
add eax, esi
push eax
push esi
push dword [esp + 0x1c]
call fcn.004aaf90
add esp, 0xc
mov eax, dword [esp + 0x18]
inc esi
mov edx, dword [esp + 0x5c]
add ebx, 0x10
movsx eax, word [eax + 0x2a]
cmp esi, eax
jl 0x479ae1
cmp byte [esp + 0x1f], 0
jne 0x479c21
cmp dword [esp + 0x30], 0
jne 0x479c21
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x479bee
mov edx, dword [esp + 0x54]
mov ecx, edi
push 0
push edx
push dword [esp + 0x28]
mov edx, 0x4e
call fcn.004c8320
add esp, 0xc
jmp 0x479c21
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp + 0x10]
mov ebx, dword [esp + 0x14]
mov ecx, ebx
push dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
push 1
push 1
push dword [esp + 0x58]
call fcn.0047a880
mov edx, eax
xor ecx, ecx
mov eax, dword [esp + 0x2c]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x28], edx
mov dword [esp + 0x98], ecx
cmp si, word [eax + 0x2a]
jge 0x479d45
mov esi, dword [esp + 0xa0]
movsx eax, word [eax + 0x28]
cmp ecx, eax
jne 0x479cc9
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x479c91
push 0
push esi
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x479d1d
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479d21
mov eax, dword [esp + 0x34]
mov eax, dword [eax + ecx*4]
test eax, eax
js 0x479e6d
mov ecx, dword [esp + 0x48]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x479e22
cmp byte [edx], 0xa8
jne 0x479e22
mov ebx, dword [ebx + 8]
mov edx, dword [edx + 0x1c]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x479df2
push 0
push esi
push edx
mov edx, 0x4e
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
mov ebx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [esp + 0x98]
inc ecx
mov dword [esp + 0x98], ecx
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0x18]
jl 0x479c68
test byte [esp + 0xb0], 1
je 0x479f97
push dword [esp + 0xa0]
mov edx, eax
mov ecx, edi
call fcn.00491500
mov eax, dword [esp + 0x48]
add esp, 4
mov ebx, dword [esp + 0x58]
mov esi, eax
test eax, eax
je 0x479dba
mov edi, dword [esp + 0x10]
cmp byte [esi + 8], 0x7a
jne 0x479dac
cmp byte [esi + 9], 1
jne 0x479dac
mov edx, dword [esp + 0x48]
mov ecx, dword [esi + 0x10]
call fcn.0047b400
test eax, eax
je 0x479dac
push ebx
push dword [ebp + 0x10]
mov edx, esi
mov ecx, edi
push dword [esp + 0x28]
push dword [esp + 0x24]
call fcn.0047a9b0
add esp, 0x10
mov esi, dword [esi + 0x20]
test esi, esi
jne 0x479d78
mov edi, dword [esp + 0x80]
cmp dword [esp + 0x30], 0
mov edx, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x47a059
cmp eax, edx
jg 0x479efc
push dword [esp + 0x40]
mov edx, 0x1c
mov ecx, edi
push ebx
push dword [esp + 0x1c]
call fcn.004c8320
add esp, 0xc
mov edx, eax
jmp 0x479f2b
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4e
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
jmp 0x479d19
push esi
mov ecx, ebx
call fcn.004a9cb0
mov edx, eax
add esp, 4
cmp edx, esi
je 0x479d1d
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x479d19
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x479e58
push 0
push esi
push edx
mov edx, 0x4f
jmp 0x479d0f
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x4f
jmp 0x479e05
test dword [esp + 0xb0], 1
je 0x479ee3
cmp ecx, 0x1f
jg 0x479ee3
mov eax, 1
shl eax, cl
test edx, eax
jne 0x479ee3
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x479eab
push 0
push esi
push 0
mov edx, 0x49
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x479d1d
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479d21
mov edx, dword [esp + 0x18]
push esi
push ecx
push dword [esp + 0x1c]
mov ecx, edi
call fcn.004aaf90
add esp, 0xc
jmp 0x479d1d
mov esi, dword [esp + 0x14]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x479f49
mov eax, dword [edi + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0xa4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
xor eax, eax
xor esi, esi
cmp ax, word [ebx + 0x2a]
jge 0x479f97
jmp 0x479f60
mov eax, dword [esp + 0x34]
cmp dword [eax + esi*4], 0
jge 0x479f8a
movsx eax, word [ebx + 0x28]
cmp esi, eax
je 0x479f8a
mov eax, dword [esp + 0xa0]
mov ecx, edi
add eax, esi
push eax
push esi
push edx
mov edx, ebx
call fcn.004aaf90
add esp, 0xc
movsx eax, word [ebx + 0x2a]
inc esi
mov edx, dword [esp + 0x14]
cmp esi, eax
jl 0x479f60
cmp dword [esp + 0x94], 0
mov ebx, dword [esp + 0x58]
jne 0x47a29f
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x128]
mov ecx, dword [esp + 0x10]
xor esi, esi
push esi
push dword [esp + 0x38]
push eax
push ebx
push dword [ebp + 0x10]
push dword [esp + 0x40]
push dword [esp + 0x38]
push dword [esp + 0x70]
push dword [esp + 0x9c]
push dword [esp + 0x38]
push dword [esp + 0x90]
call fcn.0048e2a0
add esp, 0x2c
cmp dword [esp + 0x4c], esi
je 0x47a010
push dword [esp + 0xb4]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
push esi
push dword [esp + 0x2c]
call fcn.004924d0
add esp, 0x10
cmp dword [esp + 0x128], esi
jne 0x47a024
cmp byte [esp + 0x2c], 0
je 0x47a155
cmp dword [esp + 0x30], 0
mov esi, dword [edi + 0x6c]
mov eax, dword [edi + 0x70]
je 0x47a101
cmp eax, esi
jg 0x47a0ae
push dword [esp + 0x40]
mov edx, 0x1c
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.004c8320
add esp, 0xc
mov esi, eax
jmp 0x47a0e1
cmp eax, edx
jg 0x47a07a
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push ebx
push dword [esp + 0x1c]
call fcn.004c8320
add esp, 0xc
jmp 0x479f49
mov esi, dword [esp + 0x20]
lea eax, [edx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x68]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x479f4d
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x1c
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x47a155
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
mov edx, dword [esp + 0xa4]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x47a155
cmp eax, esi
jg 0x47a122
push dword [esp + 0x20]
mov edx, 0x1f
mov ecx, edi
push 0
push dword [esp + 0x1c]
call fcn.004c8320
add esp, 0xc
mov esi, eax
jmp 0x47a155
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push dword [esp + 0x6c]
push dword [esp + 0x84]
push dword [esp + 0x20]
call fcn.00498450
add esp, 0x10
cmp dword [esp + 0x4c], 1
jg 0x47a185
mov al, byte [esp + 0x2c]
test al, al
je 0x47a1dd
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47a1a6
push 0
push 0
push dword [esp + 0x1c]
mov edx, 0x7b
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x47a1d9
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x7b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [esp + 0x2c]
cmp dword [esp + 0x128], 0
jne 0x47a1eb
test al, al
je 0x47a210
mov edx, dword [edi + 0x6c]
test esi, esi
jns 0x47a1f5
lea esi, [edx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x47a204
mov eax, 0x51e9d8
jmp 0x47a20d
mov eax, dword [edi + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp dword [esp + 0x4c], 0
je 0x47a238
push dword [esp + 0xb4]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x5c]
push 0
call fcn.004924d0
add esp, 0x10
mov esi, dword [esp + 0x50]
xor eax, eax
mov edx, dword [esp + 0x18]
cmp esi, 2
mov ecx, dword [esp + 0x10]
push 0
sete al
push 0
lea eax, [eax*2 + 4]
push eax
push dword [esp + 0x74]
push dword [esp + 0x64]
push dword [esp + 0x90]
push dword [esp + 0x2c]
call fcn.0048e010
add esp, 0x1c
cmp dword [esp + 0x4c], 0
je 0x47a2a3
push dword [esp + 0xb4]
mov edx, dword [esp + 0x1c]
push dword [esp + 0x38]
mov ecx, dword [esp + 0x18]
push dword [esp + 0x28]
push dword [esp + 0x54]
call fcn.00491970
add esp, 0x10
jmp 0x47a2a3
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x47a2ff
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47a2cc
push 0
push 1
push edx
mov edx, 0x53
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x47a2ff
mov ebx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x47a35d
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
nop
cmp byte [eax + 8], 0x7a
jne 0x47a347
cmp byte [eax + 9], 2
jne 0x47a347
mov edx, dword [esp + 0x48]
mov ecx, dword [eax + 0x10]
call fcn.0047b400
test eax, eax
je 0x47a343
mov edx, dword [esp + 0x44]
mov ecx, esi
push ebx
push dword [ebp + 0x10]
push dword [esp + 0x28]
push edi
call fcn.0047a9b0
add esp, 0x10
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x44], eax
test eax, eax
jne 0x47a310
mov edi, dword [esp + 0x80]
mov esi, dword [esp + 0x50]
cmp esi, 1
je 0x47a474
cmp esi, 2
jne 0x47a3ae
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47a394
push ebx
mov edx, edi
call fcn.004c7a90
mov ecx, dword [esp + 0x90]
add esp, 4
call fcn.00467a10
jmp 0x47a474
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [esp + 0x8c]
call fcn.00467a10
jmp 0x47a474
cmp dword [esp + 0x30], 0
je 0x47a427
mov ecx, dword [edi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47a3cf
push ebx
mov edx, edi
call fcn.004c7a90
add esp, 4
jmp 0x47a3d8
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + ebx*4], eax
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47a3ff
mov edx, dword [esp + 0xb8]
mov ecx, edi
push 0
push edx
push dword [esp + 0x74]
mov edx, 5
call fcn.004c8320
add esp, 0xc
jmp 0x47a474
mov edx, dword [esp + 0x6c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0xb8]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
jmp 0x47a464
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47a445
push 0
push ebx
push 0
mov edx, 0xb
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x47a474
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x47a492
push edx
mov edx, edi
call fcn.004c7a90
add esp, 4
jmp 0x47a49b
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x12], 0
jne 0x47a4bf
cmp dword [eax + 0x78], 0
jne 0x47a4bf
cmp dword [esp + 0x70], 0
jne 0x47a4bf
cmp dword [eax + 0x70], 0
je 0x47a4bf
mov ecx, eax
call fcn.004910b0
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x47a56c
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x47a4ec
push 0
push 1
push edx
mov edx, 0x51
mov ecx, edi
call fcn.004c8320
add esp, 0xc
jmp 0x47a51b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x51
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 1
mov ecx, edi
call fcn.004c5bd0
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
jne 0x47a56c
mov esi, dword [edi + 0x74]
mov eax, 0x2400
test word [esi + 8], ax
jne 0x47a543
cmp dword [esi + 0x18], 0
je 0x47a54a
mov ecx, esi
call fcn.004c9d50
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 eax, dword [esp + 0xc4]
test eax, eax
je 0x47a584
mov ecx, dword [esp + 0xc8]
mov dword [eax + 0xf0], ecx
mov eax, dword [esp + 0x74]
cmp dword [eax + 0x1e8], 0
je 0x47a5a1
mov edx, dword [esp + 0x34]
mov ecx, eax
call fcn.004ed280
jmp 0x47a621
mov ebx, dword [esp + 0x34]
cmp ebx, dword [eax + 0x138]
jb 0x47a5c9
cmp ebx, dword [eax + 0x13c]
jae 0x47a5c9
mov eax, dword [eax + 0x134]
mov dword [ebx], eax
mov eax, dword [esp + 0x74]
mov dword [eax + 0x134], ebx
jmp 0x47a621
cmp dword [0x519970], 0
je 0x47a617
mov eax, dword [0x51eb78]
test eax, eax
je 0x47a5e5
push eax
call dword [0x5199cc]
add esp, 4
push ebx
call dword [0x5199a8]
sub dword [0x51e988], eax
add esp, 4
dec dword [0x51e9ac]
push ebx
call dword [0x5199a0]
mov eax, dword [0x51eb78]
add esp, 4
test eax, eax
je 0x47a621
push eax
call dword [0x5199d4]
jmp 0x47a61e
push ebx
call dword [0x5199a0]
add esp, 4
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x74]
mov ecx, ebx
mov edx, dword [esp + 0x84]
call fcn.0049b7b0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x47a648
mov edx, eax
mov ecx, ebx
call fcn.004ae4e0
test esi, esi
je 0x47a655
mov edx, esi
mov ecx, ebx
call fcn.004afa70
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret