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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov edx, dword [ebp + 0xc]
xor eax, eax
push ebx
mov dword [ebp - 0x30], eax
mov ecx, 0xa2
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x28], ecx
xor esi, esi
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x18]
push edi
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x1c], esi
mov dword [ecx + 0x1c], 0xffffffff
test edx, edx
je 0x4c3763
test byte [eax + 0x18], 6
je 0x4c3710
mov dword [ebp + 0xc], esi
jmp 0x4c3763
mov ebx, dword [ebx + 0x14]
xor esi, esi
test ebx, ebx
jle 0x4c3761
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + 0x10]
nop
push edx
push dword [edi]
call fcn.004ffc60
add esp, 8
test eax, eax
je 0x4c3746
mov edx, dword [ebp + 0xc]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x4c3720
mov ecx, dword [ebp + 0x1c]
xor esi, esi
mov eax, dword [ebp + 0x18]
xor edi, edi
jmp 0x4c3763
mov ecx, dword [ebp - 0x24]
add esi, esi
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [eax + esi*8 + 0xc]
xor esi, esi
mov dword [ebp - 0x1c], eax
xor edi, edi
mov eax, dword [ebp + 0x18]
jmp 0x4c3763
xor esi, esi
mov edx, dword [eax + 4]
mov dword [ebp - 0x44], edx
test edx, edx
je 0x4c3a83
xor edi, edi
lea eax, [edx + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], eax
cmp dword [edx], edi
jle 0x4c3a5d
mov ebx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x20], edx
test ebx, ebx
je 0x4c3811
test dword [ebx + 8], 0x800
je 0x4c3811
mov ebx, dword [ebx]
xor esi, esi
mov dword [ebp - 0x2c], 0
cmp dword [ebx], esi
jle 0x4c3804
lea edi, [ebx + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [edi]
call fcn.004f3540
add esp, 0x10
test eax, eax
je 0x4c37e8
mov eax, dword [ebp - 8]
inc dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], 2
mov word [eax + 0x20], si
mov eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x4c37eb
mov eax, dword [ebp - 0x2c]
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jl 0x4c37b0
mov edi, dword [ebp - 0x14]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x4c3a42
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4c3a42
jmp 0x4c3814
mov ecx, dword [ebp + 0x10]
cmp dword [ebp + 0xc], 0
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x38], ebx
je 0x4c382c
mov ebx, dword [ebp - 0x1c]
cmp dword [edx + 0x48], ebx
jne 0x4c3a42
test ecx, ecx
je 0x4c38cd
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4c383f
mov edx, ecx
jmp 0x4c3841
mov edx, dword [edx]
mov bl, byte [edx]
mov ecx, dword [ebp + 0x10]
movzx eax, bl
movzx esi, byte [eax + 0x5bd2c8]
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x5bd2c8]
sub esi, eax
jne 0x4c3a3f
mov edi, ecx
sub edi, edx
test bl, bl
je 0x4c388c
movzx eax, byte [edi + edx + 1]
inc edx
mov bl, byte [edx]
movzx ecx, byte [eax + 0x5bd2c8]
movzx eax, bl
movzx esi, byte [eax + 0x5bd2c8]
sub esi, ecx
je 0x4c3866
jmp 0x4c3a3c
test esi, esi
jne 0x4c3a3c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
cmp byte [eax + 0xc8], 2
jb 0x4c38d0
cmp dword [edx + 0xc], esi
je 0x4c38d0
mov eax, dword [eax + 0x110]
test eax, eax
je 0x4c38d0
mov ecx, dword [ebp + 0x1c]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x4c38c5
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4c38b8
jmp 0x4c38d0
mov dword [eax], 0
jmp 0x4c38d0
mov edx, dword [ebp - 8]
inc dword [ebp - 0x10]
mov eax, edx
cmp dword [ebp - 0x38], 0
mov ebx, dword [ebp - 0xc]
cmovne eax, ebx
xor edi, edi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edi
mov edx, dword [eax + 4]
movsx eax, word [eax + 0x2a]
mov dword [ebp - 0x38], edx
test eax, eax
jle 0x4c3a3c
mov esi, dword [ebp + 0x14]
movzx eax, byte [esi]
movzx ecx, byte [eax + 0x5bd2c8]
mov dword [ebp - 0x18], ecx
nop dword [eax]
mov edx, dword [edx]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x5bd2c8]
sub eax, ecx
jne 0x4c3a1a
sub esi, edx
test bl, bl
je 0x4c394e
movzx eax, byte [esi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x5bd2c8]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x5bd2c8]
sub eax, ecx
je 0x4c3928
jmp 0x4c3a14
test eax, eax
jne 0x4c3a14
mov esi, dword [ebp - 4]
cmp esi, 1
jne 0x4c39e6
mov eax, dword [ebp - 8]
test byte [eax + 0x24], 4
jne 0x4c3a14
mov eax, dword [eax + 0x34]
test eax, eax
je 0x4c39e6
mov ecx, dword [eax + 4]
xor ebx, ebx
mov dword [ebp - 0x40], ecx
test ecx, ecx
jle 0x4c39e6
mov eax, dword [eax]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
nop word [eax + eax]
mov esi, dword [eax]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x5bd2c8]
sub ecx, edx
jne 0x4c39d1
mov edi, dword [ebp + 0x14]
sub edi, esi
test al, al
je 0x4c39ca
movzx ecx, byte [edi + esi + 1]
inc esi
movzx edx, byte [ecx + 0x5bd2c8]
mov al, byte [esi]
movzx ecx, al
movzx ecx, byte [ecx + 0x5bd2c8]
sub ecx, edx
je 0x4c39a7
jmp 0x4c39ce
test ecx, ecx
je 0x4c3a11
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
inc ebx
add eax, 8
mov dword [ebp - 0x34], eax
cmp ebx, dword [ebp - 0x40]
jl 0x4c3990
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
inc esi
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], esi
movsx eax, word [eax + 0x28]
cmp edi, eax
jne 0x4c3c03
mov ecx, dword [ebp + 0x1c]
or eax, 0xffffffff
mov edi, dword [ebp - 0x14]
mov word [ecx + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4c3a48
mov edi, dword [ebp - 0x2c]
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x20]
inc edi
mov edx, dword [ebp - 0x38]
add edx, 0x10
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x38], edx
movsx eax, word [ebx + 0x2a]
cmp edi, eax
jl 0x4c3910
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ebx
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x44]
inc edi
add eax, 0x48
mov dword [ebp - 0x14], edi
mov dword [ebp - 8], eax
cmp edi, dword [edx]
jl 0x4c3784
mov edi, dword [ebp - 0xc]
test edi, edi
je 0x4c3a83
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x2c], eax
test byte [edi + 0x24], 8
je 0x4c3a7d
or dword [ecx + 4], 0x100000
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp - 0x10]
jne 0x4c3d82
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4c3d82
test eax, eax
jne 0x4c3d82
mov esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [esi + 0x78], eax
je 0x4c3b29
mov bh, byte [esi + 0x90]
cmp bh, 0x79
je 0x4c3b02
movzx eax, byte [ecx]
mov edx, 0x6e
mov esi, 0x5c4e44
movzx eax, byte [eax + 0x5bd2c8]
sub edx, eax
jne 0x4c3aff
mov edi, ecx
mov bl, 0x6e
sub edi, esi
test bl, bl
je 0x4c3c18
movzx eax, byte [edi + esi + 1]
inc esi
mov bl, byte [esi]
movzx ecx, byte [eax + 0x5bd2c8]
movzx eax, bl
movzx edx, byte [eax + 0x5bd2c8]
sub edx, ecx
je 0x4c3ad7
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp bh, 0x78
je 0x4c3b29
push ecx
push 0x5c4e48
call fcn.004ffc60
add esp, 8
test eax, eax
jne 0x4c3b29
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 0
mov eax, dword [esi + 0x78]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov ecx, 0x200
test word [eax + 0x18], cx
je 0x4c3b85
cmp dword [eax + 8], 0
je 0x4c3b85
mov ecx, dword [ebp + 0x10]
mov edx, 0x65
mov esi, str.excluded
movzx eax, byte [ecx]
movzx eax, byte [eax + 0x5bd2c8]
sub edx, eax
jne 0x4c3b85
mov edi, ecx
mov bl, 0x65
sub edi, esi
nop
test bl, bl
je 0x4c3c35
movzx eax, byte [edi + esi + 1]
inc esi
mov bl, byte [esi]
movzx ecx, byte [eax + 0x5bd2c8]
movzx eax, bl
movzx edx, byte [eax + 0x5bd2c8]
sub edx, ecx
je 0x4c3b60
mov edi, dword [ebp - 8]
test edi, edi
je 0x4c3d79
movsx ebx, word [edi + 0x2a]
xor esi, esi
mov eax, dword [edi + 0x48]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], ebx
test ebx, ebx
jle 0x4c3c7a
mov eax, dword [ebp + 0x14]
movzx eax, byte [eax]
movzx edi, byte [eax + 0x5bd2c8]
mov dword [ebp - 0x38], edi
mov edx, dword [ecx]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x5bd2c8]
sub eax, edi
jne 0x4c3c65
mov edi, dword [ebp + 0x14]
sub edi, edx
nop
test bl, bl
je 0x4c3c5b
movzx eax, byte [edi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x5bd2c8]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x5bd2c8]
sub eax, ecx
je 0x4c3be0
jmp 0x4c3c5f
mov ecx, dword [ebp + 0x1c]
movzx eax, di
mov edi, dword [ebp - 0x14]
mov word [ecx + 0x20], ax
mov eax, dword [ebp - 8]
jmp 0x4c3a48
test edx, edx
jne 0x4c3afc
mov eax, dword [ebp + 0x1c]
mov dword [eax + 0x1c], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x78]
jmp 0x4c3b26
test edx, edx
jne 0x4c3b85
mov ecx, dword [ebp + 0x18]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], edi
mov dword [eax + 0x1c], 2
jmp 0x4c3b88
test eax, eax
je 0x4c3cda
mov edi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x34]
inc esi
add ecx, 0x10
mov dword [ebp - 0x2c], ecx
cmp esi, ebx
jl 0x4c3bc4
mov edi, dword [ebp - 8]
cmp esi, ebx
jl 0x4c3ca1
push dword [ebp + 0x14]
call fcn.004f1c40
add esp, 4
test eax, eax
je 0x4c3c99
test byte [edi + 0x24], 0x40
mov eax, 0xffffffff
cmove esi, eax
cmp esi, ebx
jge 0x4c3d79
mov ecx, dword [ebp + 0x1c]
inc dword [ebp - 4]
mov eax, dword [ecx + 0x1c]
cmp eax, 2
jne 0x4c3d14
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
cmp byte [eax + 0xc8], 2
jb 0x4c3cf0
mov eax, dword [ebp - 0x10]
mov word [ecx + 0x20], si
mov esi, dword [ebp - 4]
mov dword [ecx + 0x2c], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x28], 0xa2
jmp 0x4c3d85
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 0x34]
movsx eax, word [edi + 0x28]
cmp esi, eax
mov eax, 0xffffffff
cmove esi, eax
jmp 0x4c3c7a
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x28], 0xa8
mov eax, dword [eax + 0x18]
add eax, esi
or dword [ecx + 4], 0x400000
mov esi, dword [ebp - 4]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x10]
jmp 0x4c3d85
test esi, esi
jns 0x4c3d1e
mov byte [ecx + 1], 0x44
jmp 0x4c3d6b
test eax, eax
jne 0x4c3d4c
cmp esi, 0x20
jl 0x4c3d35
mov edx, dword [ebp + 8]
or eax, 0xffffffff
or dword [edx + 0x88], eax
jmp 0x4c3d6b
mov edx, dword [ebp + 8]
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x1c]
or dword [edx + 0x88], eax
jmp 0x4c3d6b
cmp esi, 0x20
jl 0x4c3d56
or eax, 0xffffffff
jmp 0x4c3d62
mov ecx, esi
mov eax, 1
shl eax, cl
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
or dword [edx + 0x8c], eax
mov dword [ecx + 0x2c], edi
mov word [ecx + 0x20], si
mov dword [ebp - 0x28], 0x4d
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
mov edx, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
test esi, esi
jne 0x4c3dc7
cmp eax, 1
jne 0x4c3dc7
test edi, edi
je 0x4c3dc7
test byte [edx + 0x18], 0x20
jne 0x4c3dc7
push ebx
call fcn.004f1c40
add esp, 4
test eax, eax
je 0x4c3dc7
mov eax, dword [edi + 0x10]
test byte [eax + 0x24], 0x40
jne 0x4c3dc7
mov eax, dword [ebp + 0x1c]
mov esi, 1
or ecx, 0xffffffff
mov dword [ebp - 4], esi
mov word [eax + 0x20], cx
mov byte [eax + 1], 0x44
mov eax, dword [ebp + 0x18]
movzx eax, word [eax + 0x18]
test al, al
jns 0x4c3e6e
test esi, esi
jne 0x4c409b
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x4c3e79
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax + 8]
cmp dword [eax], ecx
jle 0x4c3e76
mov edx, dword [ebp + 0x18]
lea ecx, [eax + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ecx]
test ecx, ecx
je 0x4c3e51
mov dl, byte [ecx]
mov esi, ecx
movzx eax, dl
movzx edi, byte [eax + 0x5bd2c8]
movzx eax, byte [ebx]
movzx eax, byte [eax + 0x5bd2c8]
sub edi, eax
jne 0x4c3e4e
sub ebx, ecx
test dl, dl
je 0x4c3e4a
movzx eax, byte [ebx + esi + 1]
inc esi
mov dl, byte [esi]
movzx ecx, byte [eax + 0x5bd2c8]
movzx eax, dl
movzx edi, byte [eax + 0x5bd2c8]
sub edi, ecx
je 0x4c3e27
jmp 0x4c3e4e
test edi, edi
je 0x4c3e98
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
inc ecx
add dword [ebp - 0x18], 0x18
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x2c], ecx
cmp ecx, dword [eax]
mov ecx, dword [ebp - 0x18]
jl 0x4c3e03
mov esi, dword [ebp - 4]
jmp 0x4c3e76
test esi, esi
jne 0x4c409b
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x18]
inc dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp + 0x18], eax
test eax, eax
je 0x4c3f8b
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp - 0xc]
jmp 0x4c3763
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [esi + 8]
movzx edx, word [esi + 0x18]
lea eax, [ecx + ecx*2]
mov eax, dword [ebx + eax*8 + 4]
test dl, 1
jne 0x4c3ed8
test byte [eax + 4], 0x10
je 0x4c3ed8
mov eax, dword [ebp - 0x18]
push dword [eax]
push str.misuse_of_aliased_aggregate__s
push dword [ebp + 8]
call fcn.004e1340
add esp, 0xc
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret
test edx, 0x4000
jne 0x4c3ef5
test dword [eax + 4], 0x8000
je 0x4c3ef5
mov eax, dword [ebp - 0x18]
push dword [eax]
push str.misuse_of_aliased_window_function__s
jmp 0x4c3ec1
mov dl, byte [eax]
cmp dl, 0xa8
jne 0x4c3eff
mov dl, byte [eax + 0x26]
cmp dl, 0xa9
jne 0x4c3f09
add eax, 0x14
jmp 0x4c3f11
cmp dl, 0x83
jne 0x4c3f34
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
je 0x4c3f34
push str.row_value_misused
push dword [ebp + 8]
call fcn.004e1340
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
push eax
push 0x5af83c
push edi
push ecx
push ebx
push esi
call fcn.004cf590
add esp, 0x18
cmp byte [esi + 0xc8], 2
jb 0x4c415f
mov eax, dword [esi + 0x110]
test eax, eax
je 0x4c415f
nop word [eax + eax]
cmp dword [eax], edi
je 0x4c3f80
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4c3f70
jmp 0x4c415f
mov dword [eax], 0
jmp 0x4c415f
test ecx, ecx
jne 0x4c4057
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [ebx + 4]
test cl, 0x40
je 0x4c3fc6
push dword [ebp + 0x14]
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.004983c0
add esp, 0xc
mov byte [ebx], 0x6e
mov dword [ebx + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, 0x4000000
jne 0x4c4054
mov edx, dword [ebx + 8]
mov esi, edx
mov bl, byte [esi]
movzx eax, bl
movzx eax, byte [eax + 0x5bd2c8]
mov dword [ebp - 0x44], eax
add eax, 0xffffff8c
jne 0x4c401b
mov edi, str.true
mov bh, bl
sub edi, edx
test bh, bh
je 0x4c4017
movzx eax, byte [edi + esi + 1]
inc esi
movzx ecx, byte [eax + 0x5bd2c8]
mov bh, byte [esi]
movzx eax, bh
movzx eax, byte [eax + 0x5bd2c8]
sub eax, ecx
je 0x4c3ff4
jmp 0x4c401b
test eax, eax
je 0x4c4089
mov eax, dword [ebp - 0x44]
add eax, 0xffffff9a
jne 0x4c4051
mov esi, str.false
sub esi, edx
nop word [eax + eax]
test bl, bl
je 0x4c4085
movzx eax, byte [esi + edx + 1]
inc edx
movzx ecx, byte [eax + 0x5bd2c8]
mov bl, byte [edx]
movzx eax, bl
movzx eax, byte [eax + 0x5bd2c8]
sub eax, ecx
je 0x4c4030
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
push dword [ebp + 0x14]
test esi, esi
mov edx, str.ambiguous_column_name
mov eax, str.no_such_column
cmovne eax, edx
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x4c40a2
push ecx
push edx
push eax
push str._s:__s._s._s
push dword [ebp + 8]
call fcn.004e1340
add esp, 0x18
jmp 0x4c40cb
test eax, eax
jne 0x4c4051
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
mov byte [eax], 0x9f
mov eax, 1
mov esp, ebp
pop ebp
ret
cmp esi, 1
je 0x4c40d8
jmp 0x4c4054
test ecx, ecx
je 0x4c40ba
push ecx
push eax
push str._s:__s._s
push dword [ebp + 8]
call fcn.004e1340
add esp, 0x14
jmp 0x4c40cb
push eax
push str._s:__s
push dword [ebp + 8]
call fcn.004e1340
add esp, 0x10
mov eax, dword [ebp + 8]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0x3c]
inc dword [eax + 0x14]
mov edi, dword [ebp + 0x1c]
movzx eax, word [edi + 0x20]
test ax, ax
js 0x4c4114
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4c4114
movsx edx, ax
mov eax, 0x3f
cmp edx, 0x40
cmovge edx, eax
xor eax, eax
xor ecx, ecx
bts eax, edx
cmp edx, 0x20
cmovae ecx, eax
xor eax, ecx
cmp edx, 0x40
cmovae ecx, eax
or dword [ebx + 0x38], eax
or dword [ebx + 0x3c], ecx
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0x24]
test eax, eax
je 0x4c4128
push eax
push ebx
call fcn.004e4370
add esp, 8
mov eax, dword [edi + 0x10]
mov dword [edi + 0xc], 0
test eax, eax
je 0x4c4140
push eax
push ebx
call fcn.004e4370
add esp, 8
mov ecx, dword [ebp - 0x28]
or dword [edi + 4], 0x800000
mov dword [edi + 0x10], 0
mov byte [edi], cl
cmp esi, 1
jne 0x4c3ecc
mov esi, dword [ebp + 8]
test dword [edi + 4], 0x400000
jne 0x4c4220
mov eax, dword [ebp + 0x18]
mov ebx, dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax + 0x140], 0
je 0x4c4220
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4c4220
mov eax, dword [eax + 0x10]
xor edx, edx
add eax, 0xc
cmp dword [eax], ecx
je 0x4c41a8
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x4c4198
test edx, edx
js 0x4c4220
cmp byte [edi], 0x4d
jne 0x4c41b2
mov esi, dword [esi + 0x78]
jmp 0x4c41d8
mov esi, dword [ebx]
xor eax, eax
test esi, esi
jle 0x4c4220
mov edi, dword [edi + 0x1c]
lea ecx, [ebx + 0x34]
cmp edi, dword [ecx]
je 0x4c41ce
inc eax
add ecx, 0x48
cmp eax, esi
jl 0x4c41c0
jmp 0x4c4220
mov edi, dword [ebp + 0x1c]
lea eax, [eax + eax*8]
mov esi, dword [ebx + eax*8 + 0x18]
test esi, esi
je 0x4c4220
movsx ecx, word [edi + 0x20]
test ecx, ecx
js 0x4c41ee
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4c4209
movzx eax, word [esi + 0x28]
test ax, ax
js 0x4c4204
movsx ecx, ax
mov eax, dword [esi + 4]
add ecx, ecx
mov eax, dword [eax + ecx*8]
jmp 0x4c4209
mov eax, str.ROWID
push edx
push eax
push dword [esi]
push dword [ebp + 8]
call fcn.004d7fe0
add esp, 0x10
cmp eax, 2
jne 0x4c4220
mov byte [edi], 0x72
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x18]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x4c423a
nop dword [eax]
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x4c4230
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret