Function at 0x4c90c0
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 0x4c91ce
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 6
je 0x4c9131
mov dword [ebp + 0xc], 0
jmp 0x4c91ce
mov dword [ebp - 0x20], 0
jmp 0x4c9143
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 0x4c9185
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.0050b6e0
add esp, 8
test eax, eax
jne 0x4c9183
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 0x4c9185
jmp 0x4c913a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x14]
jne 0x4c91ce
mov edx, dword [ebp + 0xc]
push edx
push 0x5eb4c4
call fcn.0050b6e0
add esp, 8
test eax, eax
jne 0x4c91ce
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 0x4c94b0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x40]
add eax, 8
mov dword [ebp - 0x18], eax
jmp 0x4c9205
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 0x4c9469
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 0x4c92cc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x14]
mov ecx, dword [eax + 4]
and ecx, 0x800
je 0x4c92cc
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 0x4c9263
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 0x4c92bb
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.004fabd0
add esp, 0x10
test eax, eax
je 0x4c92b9
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 0x4c925a
cmp dword [ebp - 0x58], 0
jne 0x4c92c7
cmp dword [ebp + 0x10], 0
jne 0x4c92cc
jmp 0x4c91f3
cmp dword [ebp + 0xc], 0
je 0x4c9302
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp ecx, dword [ebp - 0x34]
je 0x4c92e2
jmp 0x4c91f3
cmp dword [ebp - 0x34], 0
jne 0x4c9302
push 0x5eb4cc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00583b30
add esp, 8
test eax, eax
je 0x4c9302
jmp 0x4c91f3
cmp dword [ebp + 0x10], 0
je 0x4c9370
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
je 0x4c931c
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x5c], edx
jmp 0x4c9324
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.0050b6e0
add esp, 8
test eax, eax
je 0x4c9343
jmp 0x4c91f3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0xd0]
cmp eax, 2
jl 0x4c9370
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0xc], 0
je 0x4c9370
mov edx, dword [ebp + 0x1c]
add edx, 0x2c
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00505380
add esp, 0xc
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.0050b750
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 0x4c93a3
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 0x4c9442
mov edx, dword [ebp - 0x24]
movzx eax, byte [edx + 0xa]
movzx ecx, byte [ebp - 1]
cmp eax, ecx
jne 0x4c943d
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
call fcn.0050b6e0
add esp, 8
test eax, eax
jne 0x4c943d
cmp dword [ebp - 0x10], 1
jne 0x4c9405
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x24]
and eax, 4
je 0x4c93ec
jmp 0x4c9391
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x34]
push eax
call fcn.004cc190
add esp, 8
test eax, eax
je 0x4c9405
jmp 0x4c9391
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 0x4c9429
mov dword [ebp - 0x60], 0xffffffff
jmp 0x4c9430
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 0x4c9442
jmp 0x4c9391
cmp dword [ebp - 0x10], 0
jne 0x4c9464
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c]
and eax, 0x200
jne 0x4c9464
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
jmp 0x4c91f3
cmp dword [ebp - 0x1c], 0
je 0x4c94b0
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 0x4c94a4
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 0x4c984a
cmp dword [ebp + 0xc], 0
jne 0x4c984a
mov dword [ebp - 8], 0
mov edx, dword [ebp + 8]
cmp dword [edx + 0x78], 0
je 0x4c95ba
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 0x4c954d
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x400
je 0x4c954b
cmp dword [ebp + 0x10], 0
je 0x4c9520
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.0050b6e0
add esp, 8
test eax, eax
jne 0x4c954b
cmp dword [ebp - 0x44], 0x80
je 0x4c9532
mov dword [ebp - 0x64], 1
jmp 0x4c9539
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 0x4c95ba
cmp dword [ebp - 0x44], 0x80
je 0x4c9586
cmp dword [ebp + 0x10], 0
je 0x4c9586
mov edx, dword [ebp + 0x10]
push edx
push 0x5eb4d0
call fcn.0050b6e0
add esp, 8
test eax, eax
jne 0x4c9586
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 0x4c95ba
cmp dword [ebp - 0x44], 0x7f
je 0x4c95ba
cmp dword [ebp + 0x10], 0
je 0x4c95ba
mov eax, dword [ebp + 0x10]
push eax
push 0x5eb4d4
call fcn.0050b6e0
add esp, 8
test eax, eax
jne 0x4c95ba
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 0x4c9611
cmp dword [ebp + 0x10], 0
je 0x4c9611
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0
je 0x4c9611
mov edx, dword [ebp + 0x10]
push edx
push str.excluded
call fcn.0050b6e0
add esp, 8
test eax, eax
jne 0x4c9611
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 0x4c984a
mov eax, dword [ebp + 0x14]
push eax
call fcn.0050b750
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 0x4c9660
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 0x4c96a8
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + 0xa]
movzx eax, byte [ebp - 2]
cmp edx, eax
jne 0x4c96a6
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
push eax
call fcn.0050b6e0
add esp, 8
test eax, eax
jne 0x4c96a6
mov ecx, dword [ebp - 8]
movsx edx, word [ecx + 0x20]
cmp dword [ebp - 0x14], edx
jne 0x4c96a4
mov dword [ebp - 0x14], 0xffffffff
jmp 0x4c96a8
jmp 0x4c964e
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0x22]
cmp dword [ebp - 0x14], ecx
jl 0x4c96d9
mov edx, dword [ebp + 0x14]
push edx
call fcn.004f91e0
add esp, 4
test eax, eax
je 0x4c96d9
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c]
and ecx, 0x200
jne 0x4c96d9
mov dword [ebp - 0x14], 0xffffffff
mov edx, dword [ebp - 8]
movsx eax, word [edx + 0x22]
cmp dword [ebp - 0x14], eax
jge 0x4c984a
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 0x4c975b
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xd0]
cmp ecx, 2
jl 0x4c972e
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 0x4c9756
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.0050bb40
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 0x4c984a
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 0x4c97bc
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.0050bb40
add esp, 8
movsx ecx, ax
lea edx, [esi + ecx + 1]
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], edx
jmp 0x4c984a
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 0x4c97dd
mov eax, dword [ebp + 0x1c]
mov byte [eax + 1], 0x44
jmp 0x4c984a
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx + 0x1c], 0
jne 0x4c9819
cmp dword [ebp - 0x14], 0x20
jl 0x4c97f5
mov dword [ebp - 0x6c], 0xffffffff
jmp 0x4c9802
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 0x4c984a
cmp dword [ebp - 0x14], 0x20
jl 0x4c9828
mov dword [ebp - 0x70], 0xffffffff
jmp 0x4c9835
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 0x4c989f
cmp dword [ebp - 0x38], 1
jne 0x4c989f
cmp dword [ebp - 0x1c], 0
je 0x4c989f
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x28
jne 0x4c989f
mov eax, dword [ebp + 0x14]
push eax
call fcn.004f91e0
add esp, 4
test eax, eax
je 0x4c989f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
and eax, 0x200
jne 0x4c989f
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 0x4c9a2f
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx + 0x18]
and edx, 0x80
je 0x4c9a2f
cmp dword [ebp + 0x10], 0
jne 0x4c9a2f
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], 0
jmp 0x4c98e0
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 0x4c9a2f
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 0x4c9a2a
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049d080
add esp, 8
test eax, eax
jne 0x4c9a2a
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 0x4c996b
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
and ecx, 0x10
je 0x4c996b
mov edx, dword [ebp - 0x48]
push edx
push str.misuse_of_aliased_aggregate__s
mov eax, dword [ebp + 8]
push eax
call fcn.004ead00
add esp, 0xc
mov eax, 2
jmp 0x4c9c8c
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
and edx, 0x8000
je 0x4c99ae
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0x18]
and ecx, 0x4000
je 0x4c998f
mov edx, dword [ebp + 0x18]
cmp edx, dword [ebp - 0x2c]
je 0x4c99ae
mov eax, dword [ebp - 0x48]
push eax
push str.misuse_of_aliased_window_function__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.004ead00
add esp, 0xc
mov eax, 2
jmp 0x4c9c8c
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004f0780
add esp, 4
cmp eax, 1
je 0x4c99da
push 0x5eb52c
mov eax, dword [ebp + 8]
push eax
call fcn.004ead00
add esp, 8
mov eax, 2
jmp 0x4c9c8c
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.004d6230
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 0x4c9a25
mov edx, dword [ebp + 0x1c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00505380
add esp, 0xc
jmp 0x4c9c12
jmp 0x4c98d7
cmp dword [ebp - 0x10], 0
je 0x4c9a37
jmp 0x4c9a53
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 0x4c91ce
cmp dword [ebp - 0x10], 0
jne 0x4c9ace
cmp dword [ebp + 0x10], 0
jne 0x4c9ace
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 4]
and edx, 0x40
je 0x4c9ab4
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004ae150
add esp, 8
test eax, eax
je 0x4c9ab4
mov edx, dword [ebp + 0x14]
push edx
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.0049d410
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.00572370
add esp, 0xc
mov eax, 1
jmp 0x4c9c8c
mov edx, dword [ebp + 0x1c]
push edx
call fcn.004eebb0
add esp, 4
test eax, eax
je 0x4c9ace
mov eax, 1
jmp 0x4c9c8c
cmp dword [ebp - 0x10], 1
je 0x4c9b83
cmp dword [ebp - 0x10], 0
jne 0x4c9ae7
mov dword [ebp - 0x74], str.no_such_column
jmp 0x4c9aee
mov dword [ebp - 0x74], str.ambiguous_column_name
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x54], eax
cmp dword [ebp + 0xc], 0
je 0x4c9b1d
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.004ead00
add esp, 0x18
jmp 0x4c9b5b
cmp dword [ebp + 0x10], 0
je 0x4c9b42
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0x5eb59c
mov eax, dword [ebp + 8]
push eax
call fcn.004ead00
add esp, 0x14
jmp 0x4c9b5b
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0x5eb5a8
mov eax, dword [ebp + 8]
push eax
call fcn.004ead00
add esp, 0x10
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00504970
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 0x4c9bb2
cmp dword [ebp - 0x1c], 0
je 0x4c9bb2
mov ecx, dword [ebp + 0x1c]
push ecx
call fcn.004ee040
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 0x4c9bf9
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x28]
push eax
call fcn.004ee850
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.004ee850
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 0x4c9c87
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp dword [eax + 0x168], 0
je 0x4c9c5a
mov ecx, dword [ebp + 0x1c]
movzx edx, byte [ecx]
cmp edx, 0xa7
je 0x4c9c3f
mov eax, dword [ebp + 0x1c]
movzx ecx, byte [eax]
cmp ecx, 0x4d
jne 0x4c9c5a
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.004de560
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 0x4c9c73
jmp 0x4c9c7e
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
jmp 0x4c9c5a
mov eax, 1
jmp 0x4c9c8c
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret