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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
xor esi, esi
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, dword [ebx]
push edi
mov dword [esp + 0x9c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x24], esi
jne 0x4d0b0f
cmp byte [eax + 0x45], 0
jne 0x4d0b0f
mov eax, dword [ebp + 0xc]
push ebx
call fcn.004b3660
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
je 0x4cf762
mov ecx, dword [ebx]
mov edi, eax
mov esi, dword [edi + 0x48]
call fcn.004c2630
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xa0]
push eax
push ecx
push 0x6e
mov edx, edi
mov eax, ebx
call fcn.004ce810
xor edx, edx
add esp, 0xc
cmp dword [edi + 0xc], edx
mov dword [esp + 0x5c], eax
setne dl
mov eax, edi
mov edi, ebx
mov dword [esp + 0x70], edx
call fcn.004af1f0
test eax, eax
jne 0x4cf762
mov eax, dword [esp + 0xa0]
mov edi, dword [esp + 0x10]
push eax
mov ecx, edi
mov esi, ebx
call fcn.004b3710
add esp, 4
test eax, eax
jne 0x4cf762
mov eax, dword [ebx + 0x28]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x38], eax
inc dword [ebx + 0x28]
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x84], eax
inc eax
test byte [edi + 0x24], 0x20
mov dword [esp + 0x7c], eax
jne 0x4cf424
mov dword [esp + 0x30], 0
jmp 0x4cf42f
mov eax, edi
call fcn.004ad070
mov dword [esp + 0x30], eax
mov eax, dword [edi + 8]
xor ecx, ecx
mov dword [esp + 0x80], ecx
test eax, eax
je 0x4cf471
nop
mov edx, dword [eax + 0x38]
and dl, 3
cmp dl, 2
jne 0x4cf45c
cmp dword [esp + 0x30], 0
je 0x4cf45c
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x2c], esi
mov dword [edx + 0x38], esi
inc dword [ebx + 0x28]
mov eax, dword [eax + 0x14]
mov esi, dword [ebx + 0x28]
inc ecx
test eax, eax
jne 0x4cf440
mov dword [esp + 0x80], ecx
movsx eax, word [edi + 0x2a]
mov esi, dword [esp + 0x80]
add eax, esi
lea ecx, [esi + eax*4 + 2]
mov eax, dword [esp + 0x28]
push 0
push ecx
call fcn.0046fc10
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
je 0x4cf762
movsx edx, word [edi + 0x2a]
lea eax, [eax + edx*4]
lea ecx, [eax + esi*4]
mov dword [esp + 0x74], eax
lea eax, [esi + 1]
push eax
push 1
push ecx
mov dword [esp + 0x50], ecx
call sub.MSVCR100.dll_memset
mov ecx, dword [esp + 0x50]
xor edx, edx
add esp, 0xc
mov byte [ecx + esi + 1], 0
xor eax, eax
cmp dx, word [edi + 0x2a]
jge 0x4cf4f0
mov ecx, dword [esp + 0x34]
jmp 0x4cf4e0
mov dword [ecx + eax*4], 0xffffffff
movsx edx, word [edi + 0x2a]
inc eax
cmp eax, edx
jl 0x4cf4e0
mov esi, dword [ebp + 0xc]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov byte [esp + 0x23], al
mov byte [esp + 0x1b], al
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], esi
jle 0x4cf727
add eax, 8
mov dword [esp + 0x14], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x14]
mov edi, dword [eax]
lea esi, [esp + 0xb0]
call fcn.004a0a50
test eax, eax
jne 0x4cf762
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x2a]
xor esi, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x78], ecx
test ecx, ecx
jle 0x4cf667
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 4]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
jmp 0x4cf5b0
mov eax, dword [esp + 0x38]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [ecx]
movzx edi, byte [eax + 0x53b6b0]
mov dl, byte [ecx]
movzx eax, dl
movzx eax, byte [eax + 0x53b6b0]
sub eax, edi
jne 0x4cf60c
mov edi, dword [esp + 0x38]
sub edi, ecx
lea ebx, [ebx]
test dl, dl
je 0x4cf608
movzx eax, byte [ecx + edi + 1]
movzx esi, byte [eax + 0x53b6b0]
mov dl, byte [ecx + 1]
inc ecx
movzx eax, dl
movzx eax, byte [eax + 0x53b6b0]
sub eax, esi
mov esi, dword [esp + 0x1c]
je 0x4cf5e0
jmp 0x4cf60c
test eax, eax
je 0x4cf61e
add dword [esp + 0x3c], 0x10
inc esi
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x78]
jl 0x4cf5b0
jmp 0x4cf663
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x28]
cmp esi, ecx
jne 0x4cf63e
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov byte [esp + 0x1b], 1
mov dword [esp + 0x8c], eax
jmp 0x4cf658
cmp dword [esp + 0x30], 0
je 0x4cf658
mov eax, dword [eax + 4]
mov ecx, esi
add ecx, ecx
test byte [eax + ecx*8 + 0xf], 1
je 0x4cf658
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov dword [edx + esi*4], eax
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x2a]
cmp esi, ecx
jl 0x4cf6b1
cmp dword [esp + 0x30], 0
jne 0x4cf741
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 4]
call fcn.004a3560
test eax, eax
je 0x4cf741
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
or esi, 0xffffffff
mov byte [esp + 0x1b], 1
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x1c], str.ROWID
jmp 0x4cf6cd
test esi, esi
jns 0x4cf6bf
mov dword [esp + 0x1c], str.ROWID
jmp 0x4cf6cd
mov ecx, dword [eax + 4]
mov edx, esi
add edx, edx
mov edx, dword [ecx + edx*8]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x28]
mov edx, dword [edi + 0x10]
mov eax, dword [eax]
add ecx, ecx
mov ecx, dword [edx + ecx*8]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
push 0x17
mov eax, ebx
call fcn.004abc10
add esp, 0x10
cmp eax, 1
je 0x4cf766
cmp eax, 2
jne 0x4cf707
mov ecx, dword [esp + 0x34]
mov dword [ecx + esi*4], 0xffffffff
mov eax, dword [esp + 0x40]
mov edx, dword [ebp + 0x10]
add dword [esp + 0x14], 0x18
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [edx]
jl 0x4cf560
mov edi, dword [esp + 0x10]
mov esi, dword [ebp + 0xc]
mov dl, byte [esp + 0x23]
add dl, byte [esp + 0x1b]
cmp dword [edi + 0x38], 0
mov byte [esp + 0x38], dl
je 0x4cf7ad
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x4cf7b1
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ecx + eax*8 + 0xc]
push edx
push str.no_such_column:__s
push ebx
call fcn.00472420
add esp, 0xc
mov byte [ebx + 0x11], 1
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x4cf77e
mov ecx, dword [esp + 0xa8]
mov dword [eax + 0x1b8], ecx
mov esi, dword [esp + 0x34]
test esi, esi
je 0x4d0b94
test edi, edi
je 0x4d0b3c
cmp dword [edi + 0x1c8], 0
je 0x4d0b16
mov eax, esi
mov ecx, edi
call fcn.0046f850
jmp 0x4d0b94
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ecx
mov eax, dword [ebx]
test dword [eax + 0x18], 0x4000
je 0x4cf7e0
movzx ecx, byte [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
push edi
call fcn.004b9230
mov dl, byte [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x3c], eax
jmp 0x4cf7e8
mov dword [esp + 0x3c], 0
mov eax, dword [edi + 8]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x4cf8dc
jmp 0x4cf804
mov dl, byte [esp + 0x38]
test dl, dl
jne 0x4cf883
cmp dword [esp + 0x3c], 1
jg 0x4cf883
cmp dword [eax + 0x24], 0
jne 0x4cf883
cmp eax, dword [esp + 0x30]
je 0x4cf883
movzx esi, word [eax + 0x32]
xor edx, edx
xor ecx, ecx
test esi, esi
jle 0x4cf896
mov esi, dword [eax + 4]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x14]
movzx esi, word [esi]
test si, si
js 0x4cf856
movsx esi, si
cmp dword [edi + esi*4], edx
jge 0x4cf856
movzx esi, word [eax + 0x32]
add dword [esp + 0x14], 2
inc ecx
cmp ecx, esi
jl 0x4cf832
jmp 0x4cf896
mov esi, 1
add dword [ebx + 0x2c], esi
movzx ecx, word [eax + 0x34]
mov edx, dword [ebx + 0x2c]
add ecx, edx
mov dword [ebx + 0x2c], ecx
mov ecx, dword [ebp + 0x18]
cmp ecx, 5
je 0x4cf87d
cmp ecx, 0xa
jne 0x4cf892
cmp byte [eax + 0x36], 5
jne 0x4cf892
mov dword [esp + 0x68], esi
jmp 0x4cf892
inc dword [ebx + 0x2c]
movzx ecx, word [eax + 0x34]
mov edx, dword [ebx + 0x2c]
add ecx, edx
mov dword [ebx + 0x2c], ecx
test edx, edx
jne 0x4cf8a3
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x44]
mov byte [ecx + esi + 1], 0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x74]
mov dword [esi + ecx*4], edx
mov eax, dword [eax + 0x14]
inc ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x4cf800
cmp dword [esp + 0x68], eax
je 0x4cf8dc
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x44]
inc eax
push eax
push 1
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, dword [ebx + 8]
test eax, eax
je 0x4cf8e9
mov dword [esp + 0x14], eax
jmp 0x4cf8f2
call fcn.004c5e20
mov dword [esp + 0x14], eax
test eax, eax
je 0x4cf762
cmp byte [ebx + 0x12], 0
jne 0x4cf907
or dword [eax + 0x94], 0x10
mov edx, dword [ebx + 0x78]
mov edi, edx
test edx, edx
jne 0x4cf914
mov edi, ebx
mov edx, ebx
mov ecx, dword [esp + 0x54]
mov eax, dword [edx + 0x5c]
mov esi, 1
shl esi, cl
test eax, esi
jne 0x4cf93e
mov ecx, esi
or ecx, eax
cmp dword [esp + 0x54], 1
mov dword [edx + 0x5c], ecx
jne 0x4cf93e
mov ebx, edx
call fcn.004b1f90
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
or dword [edi + 0x58], esi
or byte [edi + 0x14], 1
cmp dword [ecx + 0x38], 0
jne 0x4cf9c5
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x94], eax
inc eax
cmp byte [esp + 0x23], 0
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], eax
jne 0x4cf97d
cmp dword [esp + 0x5c], 0
jne 0x4cf97d
cmp dword [esp + 0x3c], 0
je 0x4cf990
lea edx, [eax + 1]
mov dword [esp + 0x98], edx
movsx edx, word [ecx + 0x2a]
add edx, eax
mov dword [ebx + 0x2c], edx
cmp byte [esp + 0x38], 0
jne 0x4cf9a5
cmp dword [esp + 0x5c], 0
jne 0x4cf9a5
cmp dword [esp + 0x3c], 0
je 0x4cf9af
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x60], eax
movsx ecx, word [ecx + 0x2a]
mov eax, dword [ebx + 0x2c]
lea edx, [eax + 1]
add ecx, eax
mov dword [esp + 0x88], edx
mov dword [ebx + 0x2c], ecx
cmp dword [esp + 0x70], 0
je 0x4cf9ff
mov edx, dword [ebx + 0x1b8]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov dword [esp + 0xa8], edx
mov edx, dword [esp + 0x2c]
push edx
mov dword [ebx + 0x1b8], ecx
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push ebx
mov dword [esp + 0xbc], ebx
call fcn.004b3790
add esp, 0x10
mov edi, dword [ebp + 0x14]
lea esi, [esp + 0xb0]
call fcn.004a0a50
test eax, eax
jne 0x4cf762
mov esi, dword [esp + 0x10]
cmp dword [esi + 0x38], eax
je 0x4cfa4b
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x90]
mov eax, edi
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
push esi
push ecx
mov eax, ebx
call fcn.004d0bd0
add esp, 0x1c
jmp 0x4cf762
mov edx, dword [esp + 0x28]
test byte [edx + 0x18], 0x80
je 0x4cfa7e
cmp dword [ebx + 0x7c], 0
jne 0x4cfa7e
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov edi, dword [esp + 0x14]
push 0
push eax
push 0
push 0x38
push edi
mov dword [esp + 0x80], eax
call fcn.0048e3e0
add esp, 0x14
jmp 0x4cfa82
mov edi, dword [esp + 0x14]
test byte [esi + 0x24], 0x20
jne 0x4cfaa7
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x94]
push eax
push ecx
push 0
push 0x3b
push edi
call fcn.0048e3e0
add esp, 0x14
jmp 0x4cfb40
mov edx, dword [esp + 0x30]
movzx ecx, word [edx + 0x32]
mov eax, dword [ebx + 0x2c]
lea edx, [eax + 1]
movsx esi, cx
lea eax, [esi + eax + 1]
push 0
push edx
mov dword [ebx + 0x2c], eax
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x28]
push 0
mov dword [esp + 0x70], eax
inc eax
push 0x3b
push edi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0x5c], edx
mov dword [ebx + 0x28], eax
call fcn.0048e3e0
mov eax, dword [esp + 0x78]
add esp, 0x14
push 0
push esi
push eax
push 0x6c
push edi
call fcn.0048e3e0
mov ecx, dword [esp + 0x44]
mov esi, dword [ebx + 8]
add esp, 0x14
push ecx
push ebx
mov dword [esp + 0x58], eax
call fcn.004b2990
add esp, 8
test eax, eax
je 0x4cfb40
mov ecx, dword [esi]
cmp byte [ecx + 0x45], 0
je 0x4cfb29
mov edx, 0xfffffff7
call fcn.0048ed10
jmp 0x4cfb40
mov ecx, dword [esi + 0x88]
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x58]
lea ecx, [ecx + edx*4 - 0x14]
mov byte [ecx + 1], 0xf7
mov dword [ecx + 0x10], eax
cmp byte [ebx + 0x12], 0
mov eax, 0x1004
jne 0x4cfb6c
cmp dword [esp + 0x5c], 0
jne 0x4cfb6c
cmp dword [esp + 0x3c], 0
jne 0x4cfb6c
cmp byte [esp + 0x38], 0
jne 0x4cfb6c
cmp dword [esp + 0x68], 0
jne 0x4cfb6c
mov eax, 0x100c
mov edx, dword [esp + 0x7c]
mov ecx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [ebp + 0x14]
push 0
push 0
push eax
push ecx
push ebx
call fcn.004ddc70
add esp, 0x1c
mov dword [esp + 0x78], eax
test eax, eax
je 0x4cf762
movzx esi, byte [eax + 0x31]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x1c], esi
cmp esi, 2
jne 0x4cfbd5
test ecx, ecx
js 0x4cfbd5
cmp ecx, dword [esp + 0x2c]
je 0x4cfbd5
sub ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x44]
cmp byte [ecx + eax], 0
je 0x4cfbd5
mov dword [esp + 0x1c], 0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x24], 0x20
jne 0x4cfc1f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
push 0
push edx
push eax
push 0x7b
push edi
call fcn.0048e3e0
add esp, 0x14
test esi, esi
jne 0x4cfca8
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x94]
push esi
push ecx
push edx
push 0x8f
push edi
call fcn.0048e3e0
add esp, 0x14
jmp 0x4cfcaf
movsx eax, word [esp + 0xa4]
xor esi, esi
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4cfc5d
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x10]
lea ecx, [esi + eax]
mov eax, dword [edx + 4]
movsx eax, word [eax + esi*2]
push ecx
mov ecx, dword [esp + 0x30]
push ecx
push edi
call fcn.004a5dc0
inc esi
add esp, 0xc
cmp esi, dword [esp + 0x40]
jl 0x4cfc31
cmp dword [esp + 0x1c], 0
je 0x4cfd5b
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x4cfc95
mov eax, dword [esp + 0x50]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
mov eax, dword [esi + 0x10]
call fcn.0048ed10
mov dword [esi + 0x10], 0
mov word [esi], 0xa6
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x4c], edx
cmp dword [esp + 0x1c], 2
je 0x4cfcbc
mov eax, dword [esp + 0x78]
push eax
call fcn.004de700
add esp, 4
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0x44]
lea edx, [ebx - 1]
lea ecx, [ebx + 1]
mov dword [esp + 0x50], eax
mov dword [eax + 0x44], ecx
test ebx, edx
jne 0x4cfcf7
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
lea ecx, [ebx*8 + 4]
push 0
push ecx
call fcn.0046fde0
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x1c]
mov dword [edx + 0x48], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4cfd05
mov dword [eax + ebx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ebx
cmp dword [esp + 0x70], 0
mov dword [esp + 0x48], eax
jne 0x4cfe51
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
test ecx, ecx
je 0x4cfdca
mov eax, dword [esp + 0x54]
test eax, eax
js 0x4cfd3d
sub eax, dword [esp + 0x84]
mov edx, dword [esp + 0x44]
mov byte [eax + edx], bl
mov esi, dword [esp + 0x58]
test esi, esi
js 0x4cfdce
mov edx, dword [esp + 0x44]
mov eax, esi
sub eax, dword [esp + 0x84]
mov byte [eax + edx], bl
jmp 0x4cfdce
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
call fcn.004b9e70
mov ebx, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov esi, eax
mov eax, dword [esp + 0x4c]
push eax
push ebx
push ecx
push 0x63
push edi
call fcn.0048e3e0
add esp, 0x14
push ebx
push esi
push eax
push edi
call fcn.0048ef60
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
push 0x7e
push edi
call fcn.0048e3e0
mov edx, dword [edi]
add esp, 0x24
cmp byte [edx + 0x45], 0
jne 0x4cfcaf
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov edx, ebx
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edx
jmp 0x4cfcaf
mov esi, dword [esp + 0x58]
cmp ecx, 2
jne 0x4cfdfa
mov eax, dword [esp + 0x80]
xor ecx, ecx
test esi, esi
setns cl
sub eax, ecx
test eax, eax
jle 0x4cfdfa
push 0
push 0
push 0
push 0x14
push edi
call fcn.0048e3e0
add esp, 0x14
mov ebx, eax
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x10]
push 0
push 0
push edx
mov edx, dword [ebp + 8]
push eax
push 0
push 0x69
push ecx
push edx
call fcn.004bce60
add esp, 0x20
test ebx, ebx
je 0x4cfe55
mov ecx, dword [edi + 0x88]
mov eax, ebx
jns 0x4cfe31
lea eax, [ecx - 1]
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x4cfe43
mov eax, 0x573b6c
mov dword [eax + 8], ecx
jmp 0x4cfe55
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
jmp 0x4cfe55
mov esi, dword [esp + 0x58]
cmp dword [esp + 0x1c], 0
je 0x4cff29
cmp dword [esp + 0x70], 0
jne 0x4cfeaa
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x54], eax
je 0x4cfeaa
cmp esi, eax
je 0x4cfeaa
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
push ecx
push edx
push eax
push 0x1d
push edi
call fcn.0048e3e0
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x4cfeaa
mov ecx, dword [esp + 0x90]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
cmp dword [esp + 0x1c], 1
jne 0x4cfebb
mov edx, dword [esp + 0x48]
mov dword [esp + 0x14], edx
jmp 0x4cff0b
mov ebx, dword [edi + 0xc]
mov eax, dword [ebx + 0x44]
lea edx, [eax - 1]
lea ecx, [eax + 1]
mov dword [esp + 0x50], eax
mov dword [ebx + 0x44], ecx
test eax, edx
jne 0x4cfef4
mov edi, dword [ebx + 0x48]
mov esi, dword [ebx]
lea eax, [eax*8 + 4]
push 0
push eax
call fcn.0046fde0
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x48], eax
mov eax, dword [esp + 0x58]
add esp, 8
mov ebx, dword [ebx + 0x48]
test ebx, ebx
je 0x4cff02
mov dword [ebx + eax*4], 0xffffffff
or ecx, 0xffffffff
sub ecx, eax
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x4c]
jne 0x4cff1a
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
push 0
push ecx
push eax
push 0x4b
jmp 0x4d0015
cmp dword [esp + 0x30], 0
je 0x4cffeb
mov eax, dword [edi + 0xc]
mov ebx, dword [eax + 0x44]
lea ecx, [ebx - 1]
lea edx, [ebx + 1]
mov dword [esp + 0x54], eax
mov dword [eax + 0x44], edx
test ebx, ecx
jne 0x4cff6f
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
lea edx, [ebx*8 + 4]
push 0
push edx
call fcn.0046fde0
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0x48], eax
add esp, 8
mov eax, ecx
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4cff7d
mov dword [eax + ebx*4], 0xffffffff
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x64]
push 0
push edx
push eax
or esi, 0xffffffff
push 0x25
sub esi, ebx
push edi
mov dword [esp + 0x28], esi
call fcn.0048e3e0
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x78]
add esp, 0x14
push 0
push ebx
push ecx
push 0x7a
push edi
call fcn.0048e3e0
mov edx, dword [esp + 0x40]
add esp, 0x14
push ebx
push esi
push edx
push 0x1d
push edi
mov dword [esp + 0xb0], eax
call fcn.0048e3e0
mov ecx, dword [edi]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x4d001e
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], 0
jmp 0x4d001e
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x94]
push ebx
push ecx
push edx
push 0x2a
push edi
call fcn.0048e3e0
add esp, 0x14
push ebx
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
push 0x20
push edi
call fcn.0048e3e0
add esp, 0x14
cmp byte [esp + 0x1b], 0
je 0x4d004e
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ebp + 8]
push esi
push ecx
push edx
call fcn.004a7280
add esp, 0xc
push 0
push 0
push esi
push 0x11
push edi
call fcn.0048e3e0
add esp, 0x14
cmp byte [esp + 0x23], 0
jne 0x4d0110
cmp dword [esp + 0x3c], 0
jne 0x4d011b
cmp dword [esp + 0x5c], 0
je 0x4d0200
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x44], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push ebx
push 3
push 0
push edx
push eax
mov eax, dword [esp + 0x74]
call fcn.004cf170
or dword [esp + 0x5c], eax
xor ecx, ecx
add esp, 0x18
xor esi, esi
cmp cx, word [ebx + 0x2a]
jge 0x4d0199
mov ebx, dword [esp + 0x98]
mov dword [esp + 0x54], ecx
xor edx, edx
cmp dword [esp + 0x44], 0xffffffff
je 0x4d0163
cmp esi, 0x20
jge 0x4d00da
mov eax, 1
mov ecx, esi
shl eax, cl
test dword [esp + 0x44], eax
jne 0x4d0163
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x54]
test byte [ecx + eax + 0xf], 1
jne 0x4d0163
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d0135
push 0
lea eax, [esi + ebx]
push eax
push 0
push 0x3b
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0181
cmp dword [esp + 0x3c], 0
je 0x4d006f
mov ebx, dword [esp + 0x10]
mov eax, dword [ebp + 8]
push ebx
push eax
call fcn.004b9150
add esp, 8
mov dword [esp + 0x44], eax
jmp 0x4d007b
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
lea ecx, [esi + ebx]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x3b
jmp 0x4d0183
mov edx, dword [esp + 0x2c]
add ebx, esi
push ebx
mov ebx, dword [esp + 0x14]
push edx
push edi
mov eax, esi
call fcn.004a5dc0
mov ebx, dword [esp + 0xa4]
add esp, 0xc
xor edx, edx
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x2a]
add dword [esp + 0x54], 0x10
inc esi
cmp esi, ecx
jl 0x4d00b7
cmp byte [esp + 0x1b], 0
jne 0x4d0200
xor ecx, ecx
cmp dword [esp + 0x30], ecx
jne 0x4d0200
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d01cf
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x28]
push eax
push ecx
push 0x40
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0200
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x40
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x60]
push esi
push 1
push 1
push ecx
push edx
call fcn.004cf170
mov dword [esp + 0x68], eax
xor eax, eax
add esp, 0x18
mov dword [esp + 0x40], 0
cmp ax, word [esi + 0x2a]
jge 0x4d0431
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x10]
movsx edx, word [ecx + 0x28]
mov ecx, dword [esp + 0x40]
cmp ecx, edx
jne 0x4d029f
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d0274
push 0
push ebx
push 0
push 0x3b
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0417
mov ecx, dword [edi + 0x58]
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x3b
jmp 0x4d0417
mov eax, dword [esp + 0x34]
mov eax, dword [eax + ecx*4]
xor edx, edx
cmp eax, edx
jl 0x4d0344
lea ecx, [eax + eax*2]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + ecx*8 + 8]
cmp eax, edx
je 0x4d031b
cmp byte [eax], 0x9d
jne 0x4d031b
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov eax, dword [ecx + 8]
mov ecx, dword [eax + 0x88]
mov esi, dword [eax + 0xc]
cmp dword [esi + 0x30], ecx
jg 0x4d02ed
push 0
push ebx
push edx
push 0x40
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0417
lea esi, [ecx + 1]
mov dword [eax + 0x88], esi
mov eax, dword [eax + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x40
jmp 0x4d0417
mov edx, dword [ebp + 8]
push ebx
push eax
push edx
call fcn.004a6080
add esp, 0xc
cmp eax, ebx
je 0x4d0417
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x4d0417
jmp 0x4d03d1
test dword [esp + 0xa0], 1
je 0x4d03ab
cmp ecx, 0x1f
jg 0x4d03ab
mov eax, 1
shl eax, cl
test dword [esp + 0x50], eax
jne 0x4d03ab
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d0385
push edx
push ebx
push edx
push 0x3b
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0417
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0x3b
jmp 0x4d0417
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
push 0
push ebx
push edx
push eax
push ecx
call fcn.004a5e70
add esp, 0x14
cmp eax, ebx
je 0x4d0417
mov edx, esi
mov ecx, dword [edx + 8]
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x88]
cmp dword [esi + 0x30], edx
jg 0x4d03f1
push 0
push ebx
push eax
push 0x41
mov eax, ecx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0417
lea esi, [edx + 1]
mov dword [ecx + 0x88], esi
mov ecx, dword [ecx + 0x58]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx], 0x41
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 8], ebx
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
movsx edx, word [ecx + 0x2a]
inc eax
inc ebx
mov dword [esp + 0x40], eax
cmp eax, edx
jl 0x4d0240
test byte [esp + 0xa0], 1
je 0x4d05cf
mov eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x14]
push edi
call fcn.004b9f50
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x1c]
add esp, 8
test ebx, ebx
je 0x4d04a2
cmp byte [ebx + 8], 0x6e
jne 0x4d049b
cmp byte [ebx + 9], 1
jne 0x4d049b
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp + 0x10]
push ecx
call fcn.004ce710
add esp, 4
test eax, eax
je 0x4d049b
mov edx, dword [ebp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push esi
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push ebx
push edx
call fcn.004cf000
add esp, 0x18
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x4d0460
xor edx, edx
cmp dword [esp + 0x30], edx
je 0x4d0529
mov ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4d04d5
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
push ecx
push esi
push ebx
push 0x1d
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0508
mov ebx, dword [edi + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [ebx + eax*4]
xor ebx, ebx
mov word [eax + 2], bx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 4], ebx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov word [eax], 0x1d
mov eax, ecx
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x4d057d
mov ecx, dword [esp + 0x90]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
jmp 0x4d057d
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
mov ebx, dword [esp + 0x2c]
cmp dword [ecx + 0x30], eax
jg 0x4d0550
mov edx, dword [esp + 0x24]
push edx
push esi
push ebx
push 0x20
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d057d
lea ecx, [eax + 1]
mov dword [edi + 0x88], ecx
mov ecx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ebx
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0x20
mov eax, dword [esp + 0x10]
xor edx, edx
xor esi, esi
cmp dx, word [eax + 0x2a]
jge 0x4d05d3
jmp 0x4d0590
mov ecx, dword [esp + 0x34]
cmp dword [ecx + esi*4], 0
jge 0x4d05c4
movsx edx, word [eax + 0x28]
cmp esi, edx
je 0x4d05c4
mov eax, dword [esp + 0x88]
add eax, esi
push eax
push ebx
mov ebx, dword [esp + 0x18]
push edi
mov eax, esi
call fcn.004a5dc0
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esp, 0xc
movsx ecx, word [eax + 0x2a]
inc esi
cmp esi, ecx
jl 0x4d0590
jmp 0x4d05d3
mov ebx, dword [esp + 0x2c]
cmp dword [esp + 0x70], 0
jne 0x4d0860
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ebp + 0x18]
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x70]
push eax
mov eax, dword [esp + 0x90]
push ecx
mov ecx, dword [esp + 0x8c]
push edx
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [ebp + 8]
push ebx
push ecx
push edx
push eax
xor esi, esi
call fcn.004bb4f0
add esp, 0x30
cmp dword [esp + 0x3c], esi
je 0x4d064c
movzx ecx, byte [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ebp + 8]
push esi
push eax
push ecx
push edx
call fcn.004b8bc0
add esp, 0x18
xor edx, edx
cmp dword [esp + 0x68], edx
jne 0x4d065e
cmp byte [esp + 0x38], dl
je 0x4d072a
mov ecx, dword [edi + 0x88]
mov eax, dword [edi + 0xc]
cmp dword [esp + 0x30], edx
je 0x4d06de
cmp dword [eax + 0x30], ecx
jg 0x4d068c
mov ecx, dword [esp + 0x4c]
push ecx
push 0
push ebx
push 0x1d
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d06bb
mov esi, dword [edi + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [esp + 0x4c]
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], edx
mov word [eax], 0x1d
mov eax, ecx
mov ecx, dword [edi]
cmp byte [ecx + 0x45], 0
jne 0x4d06da
mov ecx, dword [edi + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x90]
mov byte [ecx + 1], 0xfd
mov dword [ecx + 0x10], edx
mov esi, eax
jmp 0x4d072a
cmp dword [eax + 0x30], ecx
jg 0x4d06fb
mov ecx, dword [esp + 0x24]
push ecx
push 0
push ebx
push 0x20
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
mov esi, eax
jmp 0x4d072a
mov esi, dword [edi + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
xor esi, esi
mov word [eax + 2], si
mov esi, dword [esp + 0x24]
mov dword [eax + 0xc], esi
mov dword [eax + 4], ebx
mov dword [eax + 8], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x20
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x18]
push edx
push ebx
push eax
call fcn.004b4620
add esp, 0x14
cmp dword [esp + 0x3c], 1
jg 0x4d0755
cmp byte [esp + 0x38], 0
je 0x4d079c
mov eax, dword [edi + 0x88]
mov ecx, dword [edi + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d0776
push 0
push 0
push ebx
push 0x76
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d079c
mov ecx, dword [edi + 0x58]
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x76
cmp dword [esp + 0x68], 0
jne 0x4d07aa
cmp byte [esp + 0x38], 0
je 0x4d07d2
mov ecx, dword [edi + 0x88]
test esi, esi
jns 0x4d07b7
lea esi, [ecx - 1]
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
je 0x4d07c6
mov eax, 0x573b6c
jmp 0x4d07cf
mov eax, dword [edi + 0x58]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [eax + 8], ecx
cmp dword [esp + 0x3c], 0
je 0x4d07fc
movzx ecx, byte [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [ebp + 8]
push eax
push 0
push ecx
push edx
call fcn.004b8bc0
add esp, 0x18
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x60]
xor eax, eax
cmp dword [esp + 0x1c], 2
push 0
setne al
push 0
dec eax
and eax, 2
or eax, 4
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ebp + 8]
push eax
push ebx
push ecx
push edx
call fcn.004bcb60
add esp, 0x24
cmp dword [esp + 0x3c], 0
je 0x4d0860
movzx eax, byte [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov ebx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
call fcn.004b9c10
add esp, 0x10
mov ecx, dword [esp + 0x28]
test byte [ecx + 0x18], 0x80
mov esi, dword [esp + 0x14]
je 0x4d08cd
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp dword [edx + 0x7c], ecx
jne 0x4d08cd
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d089c
mov eax, dword [esp + 0x6c]
push ecx
push 1
push eax
push 0x45
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d08cd
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x45
mov ebx, dword [esp + 0x5c]
test ebx, ebx
je 0x4d0917
cmp byte [ebx + 8], 0x6e
jne 0x4d0910
cmp byte [ebx + 9], 2
jne 0x4d0910
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebp + 0x10]
call fcn.004ce710
add esp, 4
test eax, eax
je 0x4d0910
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push esi
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ebx
push ecx
call fcn.004cf000
add esp, 0x18
mov ebx, dword [ebx + 0x20]
test ebx, ebx
jne 0x4d08d5
cmp dword [esp + 0x1c], 1
je 0x4d0a20
cmp dword [esp + 0x1c], 2
jne 0x4d0956
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4d0944
mov ecx, dword [edi + 0x88]
lea edx, [esi*4 + 4]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [esp + 0x78]
push edx
call fcn.004de700
add esp, 4
jmp 0x4d0a20
xor ecx, ecx
cmp dword [esp + 0x30], ecx
je 0x4d09db
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x48]
cmp eax, ecx
je 0x4d097d
lea edx, [esi*4 + 4]
sub eax, edx
mov edx, dword [edi + 0x88]
mov dword [eax], edx
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d09ab
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x64]
push 0
push eax
push ecx
push 7
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0a20
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x9c]
mov dword [eax + 8], edx
mov word [eax], 7
jmp 0x4d0a1a
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d09fc
push 0
push esi
push 0
push 0xd
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0a20
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax], 0xd
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov eax, dword [edi + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4d0a3f
mov ecx, dword [esp + 0x48]
lea edx, [ecx*4 + 4]
mov ecx, dword [edi + 0x88]
sub eax, edx
mov dword [eax], ecx
mov eax, dword [ebp + 8]
cmp byte [eax + 0x12], 0
jne 0x4d0a5d
cmp dword [eax + 0x7c], 0
jne 0x4d0a5d
cmp dword [eax + 0x74], 0
je 0x4d0a5d
mov esi, eax
call fcn.004ba330
mov eax, esi
mov edx, dword [esp + 0x28]
test byte [edx + 0x18], 0x80
je 0x4d0b08
xor ecx, ecx
cmp dword [eax + 0x7c], ecx
jne 0x4d0b08
cmp byte [eax + 0x12], cl
jne 0x4d0b08
mov eax, dword [edi + 0x88]
mov edx, dword [edi + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d0aa3
mov eax, dword [esp + 0x6c]
push ecx
push 1
push eax
push 0x43
mov eax, edi
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d0ad4
lea edx, [eax + 1]
mov dword [edi + 0x88], edx
mov edx, dword [edi + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x6c]
mov dword [eax + 4], edx
mov dword [eax + 8], 1
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x43
push 1
mov ebx, edi
call fcn.0048ffc0
mov eax, dword [edi]
add esp, 4
cmp byte [eax + 0x45], 0
jne 0x4cf762
mov edx, dword [edi + 0x64]
push 1
push str.rows_updated
xor eax, eax
or ecx, 0xffffffff
call fcn.0048d8e0
add esp, 8
jmp 0x4cf762
mov edi, edx
jmp 0x4cf766
mov edi, eax
jmp 0x4cf766
cmp esi, dword [edi + 0x120]
jb 0x4d0b3c
cmp esi, dword [edi + 0x124]
jae 0x4d0b3c
mov edx, dword [edi + 0x11c]
mov dword [esi], edx
dec dword [edi + 0x108]
mov dword [edi + 0x11c], esi
jmp 0x4d0b94
cmp dword [0x56f040], 0
je 0x4d0b8a
mov eax, dword [0x15799b8]
test eax, eax
je 0x4d0b58
push eax
call dword [0x56f098]
add esp, 4
push esi
call dword [0x56f074]
sub dword [0x1579800], eax
dec dword [0x1579824]
add esp, 4
push esi
call dword [0x56f06c]
mov eax, dword [0x15799b8]
add esp, 4
test eax, eax
je 0x4d0b94
push eax
call dword [0x56f0a0]
jmp 0x4d0b91
push esi
call dword [0x56f06c]
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov eax, edi
call fcn.004b1930
mov eax, dword [ebp + 0x10]
add esp, 4
test eax, eax
je 0x4d0bb3
push eax
push edi
call fcn.004a2f20
add esp, 8
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4d0bc4
push eax
push edi
call fcn.004a1f00
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret