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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xdc
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esp + 0xc0]
xor ecx, ecx
mov dword [esp + 0x88], esi
push 8
push ecx
mov edi, edx
mov dword [esp + 0xc4], ecx
push eax
mov dword [esp + 0x7c], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x78], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x4c], ecx
call fcn.00589570
mov ebx, dword [esi]
add esp, 0xc
cmp dword [esi + 0x24], 0
mov dword [esp + 0x18], ebx
jne 0x49a11f
cmp byte [ebx + 0x51], 0
jne 0x49a11f
mov edx, edi
mov ecx, esi
call fcn.004861d7
mov ebx, eax
mov dword [esp + 0x78], ebx
test ebx, ebx
je 0x49a0ba
mov edx, dword [ebx + 0x48]
mov ecx, dword [esi]
call fcn.00490c32
mov edi, dword [ebp + 8]
mov edx, ebx
mov dword [esp + 0x24], eax
mov ecx, esi
lea eax, [esp + 0x9c]
push eax
push edi
push 0x7d
call fcn.004987f7
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xc]
mov edx, ebx
mov ecx, esi
mov dword [esp + 0x8c], eax
call fcn.00483201
test eax, eax
jne 0x49933c
push dword [esp + 0x9c]
mov edx, ebx
mov ecx, esi
call fcn.00486214
pop ecx
test eax, eax
jne 0x49933c
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x80], ecx
lea edx, [ecx + 1]
mov dword [esi + 0x28], edx
test byte [ebx + 0x24], 0x20
mov dword [esp + 0x90], edx
jne 0x499079
and dword [esp + 0x20], eax
jmp 0x499088
mov ecx, ebx
call fcn.004818cf
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 8]
xor edi, edi
mov dword [esp + 0x64], edi
test eax, eax
je 0x4990b0
cmp dword [esp + 0x20], eax
cmove ecx, edx
inc edx
mov dword [esi + 0x28], edx
inc edi
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x499095
mov dword [esp + 0x64], edi
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4990d2
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x90], edx
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x70]
push 0
mov dword [eax + 0x34], ecx
movsx eax, word [ebx + 0x2a]
mov ecx, dword [esp + 0x1c]
add eax, edi
lea eax, [eax*4 + 6]
add eax, edi
push eax
call fcn.00451e5f
mov edx, eax
mov dword [esp + 0x18], edx
pop ecx
pop ecx
test edx, edx
je 0x49a0be
movsx eax, word [ebx + 0x2a]
lea eax, [edx + eax*4]
lea ecx, [eax + 4]
mov dword [esp + 0x60], eax
lea eax, [edi + 1]
push eax
xor eax, eax
lea ecx, [ecx + edi*4]
inc eax
mov dword [esp + 0x4c], ecx
push eax
push ecx
call fcn.00589570
mov eax, dword [esp + 0x54]
add esp, 0xc
xor ecx, ecx
mov byte [eax + edi + 1], 0
xor eax, eax
cmp ax, word [ebx + 0x2a]
jge 0x499155
mov esi, dword [esp + 0x10]
or dword [esi + ecx*4], 0xffffffff
inc ecx
movsx eax, word [ebx + 0x2a]
cmp ecx, eax
jl 0x499141
mov esi, dword [esp + 0x88]
push 0x20
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.00589570
mov eax, dword [esp + 0x7c]
xor cl, cl
mov edi, dword [ebp + 8]
add esp, 0xc
and dword [esp + 0x30], 0
mov dword [esp + 0xcc], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0xd0], eax
xor al, al
cmp dword [edi], 0
mov dword [esp + 0xc8], esi
mov dword [esp + 0xe0], 0x200
mov dword [esp + 0x84], eax
mov byte [esp + 0xf], cl
jle 0x499307
lea eax, [edi + 4]
mov dword [esp + 0x28], eax
mov edx, dword [eax]
lea ecx, [esp + 0xc8]
call fcn.00478120
test eax, eax
jne 0x49a0ba
movsx eax, word [ebx + 0x2a]
xor edi, edi
test eax, eax
jle 0x499255
mov eax, dword [ebx + 4]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov ecx, dword [eax]
call fcn.004543ae
test eax, eax
je 0x499206
mov eax, dword [esp + 0x74]
inc edi
movsx ecx, word [ebx + 0x2a]
add eax, 0x10
mov dword [esp + 0x74], eax
cmp edi, ecx
jl 0x4991de
jmp 0x499255
movsx eax, word [ebx + 0x28]
cmp edi, eax
jne 0x499221
xor eax, eax
inc eax
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
jmp 0x49924a
cmp dword [esp + 0x20], 0
je 0x49924a
mov ecx, dword [ebx + 4]
mov eax, edi
add eax, eax
xor edx, edx
inc edx
test byte [ecx + eax*8 + 0xf], dl
mov eax, dword [esp + 0x84]
movzx eax, al
cmovne eax, edx
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov dword [ecx + edi*4], eax
movsx eax, word [ebx + 0x2a]
cmp edi, eax
jl 0x499290
cmp dword [esp + 0x20], 0
jne 0x49931c
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
call fcn.00479f3c
test eax, eax
je 0x49931c
xor eax, eax
or edi, 0xffffffff
inc eax
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [esp + 0x44], eax
test edi, edi
jns 0x49929b
mov edx, str.ROWID
jmp 0x4992a5
mov eax, dword [ebx + 4]
mov ecx, edi
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
add ecx, ecx
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push edx
push dword [ebx]
push 0x17
pop edx
call fcn.00480c63
xor ecx, ecx
add esp, 0xc
inc ecx
cmp eax, ecx
je 0x49a0ba
cmp eax, 2
jne 0x4992dd
mov eax, dword [esp + 0x10]
or dword [eax + edi*4], 0xffffffff
mov edi, dword [esp + 0x30]
mov ecx, dword [ebp + 8]
inc edi
mov eax, dword [esp + 0x28]
add eax, 0x18
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], eax
cmp edi, dword [ecx]
jl 0x4991b7
mov eax, dword [esp + 0x84]
mov cl, byte [esp + 0xf]
cmp dword [ebx + 0x38], 0
lea edx, [ecx + eax]
mov byte [esp + 0x68], dl
je 0x499345
or eax, 0xffffffff
or ecx, 0xffffffff
jmp 0x49935f
imul eax, dword [esp + 0x30], 0x18
mov edi, dword [ebp + 8]
push dword [eax + edi + 8]
push str.no_such_column:__s
push esi
call fcn.004542c2
xor eax, eax
add esp, 0xc
inc eax
mov byte [esi + 0x11], al
mov edx, dword [esp + 0x10]
jmp 0x49a0c1
xorps xmm0, xmm0
movlpd qword [esp + 0xa8], xmm0
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0x70]
mov dword [edi + 0x40], eax
movzx eax, dl
mov edx, ebx
push eax
push dword [esp + 0x14]
mov dword [edi + 0x44], ecx
mov ecx, esi
mov dword [esp + 0x7c], eax
call fcn.00489fa2
cmp dword [ebp + 0x10], 5
pop ecx
pop ecx
mov ecx, eax
mov eax, dword [esp + 0x5c]
push 1
pop edx
cmove eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x5c], eax
xor eax, eax
mov edi, dword [ebx + 8]
mov dword [esp + 0x28], eax
test edi, edi
je 0x4994e0
mov ebx, dword [esp + 0x48]
jmp 0x4993b2
xor edx, edx
inc edx
cmp byte [esp + 0x68], 0
jne 0x49949f
cmp ecx, edx
jg 0x49949f
cmp edi, dword [esp + 0x20]
je 0x49949f
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x4993f2
movzx eax, byte [esp + 0xf]
mov edx, dword [esp + 0x10]
push eax
call fcn.0048ba71
pop ecx
test eax, eax
jne 0x49949f
mov eax, dword [esp + 0x28]
xor esi, esi
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xa8], edx
cmp si, word [edi + 0x32]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x30], ecx
jae 0x4994b6
mov dword [esp + 0x50], edx
mov eax, dword [edi + 4]
movzx eax, word [eax + ecx*2]
test ax, ax
js 0x499437
mov ebx, dword [esp + 0x10]
cwde
mov eax, dword [ebx + eax*4]
mov ebx, dword [esp + 0x48]
not eax
shr eax, 0x1f
jmp 0x49945a
movzx eax, byte [esp + 0xf]
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [ecx + eax + 4]
call fcn.0048ba71
mov edx, dword [esp + 0x54]
pop ecx
mov ecx, dword [esp + 0x30]
test eax, eax
jne 0x49947b
movzx eax, word [edi + 0x32]
inc ecx
add edx, 0x18
mov dword [esp + 0x30], ecx
mov dword [esp + 0x50], edx
cmp ecx, eax
jl 0x499418
mov edx, dword [esp + 0xa8]
jmp 0x4994b2
inc dword [esi + 0x2c]
movzx eax, word [edi + 0x34]
mov edx, dword [esi + 0x2c]
add eax, edx
cmp dword [ebp + 0x10], 0xb
mov dword [esi + 0x2c], eax
jne 0x4994ae
cmp byte [edi + 0x36], 5
jne 0x4994ae
xor eax, eax
inc eax
mov dword [esp + 0x5c], eax
jmp 0x4994ae
inc dword [esi + 0x2c]
movzx eax, word [edi + 0x34]
mov edx, dword [esi + 0x2c]
add eax, edx
mov dword [esi + 0x2c], eax
test edx, edx
jne 0x4994bd
mov eax, dword [esp + 0x28]
mov byte [eax + ebx + 1], 0
jmp 0x4994c1
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword [ecx + eax*4], edx
inc eax
mov edi, dword [edi + 0x14]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
test edi, edi
jne 0x4993af
mov ebx, dword [esp + 0x78]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [edx + ecx*4], eax
cmp dword [esp + 0x5c], 0
je 0x49950e
mov eax, dword [esp + 0x64]
inc eax
push eax
xor eax, eax
inc eax
push eax
push dword [esp + 0x50]
call fcn.00589570
add esp, 0xc
mov ecx, esi
call fcn.00492fa0
mov edi, eax
mov dword [esp + 0xa8], edi
test edi, edi
je 0x49a0ba
cmp byte [esi + 0x12], 0
jne 0x499533
or dword [edi + 0x98], 0x20
cmp dword [esp + 0x38], 0
jne 0x499545
cmp dword [esp + 0x3c], 0
jne 0x499545
xor edx, edx
jmp 0x49954a
xor eax, eax
lea edx, [eax + 1]
push dword [esp + 0x24]
mov ecx, esi
call fcn.004855ea
cmp dword [ebx + 0x38], 0
pop ecx
jne 0x4995d5
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
mov eax, dword [ecx + eax*4]
inc dword [esi + 0x2c]
cmp byte [esp + 0x84], 0
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x98], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], edx
jne 0x499596
test ecx, ecx
jne 0x499596
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4995ad
lea eax, [edx + 1]
mov dword [esp + 0xa4], eax
movsx eax, word [ebx + 0x2a]
add eax, edx
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x3c]
cmp byte [esp + 0x68], 0
jne 0x4995bc
test ecx, ecx
jne 0x4995bc
test eax, eax
je 0x4995c6
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x58], eax
movsx eax, word [ebx + 0x2a]
add dword [esi + 0x2c], eax
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x499613
push dword [esp + 0x14]
mov ecx, dword [ebx]
mov edx, ebx
mov eax, dword [esi + 0xf0]
push 0
push 0
push dword [ebp + 0xc]
mov dword [esi + 0xf0], ecx
mov ecx, esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd0], eax
call fcn.004862ab
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xc8]
call fcn.00478120
test eax, eax
jne 0x49a0ba
xor ecx, ecx
cmp dword [ebx + 0x38], ecx
je 0x499657
push dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, esi
push dword [ebp + 0xc]
mov edx, dword [esp + 0x78]
push dword [esp + 0x18]
push dword [esp + 0x50]
push edi
push ebx
call fcn.0049a128
add esp, 0x18
jmp 0x49933c
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, ecx
je 0x4996a3
cmp dword [esi + 0x78], ecx
jne 0x4996a3
cmp byte [esi + 0x12], cl
jne 0x4996a3
cmp dword [ebp + 0x1c], ecx
jne 0x4996a3
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push ecx
push eax
push ecx
push 0x46
pop edx
mov ecx, edi
mov dword [esp + 0xac], eax
call fcn.00469c0b
add esp, 0xc
xor ecx, ecx
test byte [ebx + 0x24], 0x20
jne 0x4996c4
push dword [esp + 0x1c]
push dword [esp + 0x9c]
push ecx
push 0x49
pop edx
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
jmp 0x49973d
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x2c]
inc edx
mov dword [esp + 0x7c], edx
movzx eax, word [eax + 0x32]
movsx ecx, ax
mov dword [esp + 0x54], eax
lea eax, [ecx + 1]
add dword [esi + 0x2c], eax
cmp dword [ebp + 0x1c], 0
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x40], eax
jne 0x499808
mov eax, dword [esi + 0x28]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esi + 0x28], eax
lea eax, [ecx - 1]
add eax, edx
mov ecx, edi
push eax
push edx
push 0
push 0x49
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x60]
add esp, 0xc
movsx eax, dx
mov ecx, edi
push 0
push eax
push dword [esp + 0x74]
push 0x70
pop edx
call fcn.00469c0b
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x34], eax
call fcn.0046a350
cmp dword [ebp + 0x1c], 0
jne 0x499808
cmp byte [esi + 0x12], 0
mov eax, 0x1004
jne 0x499772
cmp dword [esp + 0x38], 0
jne 0x499772
cmp dword [esp + 0x3c], 0
jne 0x499772
cmp byte [esp + 0x68], 0
jne 0x499772
cmp dword [esp + 0x5c], 0
lea ecx, [eax + 8]
cmove eax, ecx
push dword [esp + 0x90]
mov edx, dword [esp + 0x74]
mov ecx, esi
push eax
push 0
push 0
push dword [ebp + 0xc]
call fcn.004a439c
add esp, 0x14
mov dword [esp + 0x50], eax
test eax, eax
je 0x49a0ba
add eax, 0x18
push 8
push eax
lea eax, [esp + 0xbc]
push eax
call fcn.00588a70
mov eax, dword [esp + 0x5c]
xor edx, edx
inc edx
add esp, 0xc
movzx ecx, byte [eax + 0x31]
mov dword [esp + 0x24], ecx
cmp ecx, edx
je 0x499826
cmp dword [esi + 0x74], 0
mov eax, esi
cmovne eax, dword [esi + 0x74]
mov byte [eax + 0x14], dl
cmp ecx, 2
jne 0x499826
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0x14]
test eax, eax
js 0x49982a
cmp eax, edx
je 0x49982a
sub eax, dword [esp + 0x80]
mov ebx, dword [esp + 0x48]
push 0
cmp byte [eax + ebx], 0
mov ebx, dword [esp + 0x7c]
pop eax
cmovne ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x49982a
and dword [esp + 0x50], 0
xor eax, eax
push 0x10
push dword [esp + 0x34]
inc eax
push dword [ebp + 0xc]
mov dword [esp + 0x30], eax
push esi
call fcn.0047c806
add esp, 0x10
mov edx, dword [esp + 0x14]
test byte [ebx + 0x24], 0x20
jne 0x499884
push 0
push dword [esp + 0x20]
mov ecx, edi
push edx
mov edx, 0x80
call fcn.00469c0b
mov ecx, dword [esp + 0x30]
add esp, 0xc
test ecx, ecx
jne 0x49995d
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x60]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push 0
push dword [esp + 0x20]
mov dword [edx + ecx*4], eax
mov edx, 0x93
push dword [esp + 0xa0]
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
jmp 0x499959
mov eax, dword [esp + 0x54]
and dword [esp + 0x78], 0
cwde
test eax, eax
jle 0x4998cd
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
mov ecx, edi
add eax, esi
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push edx
mov edx, ebx
call fcn.0047b25f
mov ecx, dword [esp + 0x60]
add esp, 0xc
mov edx, dword [esp + 0x14]
inc esi
movsx eax, cx
cmp esi, eax
jl 0x499896
mov esi, dword [esp + 0x88]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x499902
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4998ea
mov edx, eax
mov ecx, edi
call fcn.0046a212
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
movsx eax, dx
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
jmp 0x49995d
mov edx, dword [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.0048a6ac
pop ecx
mov ecx, dword [esp + 0x58]
push eax
push dword [esp + 0x48]
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x8c]
push 0x5c
pop edx
call fcn.00469d31
mov ecx, dword [esp + 0x68]
add esp, 0x14
movsx eax, cx
mov edx, 0x84
mov ecx, edi
push eax
push dword [esp + 0x80]
push dword [esp + 0x48]
push dword [esp + 0x78]
call fcn.00469e63
add esp, 0x10
mov ecx, dword [esp + 0x24]
cmp dword [ebp + 0x1c], 0
jne 0x499b37
cmp ecx, 2
je 0x499979
mov ecx, dword [esp + 0x50]
call fcn.004a4d58
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x8c]
test edx, edx
jne 0x499a30
xor eax, eax
mov dword [esp + 0x34], eax
test ecx, ecx
je 0x4999c2
mov eax, dword [esp + 0xb4]
mov edx, dword [esp + 0x48]
test eax, eax
js 0x4999ac
sub eax, dword [esp + 0x80]
mov byte [eax + edx], 0
mov eax, dword [esp + 0xb8]
test eax, eax
js 0x4999c2
sub eax, dword [esp + 0x80]
mov byte [eax + edx], 0
cmp ecx, 2
jne 0x4999f4
mov ecx, dword [esp + 0x64]
xor eax, eax
cmp dword [esp + 0xb8], eax
setge al
sub ecx, eax
test ecx, ecx
jle 0x4999f4
push 0
push 0
push 0
push 0x11
pop edx
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0x34], eax
xor eax, eax
mov edx, ebx
push eax
push eax
push dword [esp + 0x50]
mov ecx, esi
push dword [esp + 0x8c]
push eax
push 0x62
call fcn.0048c7c0
mov eax, dword [esp + 0x4c]
add esp, 0x18
test eax, eax
je 0x499a29
mov edx, eax
mov ecx, edi
call fcn.0046a36b
mov ecx, dword [edi + 0x6c]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x499aa0
test edx, edx
jne 0x499a73
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0xb4], ecx
je 0x499a73
cmp dword [esp + 0xb8], ecx
je 0x499a73
push dword [esp + 0x94]
push dword [esp + 0x44]
push dword [esp + 0x38]
push ecx
push 0x1c
pop edx
mov ecx, edi
call fcn.00469e63
mov eax, dword [esp + 0x34]
add esp, 0x10
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x499a84
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x20], 0
mov eax, dword [esp + 0x1c]
cmovne eax, dword [esp + 0x40]
push 0
push dword [esp + 0x34]
push eax
push 0x32
jmp 0x499b2c
cmp dword [esp + 0x20], 0
mov ecx, edi
je 0x499b03
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
push 0
push dword [esp + 0x34]
mov dword [esp + 0x34], eax
push dword [esp + 0x74]
push 0x24
pop edx
call fcn.00469c0b
add esp, 0xc
mov ecx, edi
push 0
push dword [esp + 0x44]
push dword [esp + 0x74]
push 0x7f
pop edx
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0xbc], eax
mov ecx, edi
push 0
push dword [esp + 0x44]
push dword [esp + 0x34]
push dword [esp + 0x20]
push 0x1c
pop edx
call fcn.00469e63
add esp, 0x10
jmp 0x499b37
push dword [esp + 0x1c]
push dword [esp + 0x34]
push dword [esp + 0xa0]
push 0x29
pop edx
call fcn.00469c0b
add esp, 0xc
mov dword [esp + 0x2c], eax
push dword [esp + 0x1c]
push eax
push dword [esp + 0x1c]
push 0x1f
pop edx
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
cmp byte [esp + 0xf], 0
je 0x499b63
push dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ecx, esi
call fcn.0047c22f
pop ecx
push 0
push 0
push dword [esp + 0x54]
mov ecx, edi
push 0xf
pop edx
call fcn.00469c0b
add esp, 0xc
cmp byte [esp + 0x84], 0
mov eax, dword [esp + 0x3c]
jne 0x499b7f
test eax, eax
jne 0x499b83
cmp dword [esp + 0x38], eax
je 0x499c6e
test eax, eax
je 0x499b8e
mov edx, ebx
mov ecx, esi
call fcn.00489ed0
jmp 0x499b90
xor eax, eax
push dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
mov ecx, esi
push ebx
push 3
push 0
push dword [ebp + 8]
mov dword [esp + 0x58], eax
call fcn.00498e63
mov edx, dword [esp + 0x58]
add esp, 0x14
and dword [esp + 0x34], 0
or edx, eax
xor eax, eax
mov dword [esp + 0x44], edx
cmp ax, word [ebx + 0x2a]
jge 0x499c49
mov esi, dword [esp + 0x34]
xor ecx, ecx
mov dword [esp + 0x64], ecx
cmp edx, 0xffffffff
je 0x499c0f
cmp esi, 0x20
jge 0x499beb
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test edx, eax
jne 0x499c0f
mov ecx, dword [esp + 0x64]
mov eax, dword [ebx + 4]
test byte [eax + ecx + 0xf], 1
jne 0x499c0f
mov eax, dword [esp + 0xa4]
mov ecx, edi
push 0
add eax, esi
push eax
push 0
push 0x49
pop edx
call fcn.00469c0b
jmp 0x499c27
mov eax, dword [esp + 0xa4]
mov edx, ebx
add eax, esi
mov ecx, edi
push eax
push esi
push dword [esp + 0x1c]
call fcn.0047b25f
mov ecx, dword [esp + 0x70]
add esp, 0xc
movsx eax, word [ebx + 0x2a]
inc esi
mov edx, dword [esp + 0x44]
add ecx, 0x10
mov dword [esp + 0x64], ecx
cmp esi, eax
jl 0x499bd2
mov esi, dword [esp + 0x88]
cmp byte [esp + 0xf], 0
jne 0x499c6e
cmp dword [esp + 0x20], 0
jne 0x499c6e
push 0
push dword [esp + 0x50]
mov ecx, edi
push dword [esp + 0x24]
push 0x4e
pop edx
call fcn.00469c0b
add esp, 0xc
push dword [ebp + 0x10]
mov edx, dword [esp + 0x3c]
xor eax, eax
push ebx
inc eax
mov ecx, esi
push eax
push eax
push dword [ebp + 8]
call fcn.00498e63
mov dword [esp + 0x8c], eax
add esp, 0x14
xor eax, eax
xor ecx, ecx
cmp ax, word [ebx + 0x2a]
jmp 0x499d1d
movsx eax, word [ebx + 0x28]
cmp ecx, eax
jne 0x499cbb
mov eax, dword [esp + 0x58]
push 0
add eax, ecx
mov ecx, edi
push eax
push 0
push 0x49
pop edx
call fcn.00469c0b
jmp 0x499d0f
mov eax, dword [esp + 0x10]
mov edx, dword [eax + ecx*4]
test edx, edx
js 0x499ce1
mov eax, dword [esp + 0x58]
add eax, ecx
imul edx, edx, 0x18
push eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov edx, dword [edx + eax + 4]
call fcn.0047c22f
pop ecx
jmp 0x499d12
xor eax, eax
inc eax
test dword [esp + 0x9c], eax
je 0x499cfa
cmp ecx, 0x1f
jg 0x499cfa
shl eax, cl
test dword [esp + 0x78], eax
je 0x499ca4
mov eax, dword [esp + 0x58]
mov edx, ebx
add eax, ecx
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, edi
call fcn.0047b25f
add esp, 0xc
mov ecx, dword [esp + 0x34]
movsx eax, word [ebx + 0x2a]
inc ecx
cmp ecx, eax
mov dword [esp + 0x34], ecx
jl 0x499c9c
xor eax, eax
inc eax
test byte [esp + 0x9c], al
je 0x499e1d
push dword [esp + 0x58]
mov edx, ebx
mov ecx, edi
call fcn.0048a75f
mov eax, dword [esp + 0x3c]
pop ecx
test eax, eax
je 0x499d92
mov edi, eax
cmp byte [edi + 8], 0x7d
jne 0x499d84
xor eax, eax
inc eax
cmp byte [edi + 9], al
jne 0x499d84
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x10]
call fcn.004987b2
test eax, eax
je 0x499d84
push dword [esp + 0x2c]
mov edx, edi
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x24]
push ebx
call fcn.00498d96
add esp, 0x10
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x499d4f
mov edi, dword [esp + 0xa8]
cmp dword [esp + 0x20], 0
mov ecx, edi
je 0x499dbb
push dword [esp + 0x94]
push dword [esp + 0x44]
push dword [esp + 0x34]
push dword [esp + 0x20]
push 0x1c
pop edx
call fcn.00469e63
add esp, 0x10
jmp 0x499dd2
push dword [esp + 0x1c]
push dword [esp + 0x30]
push dword [esp + 0x1c]
push 0x1f
pop edx
call fcn.00469c0b
add esp, 0xc
and dword [esp + 0x34], 0
xor eax, eax
cmp ax, word [ebx + 0x2a]
jge 0x499e1d
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
cmp dword [eax + esi*4], 0
jge 0x499e0d
movsx eax, word [ebx + 0x28]
cmp esi, eax
je 0x499e0d
mov eax, dword [esp + 0x58]
mov edx, ebx
add eax, esi
mov ecx, edi
push eax
push esi
push dword [esp + 0x1c]
call fcn.0047b25f
add esp, 0xc
movsx eax, word [ebx + 0x2a]
inc esi
cmp esi, eax
jl 0x499de3
mov esi, dword [esp + 0x88]
cmp dword [esp + 0x8c], 0
jne 0x499f90
push 0
push dword [esp + 0x14]
lea eax, [esp + 0x64]
mov edx, ebx
push eax
push dword [esp + 0x38]
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x7c]
push dword [esp + 0x34]
push dword [esp + 0x68]
push dword [esp + 0xb0]
push dword [esp + 0x38]
push dword [esp + 0x88]
call fcn.0048bac4
add esp, 0x2c
cmp dword [esp + 0x5c], 0
jne 0x499e75
cmp byte [esp + 0x68], 0
je 0x499eb5
cmp dword [esp + 0x20], 0
mov ecx, edi
je 0x499e9e
push dword [esp + 0x94]
push dword [esp + 0x44]
push dword [esp + 0x34]
push dword [esp + 0x20]
push 0x1c
pop edx
call fcn.00469e63
add esp, 0x10
jmp 0x499eb5
push dword [esp + 0x1c]
push dword [esp + 0x30]
push dword [esp + 0x1c]
push 0x1f
pop edx
call fcn.00469c0b
add esp, 0xc
cmp dword [esp + 0x3c], 0
je 0x499ed6
push dword [esp + 0x74]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x14]
push 0
push dword [esp + 0x28]
call fcn.00489ac3
add esp, 0x10
push 0xffffffffffffffff
push dword [esp + 0x64]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x98]
push dword [esp + 0x20]
call fcn.00486e7d
mov eax, dword [esp + 0x4c]
xor ecx, ecx
inc ecx
add esp, 0x10
cmp eax, ecx
jg 0x499f05
cmp byte [esp + 0x68], 0
je 0x499f1e
push 0
push 0
push dword [esp + 0x1c]
mov ecx, edi
push 0x7b
pop edx
call fcn.00469c0b
mov eax, dword [esp + 0x48]
add esp, 0xc
test eax, eax
je 0x499f3c
push dword [esp + 0x74]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x54]
push 0
call fcn.00489ac3
add esp, 0x10
cmp dword [esp + 0x24], 2
mov edx, ebx
push 0
push 0
push 4
pop eax
push 6
pop ecx
cmove eax, ecx
mov ecx, esi
push eax
push dword [esp + 0x6c]
push dword [esp + 0x5c]
push dword [esp + 0xa4]
push dword [esp + 0x2c]
call fcn.0048c65f
add esp, 0x1c
cmp dword [esp + 0x3c], 0
je 0x499f90
push dword [esp + 0x74]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x24]
push dword [ebp + 8]
call fcn.0048a52b
add esp, 0x10
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x499faf
xor ecx, ecx
push 0
inc ecx
push ecx
push eax
push 0x53
pop edx
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x49a003
mov edi, dword [esp + 0x2c]
cmp byte [eax + 8], 0x7d
jne 0x499ff1
cmp byte [eax + 9], 2
jne 0x499ff1
mov edx, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.004987b2
test eax, eax
je 0x499fed
mov edx, dword [esp + 0x38]
mov ecx, esi
push edi
push dword [ebp + 0x10]
push dword [esp + 0x24]
push ebx
call fcn.00498d96
add esp, 0x10
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x499fbb
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0x24]
xor ebx, ebx
inc ebx
cmp eax, ebx
je 0x49a056
mov edx, dword [esp + 0x2c]
mov ecx, edi
cmp eax, 2
jne 0x49a029
call fcn.00469efd
mov ecx, dword [esp + 0x50]
call fcn.004a4d58
jmp 0x49a056
cmp dword [esp + 0x20], 0
je 0x49a051
call fcn.00469efd
push 0
push dword [esp + 0xc0]
mov ecx, edi
push dword [esp + 0x74]
push 5
pop edx
call fcn.00469c0b
add esp, 0xc
jmp 0x49a056
call fcn.00469c64
mov edx, dword [esp + 0x30]
mov ecx, edi
call fcn.00469efd
cmp byte [esi + 0x12], 0
jne 0x49a080
cmp dword [esi + 0x78], 0
jne 0x49a080
cmp dword [ebp + 0x1c], 0
jne 0x49a080
cmp dword [esi + 0x70], 0
je 0x49a080
mov ecx, esi
call fcn.0048aa10
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x49a0ba
push 0
push ebx
push eax
push 0x51
pop edx
mov ecx, edi
call fcn.00469c0b
add esp, 0xc
mov edx, ebx
mov ecx, edi
call fcn.0046afdb
push 0
push str.rows_updated
push 0
xor edx, edx
mov ecx, edi
call fcn.0046b048
add esp, 0xc
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x49a0e5
mov eax, dword [esp + 0xc0]
mov dword [ecx + 0xf0], eax
and dword [esp + 0xc4], 0
test edx, edx
je 0x49a0f0
mov ecx, ebx
call fcn.00451bec
mov edx, dword [esp + 0x70]
mov ecx, ebx
call fcn.00485147
test edi, edi
je 0x49a108
mov edx, edi
mov ecx, ebx
call fcn.00479b6f
cmp dword [ebp + 0xc], 0
je 0x49a118
mov edx, dword [ebp + 0xc]
mov ecx, ebx
call fcn.00478f74
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x10]
mov edi, dword [ebp + 8]
jmp 0x49a0c5