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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
xor eax, eax
mov dword [esp + 0x10], eax
push esi
push edi
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x14], eax
inc eax
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x498e26
cmp dword [ebp + 0x74], eax
jne 0x498e19
mov eax, dword [ebp]
test byte [eax + 0x4c], 8
jne 0x498e19
mov byte [ebp + 0x17], 1
push ebp
call fcn.004b9430
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
shr eax, 2
and eax, 1
cmp dword [esp + 0x74], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
je 0x498e84
test dword [eax + 4], 0x800
je 0x498e84
mov eax, dword [eax + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x498e76
add edi, 4
lea esp, [esp]
push dword [edi]
call fcn.00494660
add esp, 4
test eax, eax
jne 0x498e76
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x498e60
mov eax, dword [esp + 0x6c]
sub esi, ebx
neg esi
sbb esi, esi
and dword [esp + 0x74], esi
cmp dword [ebp + 0x24], 0
mov ecx, 1
jne 0x49944a
push eax
call fcn.00476840
add esp, 4
test eax, eax
je 0x499445
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov esi, dword [ebp]
mov dword [esp + 0x28], ecx
mov ebx, dword [ecx]
mov ecx, 0xfff0bdc0
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x1c], ebx
mov edx, dword [ebp + 0x48]
test edx, edx
je 0x498eda
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, 0xc
cmp dword [eax], edx
je 0x498eda
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x498ed2
mov edi, dword [esp + 0x68]
movsx esi, cx
mov dword [esp + 0x34], esi
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x498eee
mov eax, edi
mov ecx, esi
mov edx, 1
shl edx, cl
mov ecx, dword [eax + 0x54]
test edx, ecx
jne 0x498f11
or ecx, edx
mov dword [eax + 0x54], ecx
cmp esi, 1
jne 0x498f11
push eax
call fcn.004a8230
add esp, 4
push dword [ebp]
push 0
push dword [ebp + 0x1c]
push esi
push edi
call fcn.004b4a90
add esp, 0x14
cmp ebx, 1
jne 0x498fe1
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
cmp word [eax + 0x20], 0
jge 0x498fe1
mov ebx, dword [esp + 0x10]
push 0x11
push ebx
call fcn.004b8930
push 0x60
push ebp
push dword [esp + 0x44]
mov esi, eax
push dword [esp + 0x28]
push edi
call fcn.004a7ef0
push dword [ebp]
mov dword [esp + 0x38], 1
push str.USING_ROWID_SEARCH_ON_TABLE__s_FOR_IN_OPERATOR
push 0
push edi
call fcn.004bfdb0
mov edx, dword [ebx + 0x6c]
add esp, 0x2c
test esi, esi
jns 0x498f82
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x498f91
mov eax, 0x50e22c
jmp 0x498f9a
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x18]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
test edx, edx
je 0x499538
cmp edi, 3
je 0x499538
cmp edi, 4
je 0x499538
mov ecx, dword [ebx + 0xc]
mov al, byte [ecx]
cmp al, 0xad
jne 0x498fcf
mov al, byte [ecx + 2]
cmp al, 0xae
jne 0x499512
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x499525
mov eax, 1
xor edi, edi
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x4990c4
xor esi, esi
test eax, eax
je 0x499441
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0xc]
mov bl, byte [edx]
mov al, bl
cmp al, 0xad
jne 0x499010
mov al, byte [edx + 2]
cmp al, 0xae
jne 0x49901b
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx]
jmp 0x499027
cmp al, 0x88
jne 0x499044
mov ecx, dword [edx + 0x14]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x499044
cmp bl, 0x88
je 0x49903d
cmp byte [edx + 2], 0x88
je 0x49903d
mov edx, dword [ecx + esi + 4]
jmp 0x499044
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + esi + 4]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + esi + 4]
movsx eax, word [eax + 0x20]
test eax, eax
js 0x499060
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov bl, byte [eax + ecx*4 + 0xd]
jmp 0x499062
mov bl, 0x44
push edx
call fcn.004941a0
add esp, 4
cmp al, 0x40
jle 0x49908a
cmp bl, 0x40
jle 0x499085
cmp al, 0x43
jge 0x499081
cmp bl, 0x43
jge 0x499081
mov al, 0x41
jmp 0x49908f
mov al, 0x43
jmp 0x49908f
movsx eax, al
jmp 0x49908d
movsx eax, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x4990a8
dec eax
je 0x4990a8
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x24], eax
jmp 0x4990ac
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
inc edi
add esi, 0x14
cmp edi, ebx
jl 0x498ff6
test eax, eax
je 0x499441
mov ebx, dword [ebp + 8]
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x499441
mov ebp, dword [esp + 0x1c]
xor edi, edi
lea esp, [esp]
test edi, edi
jne 0x498fa1
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, ebp
jl 0x49942a
cmp dword [ebx + 0x24], edi
jne 0x49942a
cmp eax, 0x3f
jae 0x49942a
cmp dword [esp + 0x3c], edi
je 0x499128
movzx eax, word [ebx + 0x32]
cmp eax, ebp
jg 0x49942a
cmp ecx, ebp
jle 0x499128
cmp byte [ebx + 0x36], 0
je 0x49942a
xor esi, esi
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
test ebp, ebp
jle 0x4992a6
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xad
jne 0x499158
mov al, byte [ecx + 2]
cmp al, 0xae
jne 0x499163
mov edx, dword [ecx + 0x14]
mov eax, dword [edx]
jmp 0x49916f
cmp al, 0x88
jne 0x49918c
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x49918c
cmp bl, 0x88
je 0x499185
cmp byte [ecx + 2], 0x88
je 0x499185
mov ecx, dword [esi + edx + 4]
jmp 0x49918c
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + esi + 4]
test dword [ecx + 4], 0x100
mov eax, dword [esp + 0x28]
mov esi, dword [eax + esi + 4]
je 0x4991a4
push ecx
push dword [esp + 0x6c]
jmp 0x4991ce
test esi, esi
je 0x4991b8
test dword [esi + 4], 0x100
je 0x4991b8
push esi
push dword [esp + 0x6c]
jmp 0x4991ce
mov ebx, dword [esp + 0x68]
push ecx
push ebx
call fcn.00496db0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4991d8
push esi
push ebx
call fcn.00496db0
add esp, 8
mov ebp, eax
mov ecx, dword [esp + 0x24]
xor edi, edi
movzx eax, word [esi + 0x20]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov ebx, dword [ecx + 4]
lea ecx, [ecx]
cmp word [ebx], ax
jne 0x499237
test ebp, ebp
je 0x49923f
mov eax, dword [ecx + 0x20]
mov edx, dword [ebp]
mov esi, dword [eax + edi*4]
sub esi, edx
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x499216
test eax, eax
je 0x49923f
inc edx
jmp 0x499204
movzx ecx, byte [ecx + 0x4e9aa0]
movzx eax, byte [eax + 0x4e9aa0]
sub eax, ecx
jne 0x49922b
inc edx
jmp 0x499204
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
inc edi
add ebx, 2
cmp edi, edx
jl 0x4991f0
mov ebp, dword [esp + 0x1c]
cmp edi, ebp
je 0x49929a
mov eax, 1
xor edx, edx
mov ecx, edi
call fcn.0040b590
mov ebx, dword [esp + 0x30]
mov esi, eax
mov ecx, esi
mov eax, edx
and ecx, dword [esp + 0x20]
and eax, ebx
or ecx, eax
jne 0x49929a
or dword [esp + 0x20], esi
or ebx, edx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
test eax, eax
je 0x499282
mov dword [eax + edx*4], edi
mov esi, dword [esp + 0x38]
inc edx
add esi, 0x14
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], esi
cmp edx, ebp
jl 0x499146
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov eax, 1
xor edx, edx
mov ecx, ebp
call fcn.0040b590
add eax, 0xffffffff
adc edx, 0xffffffff
cmp dword [esp + 0x20], eax
jne 0x49942a
cmp esi, edx
jne 0x49942a
mov edi, dword [esp + 0x10]
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4992ed
push 0
push 0
push 0
push 0x11
push edi
call fcn.004752f0
add esp, 0x14
mov esi, eax
jmp 0x499320
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebx]
push str.USING_INDEX__s_FOR_IN_OPERATOR
push 0
push dword [esp + 0x74]
call fcn.004bfdb0
mov ecx, dword [edi + 0x6c]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x70], ecx
jg 0x499356
push dword [esp + 0x34]
push edx
push dword [esp + 0x1c]
push 0x60
push edi
call fcn.004752f0
add esp, 0x14
jmp 0x499385
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x60
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x68]
push ebx
push eax
mov edi, dword [eax + 8]
call fcn.004a5e50
mov edx, eax
add esp, 8
test edx, edx
je 0x4993c4
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4993b2
push edx
push 0xfffffffffffffff7
push eax
call fcn.00462150
add esp, 0xc
jmp 0x4993c4
mov eax, dword [edi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [ebx + 0x1c]
mov edx, dword [esp + 0x74]
movzx edi, byte [eax]
add edi, 3
mov dword [esp + 0x18], edi
test edx, edx
je 0x4993fd
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov dword [edx], eax
cmp ebp, 1
jne 0x4993fd
push eax
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
call fcn.004b3340
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x6c]
test esi, esi
jns 0x49940b
lea esi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
je 0x49941a
mov eax, 0x50e22c
jmp 0x499427
mov eax, dword [esp + 0x10]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x24], ebx
test ebx, ebx
jne 0x4990e0
test edi, edi
jne 0x498fa1
mov ebp, dword [esp + 0x68]
mov ecx, 1
test byte [esp + 0x70], 1
mov ebx, dword [esp + 0x6c]
je 0x4994b0
test dword [ebx + 4], 0x800
jne 0x4994b0
mov esi, dword [ebx + 0xc]
lea eax, [esp + 0x48]
push ebx
push eax
mov dword [ebx + 0xc], 0
mov word [esp + 0x64], cx
mov dword [esp + 0x54], fcn.0045f400
mov dword [esp + 0x58], 0x4b3290
mov dword [esp + 0x68], 0
call fcn.004d6ac0
add esp, 8
mov dword [ebx + 0xc], esi
cmp word [esp + 0x5c], 0
je 0x4994a6
mov eax, dword [ebx + 0x14]
cmp dword [eax], 2
jg 0x4994b0
mov edi, 5
jmp 0x498fa5
mov edi, dword [ebp + 0x84]
xor esi, esi
test byte [esp + 0x70], 4
mov eax, 2
mov dword [esp + 0x18], eax
je 0x4994d0
mov dword [ebp + 0x84], esi
jmp 0x4994e0
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4994e0
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
mov dword [eax], esi
push dword [esp + 0x14]
push ebx
push ebp
call fcn.0048f090
add esp, 0xc
test esi, esi
je 0x499503
push esi
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.004b3340
add esp, 0xc
mov dword [ebp + 0x84], edi
mov edi, dword [esp + 0x18]
jmp 0x498fa5
cmp al, 0x88
jne 0x499520
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x499525
mov eax, 1
xor ecx, ecx
test eax, eax
jle 0x499538
jmp 0x499530
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, eax
jl 0x499530
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret