Function at 0x4f1440
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 + 0x14], eax
push esi
push edi
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x18], eax
inc eax
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4f1486
cmp dword [ebp + 0x74], eax
jne 0x4f1479
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x4f1479
mov byte [ebp + 0x17], 1
push ebp
call fcn.005137c0
add esp, 4
mov dword [esp + 0x14], 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 0x4f14e4
test dword [eax + 4], 0x800
je 0x4f14e4
mov eax, dword [eax + 0x14]
xor esi, esi
mov edi, dword [eax + 0x1c]
mov ebx, dword [edi]
test ebx, ebx
jle 0x4f14d6
add edi, 8
lea esp, [esp]
push dword [edi]
call fcn.004ec6d0
add esp, 4
test eax, eax
jne 0x4f14d6
inc esi
add edi, 0x14
cmp esi, ebx
jl 0x4f14c0
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 0x4f1ada
push eax
call fcn.004c8e50
add esp, 4
test eax, eax
je 0x4f1ad5
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp]
mov dword [esp + 0x2c], ecx
mov ebx, dword [ecx]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 0xffff8000
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x4f154c
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x10], esi
cmp dword [eax], ecx
je 0x4f154c
lea esp, [esp]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4f1540
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x68]
mov eax, dword [edi + 0x74]
test eax, eax
jne 0x4f1559
mov eax, edi
mov ecx, dword [esp + 0x10]
mov edx, 1
mov esi, dword [eax + 0x54]
shl edx, cl
test edx, esi
jne 0x4f1580
or esi, edx
mov dword [eax + 0x54], esi
cmp ecx, 1
jne 0x4f1585
push eax
call fcn.005010b0
add esp, 4
jmp 0x4f15ab
cmp ecx, 1
je 0x4f15ab
mov eax, dword [edi]
add ecx, ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 4]
cmp byte [eax + 9], 0
je 0x4f15ab
push dword [ebp]
push 0
push dword [ebp + 0x14]
push dword [esp + 0x1c]
push edi
call fcn.004cc4e0
add esp, 0x14
cmp ebx, 1
jne 0x4f1669
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
cmp word [eax + 0x20], 0
jge 0x4f1669
mov ebx, dword [esp + 0x14]
push 0x11
push ebx
call fcn.00512c90
push 0x65
push ebp
push dword [esp + 0x20]
mov esi, eax
push dword [esp + 0x2c]
push edi
call fcn.00500d70
push dword [ebp]
mov dword [esp + 0x3c], 1
push str.USING_ROWID_SEARCH_ON_TABLE__s_FOR_IN_OPERATOR
push 0
push edi
call fcn.0051abd0
mov edx, dword [ebx + 0x74]
add esp, 0x2c
test esi, esi
jns 0x4f160a
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x4f1619
mov eax, 0x610b1c
jmp 0x4f1622
mov eax, dword [ebx + 0x70]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x1c]
mov dword [eax + 8], edx
mov ebx, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
test edx, edx
je 0x4f1bc8
cmp edi, 3
je 0x4f1bc8
cmp edi, 4
je 0x4f1bc8
mov ecx, dword [ebx + 0xc]
mov al, byte [ecx]
cmp al, 0xb0
jne 0x4f1657
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4f1ba2
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x4f1bb5
mov eax, 1
xor edi, edi
mov dword [esp + 0x28], eax
test ebx, ebx
jle 0x4f1755
xor esi, esi
mov edi, edi
test eax, eax
je 0x4f1ad1
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xb0
jne 0x4f169a
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4f16a5
mov edx, dword [ecx + 0x14]
mov eax, dword [edx]
jmp 0x4f16b1
cmp al, 0x8a
jne 0x4f16ce
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x4f16ce
cmp bl, 0x8a
je 0x4f16c7
cmp byte [ecx + 2], 0x8a
je 0x4f16c7
mov ecx, dword [edx + esi + 8]
jmp 0x4f16ce
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + esi + 8]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + esi + 8]
movsx edx, word [eax + 0x20]
test edx, edx
js 0x4f16f1
movsx eax, word [ebp + 0x22]
cmp edx, eax
jge 0x4f16f1
mov eax, dword [ebp + 4]
add edx, edx
mov bl, byte [eax + edx*8 + 8]
jmp 0x4f16f3
mov bl, 0x44
push ecx
call fcn.004ec1e0
add esp, 4
cmp al, 0x40
jle 0x4f171b
cmp bl, 0x40
jle 0x4f1716
cmp al, 0x43
jge 0x4f1712
cmp bl, 0x43
jge 0x4f1712
mov al, 0x41
jmp 0x4f1720
mov al, 0x43
jmp 0x4f1720
movsx eax, al
jmp 0x4f171e
movsx eax, bl
or al, 0x40
movsx eax, al
sub eax, 0x41
je 0x4f1739
dec eax
je 0x4f1739
xor eax, eax
cmp bl, 0x43
setge al
mov dword [esp + 0x28], eax
jmp 0x4f173d
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
inc edi
add esi, 0x14
cmp edi, ebx
jl 0x4f1680
test eax, eax
je 0x4f1ad1
mov ebx, dword [ebp + 8]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x4f1ad1
mov ebp, dword [esp + 0x20]
xor edi, edi
lea ebx, [ebx]
test edi, edi
jne 0x4f1629
movzx eax, word [ebx + 0x34]
mov ecx, eax
cmp ecx, ebp
jl 0x4f1aba
cmp dword [ebx + 0x24], edi
jne 0x4f1aba
cmp eax, 0x3f
jae 0x4f1aba
cmp dword [esp + 0x3c], edi
je 0x4f17b8
movzx eax, word [ebx + 0x32]
cmp eax, ebp
jg 0x4f1aba
cmp ecx, ebp
jle 0x4f17b8
cmp byte [ebx + 0x36], 0
je 0x4f1aba
xor esi, esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
test ebp, ebp
jle 0x4f1936
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
mov bl, byte [ecx]
mov al, bl
cmp al, 0xb0
jne 0x4f17e8
mov al, byte [ecx + 2]
cmp al, 0xb1
jne 0x4f17f3
mov edx, dword [ecx + 0x14]
mov eax, dword [edx]
jmp 0x4f17ff
cmp al, 0x8a
jne 0x4f181c
mov edx, dword [ecx + 0x14]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jle 0x4f181c
cmp bl, 0x8a
je 0x4f1815
cmp byte [ecx + 2], 0x8a
je 0x4f1815
mov ecx, dword [esi + edx + 8]
jmp 0x4f181c
mov eax, dword [edx + 0x1c]
mov ecx, dword [eax + esi + 8]
test dword [ecx + 4], 0x100
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + esi + 8]
je 0x4f1834
push ecx
push dword [esp + 0x6c]
jmp 0x4f185e
test esi, esi
je 0x4f1848
test dword [esi + 4], 0x100
je 0x4f1848
push esi
push dword [esp + 0x6c]
jmp 0x4f185e
mov ebx, dword [esp + 0x68]
push ecx
push ebx
call fcn.004ef020
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4f1868
push esi
push ebx
call fcn.004ef020
add esp, 8
mov ebp, eax
mov ecx, dword [esp + 0x28]
xor edi, edi
movzx eax, word [esi + 0x20]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov ebx, dword [ecx + 4]
lea ecx, [ecx]
cmp word [ebx], ax
jne 0x4f18c7
test ebp, ebp
je 0x4f18cf
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 0x4f18a6
test eax, eax
je 0x4f18cf
inc edx
jmp 0x4f1894
movzx ecx, byte [ecx + 0x56afc0]
movzx eax, byte [eax + 0x56afc0]
sub eax, ecx
jne 0x4f18bb
inc edx
jmp 0x4f1894
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
inc edi
add ebx, 2
cmp edi, edx
jl 0x4f1880
mov ebp, dword [esp + 0x20]
cmp edi, ebp
je 0x4f192a
mov eax, 1
xor edx, edx
mov ecx, edi
call fcn.0041ee30
mov ebx, dword [esp + 0x34]
mov esi, eax
mov ecx, esi
mov eax, edx
and ecx, dword [esp + 0x24]
and eax, ebx
or ecx, eax
jne 0x4f192a
or dword [esp + 0x24], esi
or ebx, edx
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x34], ebx
test eax, eax
je 0x4f1912
mov dword [eax + edx*4], edi
mov esi, dword [esp + 0x38]
inc edx
add esi, 0x14
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], esi
cmp edx, ebp
jl 0x4f17d6
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x1c]
mov eax, 1
xor edx, edx
mov ecx, ebp
call fcn.0041ee30
add eax, 0xffffffff
adc edx, 0xffffffff
cmp dword [esp + 0x24], eax
jne 0x4f1aba
cmp esi, edx
jne 0x4f1aba
mov edi, dword [esp + 0x14]
mov esi, dword [edi + 0x74]
cmp dword [edi + 0x78], esi
jg 0x4f197d
push 0
push 0
push 0
push 0x11
push edi
call fcn.004c7840
add esp, 0x14
mov esi, eax
jmp 0x4f19b0
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x70]
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.0051abd0
mov ecx, dword [edi + 0x74]
add esp, 0x10
mov edx, dword [ebx + 0x2c]
cmp dword [edi + 0x78], ecx
jg 0x4f19e6
push dword [esp + 0x10]
push edx
push dword [esp + 0x20]
push 0x65
push edi
call fcn.004c7840
add esp, 0x14
jmp 0x4f1a15
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x65
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.004fea90
mov edx, eax
add esp, 8
test edx, edx
je 0x4f1a54
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4f1a42
push edx
push 0xfffffffffffffff7
push eax
call fcn.004b4610
add esp, 0xc
jmp 0x4f1a54
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
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 + 0x1c], edi
test edx, edx
je 0x4f1a8d
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 0x4f1a8d
push eax
push dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
push eax
call fcn.0050ced0
add esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x74]
test esi, esi
jns 0x4f1a9b
lea esi, [edx - 1]
mov eax, dword [eax]
cmp byte [eax + 0x57], 0
je 0x4f1aaa
mov eax, 0x610b1c
jmp 0x4f1ab7
mov eax, dword [esp + 0x14]
lea ecx, [esi + esi*4]
mov eax, dword [eax + 0x70]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x4f1770
test edi, edi
jne 0x4f1629
mov ebp, dword [esp + 0x68]
mov ecx, 1
test byte [esp + 0x70], 1
mov ebx, dword [esp + 0x6c]
je 0x4f1b40
test dword [ebx + 4], 0x800
jne 0x4f1b40
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.004b11e0
mov dword [esp + 0x58], 0x50ce20
mov dword [esp + 0x68], 0
call fcn.00532c40
add esp, 8
mov dword [ebx + 0xc], esi
cmp word [esp + 0x5c], 0
je 0x4f1b36
mov eax, dword [ebx + 0x14]
cmp dword [eax], 2
jg 0x4f1b40
mov edi, 5
jmp 0x4f162d
mov edi, dword [ebp + 0x88]
xor esi, esi
test byte [esp + 0x70], 4
mov eax, 2
mov dword [esp + 0x1c], eax
je 0x4f1b60
mov dword [ebp + 0x88], esi
jmp 0x4f1b70
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4f1b70
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
mov dword [eax], esi
push dword [esp + 0x18]
push ebx
push ebp
call fcn.004e6000
add esp, 0xc
test esi, esi
je 0x4f1b93
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.0050ced0
add esp, 0xc
mov dword [ebp + 0x88], edi
mov edi, dword [esp + 0x1c]
jmp 0x4f162d
cmp al, 0x8a
jne 0x4f1bb0
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x4f1bb5
mov eax, 1
xor ecx, ecx
test eax, eax
jle 0x4f1bc8
jmp 0x4f1bc0
mov dword [edx + ecx*4], ecx
inc ecx
cmp ecx, eax
jl 0x4f1bc0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret