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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0xa7
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x4d147e
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 6
je 0x4d13e1
mov dword [ebp + 0xc], 0
jmp 0x4d147e
mov dword [ebp - 0x20], 0
jmp 0x4d13f3
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
cmp edx, dword [ecx + 0x14]
jge 0x4d1435
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
shl ecx, 4
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx]
push ecx
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d1433
mov edx, dword [ebp - 0x20]
shl edx, 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edx + 0xc]
mov dword [ebp - 0x34], edx
jmp 0x4d1435
jmp 0x4d13ea
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x14]
jne 0x4d147e
mov edx, dword [ebp + 0xc]
push edx
push 0x5f14c4
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d147e
mov eax, 0x10
imul ecx, eax, 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + ecx + 0xc]
mov dword [ebp - 0x34], ecx
mov edx, 0x10
imul eax, edx, 0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + eax]
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0
je 0x4d1760
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x40]
add eax, 8
mov dword [ebp - 0x18], eax
jmp 0x4d14b5
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x18]
add edx, 0x48
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jge 0x4d1719
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x14], 0
je 0x4d157c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
and ecx, 0x800
je 0x4d157c
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], 0
jmp 0x4d1513
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jge 0x4d156b
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
imul edx, dword [ebp - 0xc], 0x14
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx + 8]
push ecx
call fcn.00502e60
add esp, 0x10
test eax, eax
je 0x4d1569
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x1c]
mov dx, word [ebp - 0xc]
mov word [ecx + 0x20], dx
mov dword [ebp - 0x58], 1
jmp 0x4d150a
cmp dword [ebp - 0x58], 0
jne 0x4d1577
cmp dword [ebp + 0x10], 0
jne 0x4d157c
jmp 0x4d14a3
cmp dword [ebp + 0xc], 0
je 0x4d15b2
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [ebp - 0x34]
je 0x4d1592
jmp 0x4d14a3
cmp dword [ebp - 0x34], 0
jne 0x4d15b2
push 0x5f14cc
mov edx, dword [ebp + 0xc]
push edx
call fcn.0058e490
add esp, 8
test eax, eax
je 0x4d15b2
jmp 0x4d14a3
cmp dword [ebp + 0x10], 0
je 0x4d1620
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
je 0x4d15cc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x5c], edx
jmp 0x4d15d4
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
call fcn.00513970
add esp, 8
test eax, eax
je 0x4d15f3
jmp 0x4d14a3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xd0]
cmp eax, 2
jl 0x4d1620
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc], 0
je 0x4d1620
mov edx, dword [ebp + 0x1c]
add edx, 0x2c
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0050d610
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.005139e0
add esp, 4
mov byte [ebp - 1], al
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
jmp 0x4d1653
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x24]
add edx, 0x10
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0xc], ecx
jge 0x4d16f2
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0xa]
movzx ecx, byte [ebp - 1]
cmp eax, ecx
jne 0x4d16ed
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d16ed
cmp dword [ebp - 0x10], 1
jne 0x4d16b5
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24]
and eax, 4
je 0x4d169c
jmp 0x4d1641
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x34]
push eax
call fcn.004d4440
add esp, 8
test eax, eax
je 0x4d16b5
jmp 0x4d1641
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x20]
cmp dword [ebp - 0xc], ecx
jne 0x4d16d9
mov dword [ebp - 0x60], 0xffffffff
jmp 0x4d16e0
movsx edx, word [ebp - 0xc]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 0x1c]
mov cx, word [ebp - 0x60]
mov word [eax + 0x20], cx
jmp 0x4d16f2
jmp 0x4d1641
cmp dword [ebp - 0x10], 0
jne 0x4d1714
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
and eax, 0x200
jne 0x4d1714
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
jmp 0x4d14a3
cmp dword [ebp - 0x1c], 0
je 0x4d1760
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x2c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x2c], edx
mov eax, dword [ebp - 0x1c]
movzx ecx, byte [eax + 0x24]
and ecx, 8
je 0x4d1754
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
or eax, 0x100000
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x10], 0
jne 0x4d1afa
cmp dword [ebp + 0xc], 0
jne 0x4d1afa
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
je 0x4d186a
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x94]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x95]
test eax, eax
je 0x4d17fd
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x400
je 0x4d17fb
cmp dword [ebp + 0x10], 0
je 0x4d17d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d17fb
cmp dword [ebp - 0x44], 0x80
je 0x4d17e2
mov dword [ebp - 0x64], 1
jmp 0x4d17e9
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x64]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
jmp 0x4d186a
cmp dword [ebp - 0x44], 0x80
je 0x4d1836
cmp dword [ebp + 0x10], 0
je 0x4d1836
mov edx, dword [ebp + 0x10]
push edx
push 0x5f14d0
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d1836
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 8], edx
jmp 0x4d186a
cmp dword [ebp - 0x44], 0x7f
je 0x4d186a
cmp dword [ebp + 0x10], 0
je 0x4d186a
mov eax, dword [ebp + 0x10]
push eax
push 0x5f14d4
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d186a
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x200
je 0x4d18c1
cmp dword [ebp + 0x10], 0
je 0x4d18c1
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0
je 0x4d18c1
mov edx, dword [ebp + 0x10]
push edx
push str.excluded
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d18c1
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x20]
mov edx, 0x48
imul eax, edx, 0
mov ecx, dword [ecx + eax + 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x1c], 2
cmp dword [ebp - 8], 0
je 0x4d1afa
mov eax, dword [ebp + 0x14]
push eax
call fcn.005139e0
add esp, 4
mov byte [ebp - 2], al
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
jmp 0x4d1910
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x14], eax
jge 0x4d1958
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + 0xa]
movzx eax, byte [ebp - 2]
cmp edx, eax
jne 0x4d1956
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call fcn.00513970
add esp, 8
test eax, eax
jne 0x4d1956
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 0x20]
cmp dword [ebp - 0x14], edx
jne 0x4d1954
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4d1958
jmp 0x4d18fe
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0x14], ecx
jl 0x4d1989
mov edx, dword [ebp + 0x14]
push edx
call fcn.00501470
add esp, 4
test eax, eax
je 0x4d1989
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
and ecx, 0x200
jne 0x4d1989
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x14], eax
jge 0x4d1afa
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp + 0x1c]
cmp dword [edx + 0x1c], 2
jne 0x4d1a0b
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xd0]
cmp ecx, 2
jl 0x4d19de
mov edx, dword [ebp + 0x1c]
mov ax, word [ebp - 0x14]
mov word [edx + 0x20], ax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x2c], edx
mov dword [ebp - 0x3c], 0xa7
jmp 0x4d1a06
mov eax, dword [ebp + 0x18]
mov esi, dword [eax + 8]
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00513dd0
add esp, 8
cwde
add eax, dword [esi + 0x24]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [ebp - 0x3c], 0xb0
jmp 0x4d1afa
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 8]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 0x95]
test edx, edx
je 0x4d1a6c
mov dword [ebp - 0x3c], 0xb0
mov eax, dword [ebp + 0x1c]
mov byte [eax + 2], 0xa7
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 0x22]
add edx, 1
mov eax, dword [ebp + 0x1c]
imul edx, dword [eax + 0x1c]
mov ecx, dword [ebp + 0x18]
mov esi, dword [ecx + 8]
add esi, edx
movzx edx, word [ebp - 0x14]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00513dd0
add esp, 8
movsx ecx, ax
lea edx, [esi + ecx + 1]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], edx
jmp 0x4d1afa
mov ecx, dword [ebp + 0x1c]
mov dx, word [ebp - 0x14]
mov word [ecx + 0x20], dx
mov dword [ebp - 0x3c], 0x4d
cmp dword [ebp - 0x14], 0
jge 0x4d1a8d
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 0x44
jmp 0x4d1afa
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 0x1c], 0
jne 0x4d1ac9
cmp dword [ebp - 0x14], 0x20
jl 0x4d1aa5
mov dword [ebp - 0x6c], 0xffffffff
jmp 0x4d1ab2
mov edx, 1
mov ecx, dword [ebp - 0x14]
shl edx, cl
mov dword [ebp - 0x6c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8c]
or ecx, dword [ebp - 0x6c]
mov edx, dword [ebp + 8]
mov dword [edx + 0x8c], ecx
jmp 0x4d1afa
cmp dword [ebp - 0x14], 0x20
jl 0x4d1ad8
mov dword [ebp - 0x70], 0xffffffff
jmp 0x4d1ae5
mov eax, 1
mov ecx, dword [ebp - 0x14]
shl eax, cl
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x90]
or edx, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov dword [eax + 0x90], edx
cmp dword [ebp - 0x10], 0
jne 0x4d1b4f
cmp dword [ebp - 0x38], 1
jne 0x4d1b4f
cmp dword [ebp - 0x1c], 0
je 0x4d1b4f
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x28
jne 0x4d1b4f
mov eax, dword [ebp + 0x14]
push eax
call fcn.00501470
add esp, 4
test eax, eax
je 0x4d1b4f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
and eax, 0x200
jne 0x4d1b4f
mov dword [ebp - 0x10], 1
or ecx, 0xffffffff
mov edx, dword [ebp + 0x1c]
mov word [edx + 0x20], cx
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 0x44
cmp dword [ebp - 0x10], 0
jne 0x4d1cdf
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x80
je 0x4d1cdf
cmp dword [ebp + 0x10], 0
jne 0x4d1cdf
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], 0
jmp 0x4d1b90
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax]
jge 0x4d1cdf
imul edx, dword [ebp - 0xc], 0x14
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x48], ecx
imul edx, dword [ebp - 0xc], 0x14
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + edx + 0x14]
and ecx, 3
jne 0x4d1cda
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.004a5310
add esp, 8
test eax, eax
jne 0x4d1cda
imul ecx, dword [ebp - 0xc], 0x14
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + ecx + 8]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 1
jne 0x4d1c1b
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
and ecx, 0x10
je 0x4d1c1b
mov edx, dword [ebp - 0x48]
push edx
push str.misuse_of_aliased_aggregate__s
mov eax, dword [ebp + 8]
push eax
call fcn.004f2f90
add esp, 0xc
mov eax, 2
jmp 0x4d1f3c
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
and edx, 0x8000
je 0x4d1c5e
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x18]
and ecx, 0x4000
je 0x4d1c3f
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0x2c]
je 0x4d1c5e
mov eax, dword [ebp - 0x48]
push eax
push str.misuse_of_aliased_window_function__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f2f90
add esp, 0xc
mov eax, 2
jmp 0x4d1f3c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004f8a10
add esp, 4
cmp eax, 1
je 0x4d1c8a
push 0x5f152c
mov eax, dword [ebp + 8]
push eax
call fcn.004f2f90
add esp, 8
mov eax, 2
jmp 0x4d1f3c
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004de4d0
add esp, 0x14
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xd0]
cmp ecx, 2
jl 0x4d1cd5
mov edx, dword [ebp + 0x1c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0050d610
add esp, 0xc
jmp 0x4d1ec2
jmp 0x4d1b87
cmp dword [ebp - 0x10], 0
je 0x4d1ce7
jmp 0x4d1d03
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp + 0x18], edx
mov eax, dword [ebp - 0x50]
add eax, 1
mov dword [ebp - 0x50], eax
cmp dword [ebp + 0x18], 0
jne 0x4d147e
cmp dword [ebp - 0x10], 0
jne 0x4d1d7e
cmp dword [ebp + 0x10], 0
jne 0x4d1d7e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
and edx, 0x40
je 0x4d1d64
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004b63f0
add esp, 8
test eax, eax
je 0x4d1d64
mov edx, dword [ebp + 0x14]
push edx
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004a56a0
add esp, 0xc
mov eax, dword [ebp + 0x1c]
mov byte [eax], 0x75
push 8
push 0
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
push ecx
call fcn.0057ccd0
add esp, 0xc
mov eax, 1
jmp 0x4d1f3c
mov edx, dword [ebp + 0x1c]
push edx
call fcn.004f6e40
add esp, 4
test eax, eax
je 0x4d1d7e
mov eax, 1
jmp 0x4d1f3c
cmp dword [ebp - 0x10], 1
je 0x4d1e33
cmp dword [ebp - 0x10], 0
jne 0x4d1d97
mov dword [ebp - 0x74], str.no_such_column
jmp 0x4d1d9e
mov dword [ebp - 0x74], str.ambiguous_column_name
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
cmp dword [ebp + 0xc], 0
je 0x4d1dcd
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
push str._s:__s._s._s
mov edx, dword [ebp + 8]
push edx
call fcn.004f2f90
add esp, 0x18
jmp 0x4d1e0b
cmp dword [ebp + 0x10], 0
je 0x4d1df2
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0x5f159c
mov eax, dword [ebp + 8]
push eax
call fcn.004f2f90
add esp, 0x14
jmp 0x4d1e0b
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0x5f15a8
mov eax, dword [ebp + 8]
push eax
call fcn.004f2f90
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.0050cc00
add esp, 8
mov ecx, dword [ebp + 8]
mov byte [ecx + 0x11], 1
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x14]
add eax, 1
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0x1c]
movsx eax, word [edx + 0x20]
test eax, eax
jl 0x4d1e62
cmp dword [ebp - 0x1c], 0
je 0x4d1e62
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004f62d0
add esp, 4
mov ecx, dword [ebp - 0x1c]
or eax, dword [ecx + 0x38]
or edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
and eax, 0x804000
jne 0x4d1ea9
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004f6ae0
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004f6ae0
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x10], 0
mov eax, dword [ebp + 0x1c]
mov cl, byte [ebp - 0x3c]
mov byte [eax], cl
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
or eax, 0x800000
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 4], eax
cmp dword [ebp - 0x10], 1
jne 0x4d1f37
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x168], 0
je 0x4d1f0a
mov ecx, dword [ebp + 0x1c]
movzx edx, byte [ecx]
cmp edx, 0xa7
je 0x4d1eef
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [eax]
cmp ecx, 0x4d
jne 0x4d1f0a
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e67f0
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp + 0x18]
jne 0x4d1f23
jmp 0x4d1f2e
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x4d1f0a
mov eax, 1
jmp 0x4d1f3c
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret