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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
or eax, 0xffffffff
mov dword [esp + 0x64], 0
push edi
mov edi, ecx
mov dword [esp + 0x54], eax
xor eax, eax
mov dword [esp + 0x50], edi
mov esi, edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
cmp dword [edi + 0x24], 0
mov byte [esp + 0xf], al
mov byte [esp + 0x1f], al
mov dword [esp + 0x44], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x5c], eax
mov eax, dword [edi]
mov dword [esp + 0x84], esi
mov dword [esp + 0x58], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], eax
jne 0x499e09
cmp byte [eax + 0x45], 0
jne 0x499e09
mov ecx, dword [ebp + 8]
mov dword [esp + 0x48], 0
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x498e3d
test dword [ecx + 8], 0x200
je 0x498e3d
cmp dword [ecx + 0x30], 0
jne 0x498e3d
mov edx, dword [ecx]
mov dword [esp + 0x44], edx
mov edx, ecx
mov dword [ecx], 0
mov ecx, eax
push 1
call fcn.004a1640
add esp, 4
mov dword [esp + 0x30], 0
cmp dword [esi + 0x10], 0
je 0x499e10
mov edx, esi
mov ecx, edi
call fcn.00491cc0
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x499e10
mov ecx, dword [esp + 0x38]
mov edx, dword [esi + 0x48]
call fcn.004a0c80
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.0048aca0
add esp, 0xc
test eax, eax
jne 0x499e10
mov eax, dword [esi + 0x24]
mov edx, esi
shr eax, 5
mov ecx, edi
and eax, 0xffffff01
mov dword [esp + 0x70], eax
lea eax, [esp + 0x6c]
push eax
push 0
push 0x6c
call fcn.004ac700
add esp, 0xc
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0xc]
mov edx, esi
mov ecx, edi
mov dword [esp + 0x4c], eax
call fcn.0048dca0
test eax, eax
jne 0x499e10
push dword [esp + 0x6c]
mov edx, esi
mov ecx, edi
call fcn.00491d60
add esp, 4
test eax, eax
jne 0x499e10
mov eax, dword [edi + 8]
mov dword [esp + 8], eax
test eax, eax
jne 0x498f0d
mov ecx, edi
call fcn.004a43b0
mov dword [esp + 8], eax
test eax, eax
je 0x499e10
cmp byte [edi + 0x12], 0
jne 0x498f1a
or dword [eax + 0x94], 0x10
cmp dword [esp + 0x30], 0
jne 0x498f2c
cmp dword [esp + 0x74], 0
jne 0x498f2c
xor edx, edx
jmp 0x498f31
mov edx, 1
push dword [esp + 0x14]
mov ecx, edi
call fcn.004907d0
mov ecx, dword [ebp + 0xc]
add esp, 4
test ecx, ecx
jne 0x498f65
push dword [esp + 0x14]
mov edx, esi
mov ecx, edi
push dword [ebp + 0x10]
push dword [esp + 0x38]
call fcn.0049b9f0
add esp, 0xc
test eax, eax
jne 0x499d92
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.00498b30
mov ecx, dword [edi + 0x2c]
add esp, 4
mov dword [esp + 0x3c], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x7c], eax
movsx eax, word [esi + 0x2a]
inc eax
mov dword [esp + 0x28], edx
add eax, ecx
mov dword [edi + 0x2c], eax
cmp dword [esi + 0x38], 0
je 0x498fa3
lea edx, [ecx + 2]
inc eax
mov dword [esp + 0x28], edx
mov dword [edi + 0x2c], eax
mov ecx, dword [esi + 0x24]
lea eax, [edx + 1]
mov edx, dword [ebp + 0xc]
shr ecx, 7
not cl
mov dword [esp + 0x2c], eax
and ecx, 0xffffff01
mov dword [esp + 0x20], ecx
test edx, edx
je 0x4990c5
xor ecx, ecx
cmp dword [edx + 4], ecx
jle 0x498fe0
nop
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
cmp ecx, dword [edx + 4]
jl 0x498fd0
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [ecx + 4], edx
jle 0x4990c5
mov eax, dword [esp + 0x10]
xor esi, esi
movsx ecx, word [eax + 0x2a]
mov dword [esp + 0x40], ecx
test ecx, ecx
jle 0x49907e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + edx*8]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x24], eax
nop
mov edx, dword [eax]
mov ecx, dword [ecx]
call fcn.004517f0
test eax, eax
je 0x499049
mov eax, dword [esp + 0x24]
inc esi
mov ecx, dword [esp + 0x64]
add eax, 0x10
mov dword [esp + 0x24], eax
cmp esi, dword [esp + 0x40]
jl 0x499020
mov edx, dword [esp + 0x18]
jmp 0x49907a
mov eax, dword [esp + 0x64]
xor ecx, ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], esi
movzx eax, dl
mov edx, dword [esp + 0x18]
cmp edx, esi
cmove ecx, eax
mov eax, dword [esp + 0x10]
mov byte [esp + 0x20], cl
movsx eax, word [eax + 0x28]
cmp esi, eax
jne 0x49907a
mov dword [esp + 0x54], edx
mov byte [esp + 0x20], cl
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x2a]
cmp esi, eax
mov esi, dword [ebp + 0xc]
jl 0x4990b3
mov ecx, dword [esi]
mov ecx, dword [ecx + edx*8]
call fcn.00482920
test eax, eax
je 0x4991cc
cmp byte [esp + 0x70], 0
jne 0x4991cc
mov edx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
mov byte [esp + 0x20], 0
inc edx
mov dword [esp + 0x18], edx
cmp edx, dword [esi + 4]
jl 0x498ff2
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
je 0x4992c9
mov ecx, dword [esp + 8]
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
mov dword [esp + 0x64], edx
mov eax, dword [ecx + 0x88]
mov dword [esp + 0x40], eax
inc eax
push eax
push 0
push edx
mov edx, 0xf
call fcn.0046bb20
mov eax, dword [esp + 0x70]
add esp, 0xc
mov edx, dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 0x94], eax
xor eax, eax
test dl, dl
mov byte [esp + 0x90], 0xd
mov edx, dword [esp + 0x30]
cmovne eax, dword [esp + 0x2c]
mov dword [esp + 0x98], eax
movsx eax, word [esi + 0x2a]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0xa4], 0
call fcn.004a90b0
mov ecx, dword [esp + 0x9c]
add esp, 4
mov dword [esp + 0x60], ecx
test eax, eax
jne 0x499e10
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x45], 0
jne 0x499e10
cmp dword [edi + 0x24], 0
jne 0x499e10
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 8]
call fcn.0046c0b0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 8]
call fcn.0046c4e0
cmp dword [esp + 0x74], 0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
jne 0x4991f5
mov edx, dword [esp + 0x14]
mov ecx, edi
push esi
call fcn.00498a50
add esp, 4
test eax, eax
jne 0x4991f5
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x48], eax
jmp 0x499317
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
push dword [eax + ecx*8]
push 0
push dword [esp + 0x8c]
push str.table__S_has_no_column_named__s
push edi
call fcn.00451630
add esp, 0x14
mov byte [edi + 0x11], 1
jmp 0x499e13
mov edx, dword [edi + 0x28]
mov ecx, edi
mov byte [esp + 0xf], 1
mov dword [esp + 0x34], edx
lea eax, [edx + 1]
mov dword [edi + 0x28], eax
call fcn.00487770
mov edi, eax
call fcn.00487770
push dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
push edx
mov edx, 0x6c
mov dword [esp + 0x2c], eax
call fcn.0046bc70
mov eax, dword [esp + 0x9c]
mov edx, 0x10
mov ecx, dword [esp + 0x10]
push eax
mov dword [esp + 0x54], eax
call fcn.0046bc00
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, 0x63
mov esi, eax
push edi
push dword [esp + 0x24]
push dword [esp + 0x68]
call fcn.0046bb20
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, 0x73
push dword [esp + 0x24]
push dword [esp + 0x38]
call fcn.0046bc70
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov edx, 0x74
push edi
push dword [esp + 0x44]
call fcn.0046bb20
mov ecx, dword [esp + 0x1c]
add esp, 0x14
mov edx, esi
call fcn.0046bce0
mov ecx, dword [esp + 8]
mov edx, esi
call fcn.0046c4e0
mov ecx, dword [esp + 0x50]
mov edx, edi
call fcn.00487790
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
call fcn.00487790
mov esi, dword [esp + 0x20]
jmp 0x499317
mov eax, dword [esp + 0x44]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x499311
mov esi, dword [eax]
lea ecx, [esp + 0x90]
mov edx, eax
mov dword [esp + 0x20], esi
call fcn.00480100
test eax, eax
jne 0x499e10
jmp 0x499317
xor esi, esi
mov dword [esp + 0x20], esi
cmp dword [ebp + 0xc], 0
jne 0x49932f
test esi, esi
mov esi, dword [esp + 0x10]
jle 0x499333
movsx eax, word [esi + 0x28]
mov dword [esp + 0x54], eax
jmp 0x499333
mov esi, dword [esp + 0x10]
movsx eax, word [esi + 0x2a]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
cmp eax, 2
jl 0x49938e
mov ecx, dword [esi + 4]
lea edx, [eax - 2]
shr edx, 1
add ecx, 0x1f
inc edx
lea eax, [edx + edx]
mov dword [esp + 0x18], eax
nop
movzx eax, byte [ecx - 0x10]
lea ecx, [ecx + 0x20]
shr eax, 1
and eax, 1
add dword [esp + 0x24], eax
movzx eax, byte [ecx - 0x20]
shr eax, 1
and eax, 1
add dword [esp + 0x14], eax
sub edx, 1
jne 0x499360
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
movsx eax, word [esi + 0x2a]
mov edi, dword [esp + 0x50]
cmp dword [esp + 0x18], eax
jge 0x4993b6
shl dword [esp + 0x18], 4
mov edi, dword [esp + 0x18]
mov eax, dword [esi + 4]
movzx eax, byte [edi + eax + 0xf]
mov edi, dword [esp + 0x50]
shr eax, 1
and eax, 1
mov dword [esp + 0x68], eax
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
add ecx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x4993f6
test edx, edx
je 0x499412
movsx eax, word [esi + 0x2a]
sub eax, ecx
cmp edx, eax
je 0x499412
push edx
push eax
push 0
push dword [esp + 0x90]
push str.table__S_has__d_columns_but__d_values_were_supplied
push edi
call fcn.00451630
add esp, 0x18
jmp 0x499e10
mov eax, dword [eax + 4]
cmp edx, eax
je 0x499412
push eax
push edx
push str._d_values_for__d_columns
push edi
call fcn.00451630
add esp, 0x10
jmp 0x499e10
mov eax, dword [esp + 0x38]
test byte [eax + 0x18], 0x80
je 0x49943d
inc dword [edi + 0x2c]
mov edx, 0x38
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 8]
push eax
push 0
mov dword [esp + 0x94], eax
call fcn.0046bc70
add esp, 8
cmp dword [esp + 0x4c], 0
jne 0x4994c2
lea eax, [esp + 0x88]
mov edx, esi
push eax
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x69
call fcn.0049b6c0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x80], eax
push 0
lea eax, [eax*4 + 4]
push eax
call fcn.0044ea10
add esp, 0x20
mov dword [esp + 0x5c], eax
test eax, eax
je 0x499e10
mov edx, dword [esi + 8]
xor ecx, ecx
cmp dword [esp + 0x68], ecx
jle 0x4994c2
nop word [eax + eax]
inc dword [edi + 0x2c]
mov esi, dword [esp + 0x5c]
mov eax, dword [edi + 0x2c]
mov dword [esi + ecx*4], eax
inc ecx
movzx eax, word [edx + 0x34]
add dword [edi + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, dword [esp + 0x68]
jl 0x4994a0
mov esi, dword [esp + 0x10]
cmp byte [esp + 0xf], 0
mov ecx, dword [esp + 8]
je 0x4994eb
push dword [esp + 0x34]
mov edx, 0x25
call fcn.0046bc00
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x88]
jmp 0x499508
cmp dword [esp + 0x30], 0
je 0x499512
push dword [esp + 0x48]
mov edx, 0x10
call fcn.0046bc00
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
add esp, 4
call fcn.0046c130
test byte [esp + 0x6c], 1
mov dword [esp + 0x24], eax
je 0x49978a
movsx edx, word [esi + 0x2a]
mov ecx, edi
inc edx
call fcn.004877e0
mov esi, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], esi
push esi
test eax, eax
jns 0x499559
mov ecx, dword [esp + 0xc]
mov edx, 0x38
push 0xffffffffffffffff
call fcn.0046bc70
add esp, 8
jmp 0x4995d5
cmp byte [esp + 0x13], 0
je 0x499578
mov ecx, dword [esp + 0xc]
mov edx, 0x60
push eax
push dword [esp + 0x3c]
call fcn.0046bb20
add esp, 0xc
jmp 0x49958d
lea edx, [eax + eax*2]
mov ecx, edi
mov eax, dword [esp + 0x48]
mov edx, dword [eax + edx*8 + 8]
call fcn.004863e0
add esp, 4
mov ecx, dword [esp + 8]
mov edx, 0x4c
push esi
call fcn.0046bc00
mov ecx, dword [esp + 0xc]
add esp, 4
mov edx, 0x38
mov esi, eax
push dword [esp + 0x14]
push 0xffffffffffffffff
call fcn.0046bc70
mov ecx, dword [esp + 0x10]
mov edx, esi
call fcn.0046c4e0
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, 0x11
call fcn.0046bc00
add esp, 0xc
mov eax, dword [esp + 0x10]
xor ecx, ecx
xor esi, esi
cmp cx, word [eax + 0x2a]
jge 0x49970c
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
inc edx
or ecx, 0xffffffff
mov dword [esp + 0x18], edx
sub ecx, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
nop
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x499634
xor esi, esi
cmp dword [ecx + 4], esi
jle 0x499634
mov ecx, dword [ecx]
mov edi, dword [ebp + 0xc]
add ecx, 4
mov eax, dword [esp + 0x6c]
add eax, edx
cmp dword [ecx], eax
je 0x499629
inc esi
add ecx, 8
cmp esi, dword [edi + 4]
jl 0x499616
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0xc]
cmp byte [esp + 0xf], 0
jne 0x499642
cmp dword [esp + 0x44], 0
je 0x49964b
test ecx, ecx
je 0x4996a2
cmp esi, dword [ecx + 4]
jl 0x4996a2
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + ecx + 4]
test eax, eax
je 0x499675
cmp byte [eax], 0x9d
jne 0x499675
mov ecx, dword [edi + 8]
push edx
push dword [eax + 0x1c]
mov edx, 0x40
call fcn.0046bc70
add esp, 8
jmp 0x4996d7
push edx
mov edx, eax
mov ecx, edi
call fcn.004853c0
mov edx, dword [esp + 0x1c]
add esp, 4
cmp eax, edx
je 0x4996db
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4996db
push edx
push eax
mov edx, 0x41
call fcn.0046bc70
add esp, 8
jmp 0x4996d7
cmp byte [esp + 0xf], 0
push edx
je 0x4996c2
mov ecx, dword [esp + 0xc]
mov edx, 0x60
push esi
push dword [esp + 0x3c]
call fcn.0046bb20
add esp, 0xc
jmp 0x4996d7
mov eax, dword [esp + 0x48]
lea edx, [esi + esi*2]
mov ecx, edi
mov edx, dword [eax + edx*8 + 8]
call fcn.00486440
add esp, 4
mov edx, dword [esp + 0x18]
add dword [esp + 0x48], 0x10
lea eax, [esi + 1]
mov ecx, dword [ebp + 0xc]
inc edx
test ecx, ecx
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x6c]
cmovne eax, esi
add ecx, edx
mov esi, eax
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x2a]
cmp ecx, eax
mov eax, dword [esp + 0x10]
jl 0x499600
cmp dword [esp + 0x4c], 0
mov esi, dword [esp + 0x10]
jne 0x49972b
mov eax, dword [esp + 0x14]
mov edx, esi
mov ecx, dword [esp + 8]
inc eax
push eax
call fcn.00498950
add esp, 4
push dword [esp + 0x24]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x7c]
sub ecx, eax
dec ecx
push ecx
push esi
push 1
push 0
push 0x6c
mov ecx, edi
call fcn.004acfe0
movsx eax, word [esi + 0x2a]
add esp, 0x1c
mov edx, dword [esp + 0x14]
inc eax
mov dword [esp + 0x40], eax
mov ecx, edi
cmp eax, 1
jne 0x49976e
call fcn.00487790
jmp 0x49978a
push eax
call fcn.00484ec0
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, dword [edi + 0x1c]
jle 0x49978a
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 0x20], eax
cmp dword [esp + 0x4c], 0
jne 0x499c6d
cmp dword [esi + 0x38], 0
je 0x4997b2
push dword [esp + 0x7c]
mov ecx, dword [esp + 0xc]
mov edx, 0x3b
push 0
call fcn.0046bc70
add esp, 8
mov eax, dword [esp + 0x54]
test eax, eax
js 0x4998f9
cmp byte [esp + 0xf], 0
push dword [esp + 0x28]
je 0x499833
mov ecx, dword [esp + 0xc]
mov edx, 0x60
push eax
push dword [esp + 0x3c]
call fcn.0046bb20
add esp, 0xc
mov edx, dword [esp + 8]
cmp dword [esi + 0x38], 0
jne 0x4998c3
push dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, 0x4c
call fcn.0046bc00
mov edx, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x58]
mov esi, eax
push edx
push dword [esp + 0x2c]
mov edx, 0x73
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0046bb20
mov ecx, dword [esp + 0x14]
add esp, 0xc
mov edx, esi
call fcn.0046c4e0
jmp 0x4998e2
cmp dword [esp + 0x34], 0
je 0x499852
add eax, dword [esp + 0x64]
mov edx, 0x40
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046bc70
add esp, 8
jmp 0x4997df
lea edx, [eax + eax*2]
mov ecx, edi
mov eax, dword [esp + 0x48]
mov edx, dword [eax + edx*8 + 8]
call fcn.004863e0
mov edx, dword [esp + 0xc]
add esp, 4
mov eax, dword [edx]
mov ecx, dword [edx + 0x88]
dec ecx
cmp byte [eax + 0x45], 0
je 0x499881
mov eax, 0x729e0c
jmp 0x499892
mov eax, dword [edx + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x4997e3
cmp byte [eax], 0x3b
jne 0x4997e3
cmp dword [esi + 0x38], 0
jne 0x4998c3
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x1f], 1
mov byte [eax], 0x73
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x499947
mov eax, dword [edx + 0x88]
mov edx, 0x4b
mov ecx, dword [esp + 8]
add eax, 2
push eax
push dword [esp + 0x2c]
call fcn.0046bc70
add esp, 8
push dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, 0x11
call fcn.0046bc00
add esp, 4
jmp 0x499943
cmp dword [esi + 0x38], 0
jne 0x49992c
cmp byte [esp + 0x70], 0
jne 0x49992c
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x58]
push edx
push dword [esp + 0x2c]
mov edx, 0x73
push ecx
mov ecx, dword [esp + 0x14]
call fcn.0046bb20
add esp, 0xc
mov byte [esp + 0x1f], 1
jmp 0x499943
push dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov edx, 0x3b
push 0
call fcn.0046bc70
add esp, 8
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x499961
push ecx
mov ecx, dword [edi + 8]
mov edx, 0x92
push eax
call fcn.0046bc70
add esp, 8
mov ecx, dword [esp + 0x10]
xor eax, eax
xor esi, esi
mov dword [esp + 0x4c], 0
cmp ax, word [ecx + 0x2a]
jge 0x499b16
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
movsx eax, word [ecx + 0x28]
add edx, esi
cmp esi, eax
jne 0x4999a1
mov ecx, dword [esp + 8]
push edx
mov edx, 0x3c
call fcn.0046bc00
jmp 0x499af9
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x499a45
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x3c]
test byte [eax + edx + 0xf], 2
je 0x499a3d
inc dword [esp + 0x4c]
cmp byte [edi + 0x17], 0
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + ecx + 4]
mov dword [esp + 0x70], eax
je 0x499ae9
mov byte [esp + 0xa4], 1
mov dword [esp + 0x94], fcn.004824c0
mov dword [esp + 0x98], 0x4825e0
mov dword [esp + 0xa8], 0
test eax, eax
je 0x499a28
mov edx, eax
lea ecx, [esp + 0x90]
call fcn.0047e1b0
cmp byte [esp + 0xa4], 0
mov eax, dword [esp + 0x70]
je 0x499ae9
mov ecx, dword [esp + 0x2c]
mov edx, eax
add ecx, esi
push ecx
mov ecx, edi
call fcn.00486240
jmp 0x499af9
mov eax, esi
sub eax, dword [esp + 0x4c]
jmp 0x499a66
mov edx, dword [edx + 4]
xor eax, eax
test edx, edx
jle 0x499a6e
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, 4
cmp dword [ecx], esi
je 0x499a62
inc eax
add ecx, 8
cmp eax, edx
jl 0x499a56
mov ecx, dword [esp + 0x10]
test eax, eax
js 0x4999c2
cmp dword [esp + 0x20], 0
je 0x4999c2
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x499a89
cmp eax, dword [edx + 4]
jge 0x4999c2
cmp byte [esp + 0xf], 0
je 0x499aaf
mov ecx, dword [esp + 0x2c]
mov edx, 0x60
add ecx, esi
push ecx
mov ecx, dword [esp + 0xc]
push eax
push dword [esp + 0x3c]
call fcn.0046bb20
add esp, 0xc
jmp 0x499afc
cmp dword [esp + 0x30], 0
je 0x499adc
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x60], edx
je 0x499b04
add eax, dword [esp + 0x60]
lea ecx, [edx + esi]
push ecx
mov ecx, dword [esp + 0xc]
mov edx, 0x41
push eax
call fcn.0046bc70
add esp, 8
jmp 0x499afc
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x44]
mov edx, dword [eax + edx*8 + 8]
jmp 0x499aeb
mov edx, eax
mov ecx, dword [esp + 0x2c]
add ecx, esi
push ecx
mov ecx, edi
call fcn.004863e0
add esp, 4
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
movsx eax, word [ecx + 0x2a]
inc esi
add dword [esp + 0x3c], 0x10
cmp esi, eax
jl 0x499983
cmp dword [ecx + 0x38], 0
je 0x499bb0
mov esi, dword [ecx + 0x40]
test esi, esi
je 0x499b3b
mov eax, dword [esp + 0x38]
nop dword [eax + eax]
cmp dword [esi], eax
je 0x499b3b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x499b30
mov edx, ecx
mov ecx, edi
call fcn.004b0db0
mov ecx, dword [esp + 8]
mov edx, 0xc
push 0xfffffffffffffff4
push esi
mov esi, dword [esp + 0x18]
push dword [esp + 0x84]
movsx eax, word [esi + 0x2a]
add eax, 2
push eax
push 1
call fcn.0046bf20
mov eax, dword [esp + 0x1c]
add esp, 0x14
mov ecx, dword [eax + 0x88]
test ecx, ecx
jle 0x499b9d
mov edx, dword [ebp + 0x10]
lea ecx, [ecx + ecx*4]
cmp dword [ebp + 0x10], 0xa
mov eax, dword [eax + 0x58]
movzx edx, dx
mov dword [esp + 0x40], 2
cmove edx, dword [esp + 0x40]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x499c71
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x40]
push 0
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov edx, ecx
push dword [ebp + 0x10]
shr eax, 0x1f
mov ecx, edi
xor al, 1
movzx eax, al
push eax
push 0
push esi
push dword [esp + 0xa4]
push dword [esp + 0x78]
push dword [esp + 0x80]
call fcn.00499f00
push 0
push 0
push esi
mov esi, dword [esp + 0x44]
mov ecx, edi
push 0
mov edx, esi
call fcn.004974f0
add esp, 0x38
cmp dword [esp + 0x40], 0
je 0x499c3b
cmp dword [esp + 0x74], 0
jne 0x499c37
mov eax, dword [esp + 0x38]
test dword [eax + 0x18], 0x4000
je 0x499c3b
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
add ecx, 0x38
push 0
call fcn.00452e90
add esp, 4
cmp dword [eax + 8], 0
je 0x499c3b
xor eax, eax
jmp 0x499c40
mov eax, 1
push eax
movzx eax, byte [esp + 0x23]
mov edx, esi
push eax
push 0
push dword [esp + 0x68]
mov ecx, edi
push dword [esp + 0x8c]
push dword [esp + 0x9c]
push dword [esp + 0x70]
call fcn.0049b3b0
add esp, 0x1c
jmp 0x499c71
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
test byte [eax + 0x18], 0x80
je 0x499c95
mov ecx, dword [esp + 8]
mov edx, 0x45
push 1
push dword [esp + 0x90]
call fcn.0046bc70
add esp, 8
mov edx, dword [esp + 0x74]
test edx, edx
je 0x499cc3
push dword [esp + 0x24]
movsx eax, word [esi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x34]
sub ecx, eax
sub ecx, 2
push ecx
push esi
push 2
push 0
push 0x6c
mov ecx, edi
call fcn.004acfe0
add esp, 0x1c
mov esi, dword [esp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x499ce6
mov eax, dword [esp + 0x24]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
cmp byte [esp + 0xf], 0
je 0x499d4b
push dword [esp + 0x80]
mov edx, 7
mov ecx, esi
push dword [esp + 0x38]
call fcn.0046bc70
mov ecx, dword [esp + 0x80]
add esp, 8
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x499d1b
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x499d2a
mov eax, 0x729e0c
jmp 0x499d33
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
push dword [esp + 0x34]
mov dword [eax + 8], edx
mov ecx, esi
mov edx, 0x70
call fcn.0046bc00
add esp, 4
jmp 0x499d96
cmp dword [esp + 0x30], 0
je 0x499d96
mov edx, dword [esp + 0x80]
mov ecx, esi
call fcn.0046bce0
mov ecx, dword [esp + 0x78]
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x499d71
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x499d83
mov eax, 0x729e0c
mov dword [eax + 8], edx
jmp 0x499d96
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x499d96
mov esi, dword [esp + 8]
cmp byte [edi + 0x12], 0
jne 0x499daf
cmp dword [edi + 0x7c], 0
jne 0x499daf
cmp dword [edi + 0x74], 0
je 0x499daf
mov ecx, edi
call fcn.00498c70
mov eax, dword [esp + 0x38]
test byte [eax + 0x18], 0x80
je 0x499e10
cmp byte [edi + 0x12], 0
jne 0x499e10
cmp dword [edi + 0x7c], 0
jne 0x499e10
push 1
push dword [esp + 0x90]
mov edx, 0x43
mov ecx, esi
call fcn.0046bc70
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.0046da60
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
jne 0x499e10
mov ecx, dword [esi + 0x64]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.0046b0b0
add esp, 0xc
jmp 0x499e10
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x38]
mov ecx, edi
mov edx, dword [esp + 0x84]
call fcn.00490020
mov eax, dword [esp + 0x44]
test eax, eax
je 0x499e36
mov edx, eax
mov ecx, edi
call fcn.00482370
mov eax, dword [esp + 0x30]
test eax, eax
je 0x499e4c
push 1
mov edx, eax
mov ecx, edi
call fcn.004a1640
add esp, 4
mov edx, esi
mov ecx, edi
call fcn.0048fc20
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x499eac
test edi, edi
je 0x499ea3
cmp dword [edi + 0x1c8], 0
je 0x499e79
mov edx, ecx
mov ecx, edi
call fcn.0044e6e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, dword [edi + 0x120]
jb 0x499ea3
cmp ecx, dword [edi + 0x124]
jae 0x499ea3
mov eax, dword [edi + 0x11c]
mov dword [ecx], eax
dec dword [edi + 0x108]
mov dword [edi + 0x11c], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call fcn.0044e670
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret