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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x65e374]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
mov esi, ecx
mov dword [esp + 0x6c], edx
mov ecx, dword [ebp + 8]
or edx, 0xffffffff
xorps xmm0, xmm0
mov dword [esp + 0x2c], esi
push edi
cmp dword [esi + 0x24], 0
mov edi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0xb], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x40], eax
movaps xmmword [esp + 0x90], xmm0
movq qword [esp + 0xa0], xmm0
jne 0x504aa1
cmp byte [eax + 0x45], 0
jne 0x504aa1
test ecx, ecx
je 0x5039b1
test dword [ecx + 8], 0x200
je 0x5039b1
cmp dword [ecx + 0x30], 0
jne 0x5039b1
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
mov edx, ecx
mov dword [ecx], 0
mov ecx, eax
push 1
call fcn.0050c140
add esp, 4
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x70]
cmp dword [edx + 0x10], 0
je 0x504aa1
mov ecx, esi
call fcn.004fbeb0
mov edi, eax
mov dword [esp + 0x14], edi
test edi, edi
je 0x504a9d
mov ecx, dword [esp + 0x40]
mov edx, dword [edi + 0x48]
call fcn.0050b7a0
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
add ecx, ecx
mov edx, 0x12
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, esi
push 0
push dword [edi]
call fcn.004f4990
add esp, 0xc
test eax, eax
jne 0x504a9d
mov eax, dword [edi + 0x24]
xor edx, edx
shr eax, 5
and eax, 0xffffff01
mov dword [esp + 0x24], 0
mov dword [esp + 0x88], eax
mov eax, dword [esi]
test dword [eax + 0x18], 0x1000000
je 0x503a3f
mov edx, edi
mov ecx, esi
call fcn.00516350
mov edx, eax
mov ecx, edx
test edx, edx
je 0x503a5a
cmp byte [ecx + 8], 0x6c
jne 0x503a53
movzx eax, byte [ecx + 9]
or dword [esp + 0x24], eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x503a45
xor eax, eax
mov ecx, esi
cmp dword [esp + 0x24], eax
cmovne eax, edx
mov edx, edi
mov dword [esp + 0x5c], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x7c], eax
call fcn.004f7d50
test eax, eax
jne 0x504a9d
push dword [esp + 0x24]
mov edx, edi
mov ecx, esi
call fcn.004fbf50
add esp, 4
test eax, eax
jne 0x504a9d
mov eax, dword [esi + 8]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x503ab5
mov ecx, esi
call fcn.0050ef70
mov dword [esp + 0xc], eax
test eax, eax
je 0x504a9d
cmp byte [esi + 0x12], 0
jne 0x503ac2
or dword [eax + 0x90], 0x10
cmp dword [esp + 0x38], 0
jne 0x503ad4
cmp dword [esp + 0x5c], 0
jne 0x503ad4
xor edx, edx
jmp 0x503ad9
mov edx, 1
push dword [esp + 0x20]
mov ecx, esi
call fcn.004faad0
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x503b0d
push dword [esp + 0x20]
mov edx, edi
mov ecx, esi
push dword [ebp + 0x10]
push dword [esp + 0x40]
call fcn.00506660
add esp, 0xc
test eax, eax
jne 0x504a22
mov edx, dword [esp + 0x20]
mov ecx, esi
push edi
call fcn.00503740
mov ecx, dword [esi + 0x2c]
add esp, 4
mov dword [esp + 0x44], eax
lea eax, [ecx + 1]
mov edx, eax
mov dword [esp + 0x74], eax
movsx eax, word [edi + 0x2a]
inc eax
mov dword [esp + 0x2c], edx
add eax, ecx
mov dword [esi + 0x2c], eax
cmp dword [edi + 0x38], 0
je 0x503b4b
lea edx, [ecx + 2]
inc eax
mov dword [esp + 0x2c], edx
mov dword [esi + 0x2c], eax
lea eax, [edx + 1]
mov edx, dword [edi + 0x24]
shr edx, 7
not dl
mov dword [esp + 0x50], eax
and edx, 0xffffff01
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
test edx, edx
je 0x503c7c
mov eax, dword [edx + 4]
xor ecx, ecx
test eax, eax
jle 0x503b92
nop dword [eax]
mov eax, dword [edx]
mov dword [eax + ecx*8 + 4], 0xffffffff
inc ecx
mov eax, dword [edx + 4]
cmp ecx, eax
jl 0x503b80
xor edi, edi
mov dword [esp + 0x1c], edi
test eax, eax
jle 0x503c78
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 0x2a]
mov dword [esp + 0x3c], eax
nop dword [eax]
cwde
xor esi, esi
test eax, eax
jle 0x503c1e
mov eax, dword [edx]
lea eax, [eax + edi*8]
mov edi, dword [ecx + 4]
mov dword [esp + 0x28], eax
mov edx, dword [edi]
mov ecx, dword [eax]
call fcn.004bace0
test eax, eax
je 0x503be9
mov ecx, dword [esp + 0x3c]
inc esi
movsx eax, cx
add edi, 0x10
cmp esi, eax
mov eax, dword [esp + 0x28]
jl 0x503bc3
mov edi, dword [esp + 0x1c]
jmp 0x503c1a
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
cmp edi, esi
mov dword [eax + 4], esi
movzx eax, dl
cmove ecx, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x18], cl
movsx eax, word [eax + 0x28]
cmp esi, eax
jne 0x503c1a
mov dword [esp + 0x54], edi
mov byte [esp + 0x18], cl
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x2a]
cwde
cmp esi, eax
jl 0x503c5a
mov eax, dword [edx]
mov esi, dword [eax + edi*8]
mov ecx, esi
call fcn.004ec460
test eax, eax
je 0x503dc1
cmp byte [esp + 0x88], 0
jne 0x503dc1
mov edx, dword [esp + 0x10]
mov dword [esp + 0x54], edi
mov byte [esp + 0x18], 0
mov ecx, dword [esp + 0x14]
inc edi
mov dword [esp + 0x1c], edi
movzx eax, word [ecx + 0x2a]
mov dword [esp + 0x3c], eax
cmp edi, dword [edx + 4]
jl 0x503bb0
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x38], 0
je 0x503f48
mov eax, dword [esp + 0xc]
mov edx, 0xf
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 0x88]
mov dword [esp + 0x1c], eax
inc eax
push eax
push 0
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004d5d80
mov eax, dword [esp + 0x48]
add esp, 0xc
mov edx, dword [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x98], eax
xor eax, eax
cmp byte [esp + 0x18], al
mov byte [esp + 0x90], 0xd
cmovne eax, dword [esp + 0x50]
mov dword [esp + 0x9c], eax
movsx eax, word [edi + 0x2a]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x98], 0
call fcn.00513a00
mov ecx, dword [esp + 0xa0]
add esp, 4
mov dword [esp + 0x64], ecx
test eax, eax
jne 0x504a9d
mov eax, dword [esp + 0x40]
cmp byte [eax + 0x45], 0
jne 0x504a9d
cmp dword [esi + 0x24], 0
jne 0x504a9d
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov edx, 0x4a
call fcn.004d5e60
mov ecx, dword [esp + 0x10]
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [ecx + 0xc]
mov byte [eax + 0x13], 0
mov eax, dword [ecx + 0xc]
mov dword [eax + 0x1c], 0
call fcn.004d6610
cmp dword [esp + 0x5c], 0
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
jne 0x503e79
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x503d91
mov ecx, esi
call fcn.0050ef70
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x38], 0
mov eax, dword [eax + 0x88]
mov dword [esp + 0x18], eax
je 0x503de3
mov edx, dword [edi + 0x40]
test edx, edx
je 0x503de5
mov eax, dword [esi]
nop word [eax + eax]
cmp dword [edx], eax
je 0x503dbb
mov edx, dword [edx + 0x18]
test edx, edx
jne 0x503db0
mov eax, dword [esp + 0x18]
jmp 0x503de5
mov edi, dword [esp + 0x30]
push esi
push 0
push dword [esp + 0x78]
push str.table__S_has_no_column_named__s
push edi
call fcn.004bab30
add esp, 0x14
mov byte [edi + 0x11], 1
jmp 0x504a9d
xor edx, edx
mov ecx, 1
mov dword [esp + 0x3c], ecx
cmp eax, ecx
jle 0x503f42
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
mov al, byte [eax + 0x45]
mov byte [esp + 0x4f], al
mov eax, dword [esp + 0x18]
dec eax
test ecx, ecx
cmovns eax, ecx
cmp byte [esp + 0x4f], 0
je 0x503e1b
mov eax, 0x665728
jmp 0x503e28
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x58]
lea eax, [eax + ecx*4]
mov cl, byte [eax]
cmp cl, 0x69
jne 0x503e55
mov ecx, dword [esp + 0x20]
cmp dword [eax + 0xc], ecx
jne 0x503e5f
mov ecx, dword [eax + 8]
cmp ecx, dword [edi + 0x1c]
je 0x503e79
mov eax, dword [edi + 8]
test eax, eax
je 0x503e5f
cmp ecx, dword [eax + 0x2c]
je 0x503e79
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x503e47
jmp 0x503e5f
cmp cl, 0x9c
jne 0x503e5f
cmp dword [eax + 0x10], edx
je 0x503e79
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jl 0x503e07
mov edi, dword [esp + 0x28]
jmp 0x503f96
mov edx, dword [esi + 0x28]
mov ecx, esi
mov byte [esp + 0xb], 1
mov dword [esp + 0x34], edx
lea eax, [edx + 1]
mov dword [esi + 0x28], eax
call fcn.004f14a0
mov edi, eax
call fcn.004f14a0
push dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push edx
mov edx, 0x6c
mov dword [esp + 0x24], eax
call fcn.004d5ed0
push dword [esp + 0xa0]
mov ecx, dword [esp + 0x18]
mov edx, 0x10
call fcn.004d5e60
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x64
mov esi, eax
push edi
push dword [esp + 0x2c]
push dword [esp + 0x6c]
call fcn.004d5d80
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x73
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.004d5ed0
push dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, 0x74
push edi
push dword [esp + 0x44]
call fcn.004d5d80
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov edx, esi
call fcn.004d5f40
mov ecx, dword [esp + 0xc]
mov edx, esi
call fcn.004d6610
mov esi, dword [esp + 0x30]
mov edx, edi
mov ecx, esi
call fcn.004f14c0
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.004f14c0
mov edi, dword [esp + 0x28]
jmp 0x503f96
mov eax, dword [esp + 0x48]
xorps xmm0, xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xc0], xmm0
mov dword [esp + 0xb0], esi
mov dword [esp + 0x34], 0xffffffff
test eax, eax
je 0x503f90
mov edi, dword [eax]
lea ecx, [esp + 0xb0]
mov edx, eax
mov dword [esp + 0x28], edi
call fcn.004e9b10
test eax, eax
jne 0x504a9d
jmp 0x503f96
xor edi, edi
mov dword [esp + 0x28], edi
cmp dword [esp + 0x10], 0
mov eax, dword [esp + 0x14]
jne 0x503fad
test edi, edi
jle 0x503fad
movsx edx, word [eax + 0x28]
mov dword [esp + 0x54], edx
movsx edi, word [eax + 0x2a]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x20], edx
cmp edi, 2
jl 0x50400e
mov eax, dword [esp + 0x14]
lea edx, [edi - 2]
shr edx, 1
mov ecx, dword [eax + 4]
add ecx, 0x1f
inc edx
lea eax, [edx + edx]
mov dword [esp + 0x18], eax
nop dword [eax + eax]
movzx eax, byte [ecx - 0x10]
lea ecx, [ecx + 0x20]
shr eax, 1
and eax, 1
add dword [esp + 0x1c], eax
movzx eax, byte [ecx - 0x20]
shr eax, 1
and eax, 1
add dword [esp + 0x20], eax
sub edx, 1
jne 0x503fe0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
cmp eax, edi
jge 0x504034
shl eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [eax + 4]
movzx eax, byte [esi + eax + 0xf]
mov esi, dword [esp + 0x30]
shr eax, 1
and eax, 1
jmp 0x504036
xor eax, eax
cmp dword [esp + 0x10], 0
jne 0x50406d
cmp dword [esp + 0x28], 0
je 0x504091
sub edi, edx
sub edi, ecx
mov ecx, dword [esp + 0x28]
sub edi, eax
cmp ecx, edi
je 0x504091
push ecx
push edi
push 0
push dword [esp + 0x7c]
push str.table__S_has__d_columns_but__d_values_were_supplied
push esi
call fcn.004bab30
add esp, 0x18
jmp 0x504a9d
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 4]
cmp ecx, eax
je 0x504091
push eax
push ecx
push str._d_values_for__d_columns
push esi
call fcn.004bab30
add esp, 0x10
jmp 0x504aa1
mov eax, dword [esp + 0x40]
test byte [eax + 0x18], 0x80
je 0x5040bc
inc dword [esi + 0x2c]
mov edx, 0x4d
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0xc]
push eax
push 0
mov dword [esp + 0x8c], eax
call fcn.004d5ed0
add esp, 8
cmp dword [esp + 0x7c], 0
jne 0x504134
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
push 0
push 0xffffffffffffffff
push 0
push 0x6a
call fcn.00506340
mov ecx, dword [esp + 0x58]
mov edi, eax
push 0
lea eax, [edi*4 + 4]
push eax
call fcn.004b8080
add esp, 0x20
mov dword [esp + 0x60], eax
test eax, eax
je 0x504a9d
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov edx, dword [eax + 8]
test edi, edi
jle 0x504134
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov esi, dword [esp + 0x60]
mov dword [esi + ecx*4], eax
inc ecx
mov esi, dword [esp + 0x30]
movzx eax, word [edx + 0x34]
add dword [esi + 0x2c], eax
mov edx, dword [edx + 0x14]
cmp ecx, edi
jl 0x504114
cmp byte [esp + 0xb], 0
mov edi, dword [esp + 0xc]
je 0x50415b
push dword [esp + 0x34]
mov edx, 0x3a
mov ecx, edi
call fcn.004d5e60
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x88]
jmp 0x504179
cmp dword [esp + 0x38], 0
je 0x504180
push dword [esp + 0x98]
mov edx, 0x10
mov ecx, edi
call fcn.004d5e60
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
add esp, 4
mov ecx, edi
call fcn.004d62a0
test byte [esp + 0x24], 1
mov dword [esp + 0x1c], eax
je 0x504457
mov eax, dword [esp + 0x14]
mov ecx, esi
movsx edx, word [eax + 0x2a]
inc edx
call fcn.004f1510
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x18], eax
push eax
test ecx, ecx
jns 0x5041c6
push 0xffffffffffffffff
mov edx, 0x4d
mov ecx, edi
call fcn.004d5ed0
add esp, 8
jmp 0x504241
cmp byte [esp + 0xf], 0
je 0x5041e3
push ecx
push dword [esp + 0x3c]
mov edx, 0x62
mov ecx, edi
call fcn.004d5d80
add esp, 0xc
jmp 0x5041fa
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.004f02d0
add esp, 4
push dword [esp + 0x18]
mov edx, 0x23
mov ecx, edi
call fcn.004d5e60
add esp, 4
mov edx, 0x4d
mov ecx, edi
mov esi, eax
push dword [esp + 0x18]
push 0xffffffffffffffff
call fcn.004d5ed0
mov edx, esi
mov ecx, edi
call fcn.004d6610
push dword [esp + 0x20]
mov edx, 0x11
mov ecx, edi
call fcn.004d5e60
mov esi, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [esp + 0x14]
xor edx, edx
xor edi, edi
movzx eax, word [eax + 0x2a]
mov ecx, eax
cmp dx, ax
jge 0x5043d9
mov edx, dword [esp + 0x18]
xor ecx, ecx
inc edx
mov dword [esp + 0x20], ecx
or eax, 0xffffffff
mov dword [esp + 0x24], edx
sub eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5042ac
xor edi, edi
cmp dword [eax + 4], edi
jle 0x5042ac
mov ecx, dword [eax]
mov esi, dword [esp + 0x3c]
add ecx, 4
nop word [eax + eax]
lea eax, [esi + edx]
cmp dword [ecx], eax
mov eax, dword [esp + 0x10]
je 0x5042a4
inc edi
add ecx, 8
cmp edi, dword [eax + 4]
jl 0x504290
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
cmp byte [esp + 0xb], 0
jne 0x5042ba
cmp dword [esp + 0x48], 0
je 0x5042c3
test eax, eax
je 0x5042de
cmp edi, dword [eax + 4]
jl 0x5042de
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [eax + 4]
mov edx, dword [edx + ecx + 4]
mov ecx, esi
call fcn.004f02d0
add esp, 4
jmp 0x504393
cmp byte [esp + 0xb], 0
je 0x504301
mov ecx, dword [esp + 0xc]
push edx
push edi
push dword [esp + 0x3c]
mov edx, 0x62
call fcn.004d5d80
add esp, 0xc
jmp 0x504393
mov eax, dword [esp + 0x48]
lea ecx, [edi + edi*2]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
mov ecx, dword [esi + 8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x8c], ecx
test eax, eax
je 0x504330
cmp byte [eax], 0x9d
jne 0x504330
push edx
push dword [eax + 0x1c]
mov edx, 0x55
jmp 0x504355
push edx
mov edx, eax
mov ecx, esi
call fcn.004ef000
mov edx, eax
add esp, 4
mov eax, dword [esp + 0x24]
cmp edx, eax
je 0x504361
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x504361
push eax
push edx
mov edx, 0x56
call fcn.004d5ed0
mov eax, dword [esp + 0x2c]
add esp, 8
inc dword [esi + 0x2c]
mov edx, 0x55
mov esi, dword [esi + 0x2c]
mov ecx, dword [esp + 0x8c]
push esi
push eax
call fcn.004d5ed0
mov ecx, dword [esp + 0x70]
add esp, 8
mov al, byte [ecx]
and dword [ecx + 4], 0xffffefff
mov byte [ecx + 0x26], al
mov byte [ecx], 0x9d
mov dword [ecx + 0x1c], esi
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
add dword [esp + 0x20], 0x10
inc edx
cmp dword [esp + 0x10], 0
movzx esi, word [eax + 0x2a]
lea eax, [edi + 1]
mov ecx, dword [esp + 0x3c]
cmovne eax, edi
mov edi, eax
mov dword [esp + 0x24], edx
add ecx, edx
movsx eax, si
mov esi, dword [esp + 0x30]
cmp ecx, eax
mov ecx, dword [esp + 0x20]
jl 0x504272
mov edi, dword [esp + 0x14]
movzx ecx, word [edi + 0x2a]
jmp 0x5043dd
mov edi, dword [esp + 0x14]
cmp dword [esp + 0x7c], 0
movzx eax, cx
jne 0x5043ff
mov eax, dword [esp + 0x18]
mov edx, edi
mov ecx, dword [esp + 0xc]
inc eax
push eax
call fcn.00503640
movzx eax, word [edi + 0x2a]
add esp, 4
push dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
push dword [ebp + 0x10]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x64]
cwde
sub ecx, eax
dec ecx
push ecx
push edi
push 1
push 0
push 0x6c
mov ecx, esi
call fcn.00517ae0
movsx edi, word [edi + 0x2a]
add esp, 0x1c
mov edx, dword [esp + 0x18]
inc edi
mov ecx, esi
cmp edi, 1
jne 0x50443f
call fcn.004f14c0
jmp 0x504457
push edi
call fcn.004eebd0
add esp, 4
cmp edi, dword [esi + 0x1c]
jle 0x504457
mov eax, dword [esp + 0x18]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
cmp dword [esp + 0x7c], 0
mov edi, dword [esp + 0x14]
jne 0x504908
mov eax, dword [edi + 0x38]
test eax, eax
je 0x504487
push dword [esp + 0x74]
mov ecx, dword [esp + 0x10]
mov edx, 0x50
push 0
call fcn.004d5ed0
mov eax, dword [edi + 0x38]
add esp, 8
mov edx, dword [esp + 0x54]
test edx, edx
js 0x5045f3
cmp byte [esp + 0xb], 0
je 0x50450b
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push dword [esp + 0x3c]
mov edx, 0x62
call fcn.004d5d80
add esp, 0xc
mov edx, dword [esp + 0xc]
cmp dword [edi + 0x38], 0
jne 0x5045b1
push dword [esp + 0x2c]
mov edi, dword [esp + 0x10]
mov edx, 0x23
mov ecx, edi
call fcn.004d5e60
mov ecx, dword [esp + 0x48]
add esp, 4
mov edx, 0x73
mov esi, eax
push ecx
push dword [esp + 0x30]
mov ecx, dword [esp + 0x60]
push ecx
mov ecx, edi
call fcn.004d5d80
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.004d6610
mov esi, dword [esp + 0x30]
jmp 0x5045d2
cmp dword [esp + 0x38], 0
je 0x504531
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x10]
add eax, edx
push eax
mov edx, 0x55
call fcn.004d5ed0
add esp, 8
jmp 0x5044b5
mov ecx, dword [esp + 0x48]
lea eax, [edx + edx*2]
push dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.004f02d0
mov edx, dword [esp + 0x10]
add esp, 4
mov eax, dword [edx + 0x88]
lea ecx, [eax + eax*4]
mov eax, dword [edx]
shl ecx, 2
cmp byte [eax + 0x45], 0
je 0x50456b
mov eax, 0x665728
jmp 0x504579
mov eax, dword [edx + 0x58]
add eax, 0xffffffec
add eax, ecx
je 0x5044b9
cmp byte [eax], 0x50
jne 0x5044b9
cmp dword [edi + 0x38], 0
jne 0x5045b1
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov byte [eax], 0x73
mov dword [eax + 0xc], ecx
mov dword [esp + 0x24], 1
jmp 0x504648
mov eax, dword [edx + 0x88]
mov edx, 0x22
mov edi, dword [esp + 0xc]
add eax, 2
push eax
push dword [esp + 0x30]
mov ecx, edi
call fcn.004d5ed0
add esp, 8
push dword [esp + 0x2c]
mov edx, 0x11
mov ecx, edi
call fcn.004d5e60
mov edi, dword [esp + 0x30]
add esp, 4
mov dword [esp + 0x24], 0
jmp 0x504648
test eax, eax
jne 0x504628
cmp byte [esp + 0x88], al
jne 0x504628
mov ecx, dword [esp + 0x44]
lea edx, [eax + 0x73]
mov edi, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x5c]
push edi
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004d5d80
add esp, 0xc
mov dword [esp + 0x24], 1
jmp 0x504648
mov edi, dword [esp + 0x2c]
mov edx, 0x50
mov ecx, dword [esp + 0xc]
push edi
push 0
call fcn.004d5ed0
add esp, 8
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x44]
test eax, eax
jle 0x504662
mov ecx, dword [esi + 8]
mov edx, 0x92
push edi
push eax
call fcn.004d5ed0
add esp, 8
mov edx, dword [esp + 0x14]
xor eax, eax
xor edi, edi
mov dword [esp + 0x44], 0
cmp ax, word [edx + 0x2a]
jge 0x5047c4
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x50]
movsx eax, word [edx + 0x28]
add ecx, edi
cmp edi, eax
jne 0x5046a2
push ecx
mov ecx, dword [esp + 0x10]
mov edx, 0x51
call fcn.004d5e60
jmp 0x5047ab
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x5046e1
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx + 0xf]
mov eax, dword [esp + 0x44]
and dl, 2
je 0x5046cf
inc eax
or ecx, 0xffffffff
test dl, dl
cmove eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
jmp 0x5046fc
mov ecx, edi
sub ecx, eax
inc eax
test dl, dl
cmove eax, dword [esp + 0x44]
mov dword [esp + 0x44], eax
jmp 0x5046fc
mov edx, dword [eax + 4]
xor ecx, ecx
test edx, edx
jle 0x504708
mov eax, dword [eax]
add eax, 4
nop
cmp dword [eax], edi
je 0x5046fc
inc ecx
add eax, 8
cmp ecx, edx
jl 0x5046f0
test ecx, ecx
js 0x50478e
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x28], 0
je 0x50478e
test eax, eax
je 0x50471c
cmp ecx, dword [eax + 4]
jge 0x50478e
cmp byte [esp + 0xb], 0
je 0x504742
mov eax, dword [esp + 0x50]
mov edx, 0x62
add eax, edi
push eax
push ecx
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
call fcn.004d5d80
add esp, 0xc
jmp 0x5047ae
cmp dword [esp + 0x38], 0
je 0x504771
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x64], edx
je 0x5047ae
lea eax, [edx + edi]
mov edx, 0x56
push eax
mov eax, dword [esp + 0x68]
add eax, ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.004d5ed0
add esp, 8
jmp 0x5047ae
mov eax, dword [esp + 0x50]
add eax, edi
push eax
lea eax, [ecx + ecx*2]
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 4]
mov ecx, esi
mov edx, dword [edx + eax*8]
call fcn.004f02d0
jmp 0x5047ab
mov eax, dword [esp + 0x50]
mov ecx, esi
add eax, edi
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x24]
mov edx, dword [edx + eax + 4]
call fcn.004f0330
add esp, 4
mov edx, dword [esp + 0x14]
inc edi
add dword [esp + 0x20], 0x10
movsx eax, word [edx + 0x2a]
cmp edi, eax
jl 0x504680
cmp dword [edx + 0x38], 0
je 0x50485e
mov esi, dword [edx + 0x40]
test esi, esi
je 0x5047eb
mov eax, dword [esp + 0x40]
nop dword [eax]
cmp dword [esi], eax
je 0x5047eb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x5047e0
mov ecx, dword [esp + 0x30]
call fcn.0051b5d0
mov edi, dword [esp + 0x14]
mov edx, 0xc
push 0xfffffffffffffff8
push esi
push dword [esp + 0x7c]
movsx eax, word [edi + 0x2a]
mov esi, dword [esp + 0x18]
add eax, 2
push eax
push 1
mov ecx, esi
call fcn.004d6110
mov eax, dword [esi + 0x88]
add esp, 0x14
test eax, eax
jle 0x504847
mov ecx, dword [ebp + 0x10]
cmp ecx, 0xa
movzx edx, cx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x58]
mov dword [esp + 0x68], 2
cmove edx, dword [esp + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov esi, dword [esp + 0x30]
mov ecx, esi
mov eax, dword [esi + 0x7c]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x504908
mov edi, dword [esp + 0x74]
lea eax, [esp + 0x68]
push 0
push eax
push dword [esp + 0x24]
mov eax, dword [esp + 0x60]
mov ecx, esi
push dword [ebp + 0x10]
shr eax, 0x1f
xor al, 1
movzx eax, al
push eax
push 0
push edi
push dword [esp + 0x9c]
push dword [esp + 0x78]
push dword [esp + 0x84]
call fcn.00504bb0
push 0
push 0
push edi
mov edi, dword [esp + 0x48]
mov ecx, esi
push 0
mov edx, edi
call fcn.00501fb0
add esp, 0x38
cmp dword [esp + 0x68], 0
je 0x5048da
cmp dword [esp + 0x5c], 0
jne 0x5048d6
mov eax, dword [esp + 0x40]
test dword [eax + 0x18], 0x80000
je 0x5048da
mov ecx, edi
call fcn.00501c70
test eax, eax
je 0x5048da
xor eax, eax
jmp 0x5048df
mov eax, 1
push eax
push dword [esp + 0x28]
mov edx, edi
mov ecx, esi
push 0
push dword [esp + 0x6c]
push dword [esp + 0x84]
push dword [esp + 0x94]
push dword [esp + 0x70]
call fcn.00506030
add esp, 0x1c
mov eax, dword [esp + 0x40]
test byte [eax + 0x18], 0x80
je 0x50492c
mov ecx, dword [esp + 0xc]
mov edx, 0x5c
push 1
push dword [esp + 0x88]
call fcn.004d5ed0
add esp, 8
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x50495a
push dword [esp + 0x1c]
movsx eax, word [edi + 0x2a]
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x58]
sub ecx, eax
sub ecx, 2
push ecx
push edi
push 2
push 0
push 0x6c
mov ecx, esi
call fcn.00517ae0
add esp, 0x1c
mov edi, dword [esp + 0xc]
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 0x4c]
test ecx, ecx
je 0x50497d
mov eax, dword [esp + 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi + 0x88]
mov dword [ecx], eax
cmp byte [esp + 0xb], 0
je 0x5049dd
push dword [esp + 0x78]
mov edx, 7
mov ecx, edi
push dword [esp + 0x38]
call fcn.004d5ed0
mov eax, dword [edi]
add esp, 8
mov edx, dword [edi + 0x88]
cmp byte [eax + 0x45], 0
je 0x5049b0
mov eax, 0x665728
jmp 0x5049c5
mov ecx, dword [esp + 0x6c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
lea eax, [eax + ecx*4]
push dword [esp + 0x34]
mov dword [eax + 8], edx
mov ecx, edi
mov edx, 0x70
call fcn.004d5e60
add esp, 4
jmp 0x504a26
cmp dword [esp + 0x38], 0
je 0x504a26
mov edx, dword [esp + 0x78]
mov ecx, edi
call fcn.004d5f40
mov eax, dword [edi]
mov edx, dword [edi + 0x88]
cmp byte [eax + 0x45], 0
je 0x504a07
mov eax, 0x665728
mov dword [eax + 8], edx
jmp 0x504a26
mov ecx, dword [esp + 0x6c]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x58]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x504a26
mov edi, dword [esp + 0xc]
cmp byte [esi + 0x12], 0
jne 0x504a42
cmp dword [esi + 0x80], 0
jne 0x504a42
cmp dword [esi + 0x78], 0
je 0x504a42
mov ecx, esi
call fcn.005037c0
mov eax, dword [esp + 0x40]
test byte [eax + 0x18], 0x80
je 0x504a9d
cmp byte [esi + 0x12], 0
jne 0x504a9d
cmp dword [esi + 0x80], 0
jne 0x504a9d
push 1
push dword [esp + 0x88]
mov edx, 0x58
mov ecx, edi
call fcn.004d5ed0
add esp, 8
mov edx, 1
mov ecx, edi
call fcn.004d7b40
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x504a9d
mov ecx, dword [edi + 0x64]
mov edx, str.rows_inserted
push 0
push 1
push 0xffffffffffffffff
call fcn.004d51a0
add esp, 0xc
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x40]
mov ecx, esi
mov edx, dword [esp + 0x70]
call fcn.004fa380
mov eax, dword [esp + 0x48]
test eax, eax
je 0x504ac1
mov edx, eax
mov ecx, esi
call fcn.004ebf80
mov eax, dword [esp + 0x38]
test eax, eax
je 0x504ad7
push 1
mov edx, eax
mov ecx, esi
call fcn.0050c140
add esp, 4
mov edx, edi
mov ecx, esi
call fcn.004f9f80
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x504b53
test esi, esi
je 0x504b4a
cmp dword [esi + 0x1c8], 0
je 0x504b12
mov edx, ecx
mov ecx, esi
call fcn.004b7d60
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
cmp ecx, dword [esi + 0x120]
jb 0x504b4a
cmp ecx, dword [esi + 0x124]
jae 0x504b4a
mov eax, dword [esi + 0x11c]
mov dword [ecx], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], ecx
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
push ecx
call fcn.004b7cf0
add esp, 4
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret