Function at 0x492b00
Capabilities:
Inspect section memory permissions
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3c
xor eax, eax
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov eax, 0xa4
push ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x5c]
push esi
mov ebp, dword [ebp]
xor esi, esi
push edi
xor edi, edi
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ebx
test eax, eax
je 0x492bd7
test byte [ebx + 0x18], 6
je 0x492b62
mov dword [esp + 0x54], ecx
jmp 0x492bd7
mov ebx, dword [ebp + 0x14]
xor esi, esi
test ebx, ebx
jle 0x492ba3
mov ebp, dword [ebp + 0x10]
mov edi, ebp
push eax
push dword [edi]
call fcn.004d02b0
add esp, 8
test eax, eax
je 0x492b8d
mov eax, dword [esp + 0x54]
inc esi
add edi, 0x10
cmp esi, ebx
jl 0x492b70
jmp 0x492b9d
mov eax, esi
add eax, eax
mov eax, dword [ebp + eax*8 + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x2c]
xor edi, edi
cmp esi, ebx
jne 0x492bd1
push eax
push str.main
call fcn.004d02b0
mov ebx, dword [esp + 0x68]
add esp, 8
xor esi, esi
test eax, eax
jne 0x492bd7
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x54], eax
jmp 0x492bd7
mov ebx, dword [esp + 0x60]
xor esi, esi
mov edx, dword [esp + 0x58]
jmp 0x492be0
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], eax
test eax, eax
je 0x492e5b
xor ecx, ecx
lea ebx, [eax + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
cmp dword [eax], ecx
jle 0x492e12
mov eax, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x3c], ebp
test eax, eax
je 0x492c8f
test dword [eax + 4], 0x800
je 0x492c8f
mov ebx, dword [eax + 0x1c]
xor esi, esi
xor ebp, ebp
cmp dword [ebx], esi
jle 0x492c7f
lea edi, [ebx + 4]
lea esp, [esp]
push dword [esp + 0x54]
push edx
push dword [esp + 0x64]
push edi
call fcn.004c3000
add esp, 0x10
test eax, eax
je 0x492c67
mov eax, dword [esp + 0x20]
mov ebp, 1
inc dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], 2
mov word [eax + 0x20], si
mov edx, dword [esp + 0x58]
inc esi
add edi, 0x14
cmp esi, dword [ebx]
jl 0x492c30
mov ecx, dword [esp + 0x24]
test ebp, ebp
jne 0x492e55
mov ebx, dword [esp + 0x20]
test edx, edx
je 0x492df2
mov ebp, dword [esp + 0x3c]
cmp dword [esp + 0x54], 0
je 0x492ca3
mov eax, dword [esp + 0x28]
cmp dword [ebp + 0x48], eax
jne 0x492df2
test edx, edx
je 0x492d1d
mov edi, dword [ebx + 0xc]
mov edx, edi
test edi, edi
jne 0x492cb3
mov edx, dword [ebp]
mov esi, dword [esp + 0x58]
sub esi, edx
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x492cfe
test ecx, ecx
jne 0x492d14
mov eax, dword [esp + 0x50]
cmp byte [eax + 0xcc], 2
jb 0x492d1d
test edi, edi
je 0x492d1d
mov eax, dword [eax + 0x114]
test eax, eax
je 0x492d1d
mov ecx, dword [esp + 0x64]
add ecx, 0x2c
cmp dword [eax], ecx
je 0x492d17
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x492cf1
jmp 0x492d1d
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x492dea
inc edx
jmp 0x492cc0
mov dword [eax], 0
mov ecx, dword [esp + 0x18]
mov eax, ecx
inc ecx
mov dword [esp + 0x18], ecx
test eax, eax
jne 0x492d30
mov dword [esp + 0x1c], ebx
mov esi, dword [esp + 0x5c]
push esi
call fcn.004d02f0
mov edi, dword [ebp + 4]
add esp, 4
movsx ebp, word [ebp + 0x2a]
xor ebx, ebx
mov byte [esp + 0x13], al
test ebp, ebp
jle 0x492de6
cmp byte [edi + 0xf], al
jne 0x492dda
mov edx, dword [edi]
sub esi, edx
nop
movzx eax, byte [edx]
movzx ecx, byte [esi + edx]
cmp eax, ecx
jne 0x492dbd
test eax, eax
jne 0x492dcf
cmp dword [esp + 0x14], 1
jne 0x492d94
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x5c]
test byte [eax + 0x24], 4
jne 0x492dd6
push esi
push dword [eax + 0x34]
call fcn.00496010
add esp, 8
test eax, eax
jne 0x492dd6
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
inc edi
mov dword [esp + 0x14], edi
movsx eax, word [eax + 0x28]
mov dword [esp + 0x1c], esi
cmp ebx, eax
jne 0x492e3c
or eax, 0xffffffff
jmp 0x492e3f
movzx ecx, byte [ecx + 0x523870]
movzx eax, byte [eax + 0x523870]
sub eax, ecx
jne 0x492dd2
inc edx
jmp 0x492d60
mov esi, dword [esp + 0x5c]
mov al, byte [esp + 0x13]
inc ebx
add edi, 0x14
cmp ebx, ebp
jl 0x492d52
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x40]
inc ecx
add ebx, 0x48
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], ebx
cmp ecx, dword [eax]
jl 0x492c04
mov ebx, dword [esp + 0x64]
test esi, esi
je 0x492e5f
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x2c], eax
test byte [esi + 0x24], 8
je 0x492e33
or dword [ebx + 4], 0x100000
mov ebp, dword [eax + 0x48]
mov dword [esp + 0x28], ebp
jmp 0x492e5f
movsx eax, bx
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
mov word [ecx + 0x20], ax
mov ecx, dword [esp + 0x24]
jmp 0x492dfa
mov ebx, dword [esp + 0x20]
jmp 0x492df2
mov ebx, dword [esp + 0x64]
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 0x18]
jne 0x49317e
test edx, edx
je 0x49317e
test eax, eax
jne 0x49317e
mov eax, dword [esp + 0x50]
xor ebp, ebp
mov dword [esp + 0x24], ebp
cmp dword [eax + 0x78], ebp
je 0x492f06
movzx edi, byte [eax + 0x94]
cmp edi, 0x7e
je 0x492ed1
mov esi, dword [esp + 0x58]
mov edx, 0x526720
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x492ebc
test ecx, ecx
jne 0x492ece
mov dword [ebx + 0x1c], 1
jmp 0x492efb
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x492ed1
inc edx
jmp 0x492ea4
cmp edi, 0x7d
je 0x492f06
mov esi, dword [esp + 0x58]
mov edx, 0x526724
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x492fc0
test ecx, ecx
jne 0x492fd6
mov dword [ebx + 0x1c], ebp
mov ebp, dword [esp + 0x50]
mov ebp, dword [ebp + 0x78]
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x60]
test dword [eax + 0x18], 0x200
je 0x492f4d
mov edi, dword [eax + 8]
test edi, edi
je 0x492f4d
mov esi, dword [esp + 0x58]
mov edx, str.excluded
sub esi, edx
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x492fdc
test ecx, ecx
jne 0x492ff2
mov eax, dword [edi + 0x14]
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x24], ebp
mov dword [ebx + 0x1c], 2
test ebp, ebp
je 0x493176
mov esi, dword [esp + 0x5c]
push esi
call fcn.004d02f0
mov ecx, dword [ebp + 0x48]
add esp, 4
mov dword [esp + 0x28], ecx
xor edi, edi
mov ecx, dword [ebp + 4]
mov ebx, ecx
movsx ebp, word [ebp + 0x2a]
mov byte [esp + 0x13], al
mov dword [esp + 0x18], 1
mov dword [esp + 0x3c], ecx
test ebp, ebp
jle 0x493021
lea esp, [esp]
cmp byte [ebx + 0xf], al
jne 0x493015
mov edx, dword [ebx]
sub esi, edx
lea ecx, [ecx]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x492ff8
test ecx, ecx
jne 0x49300a
mov ebx, dword [esp + 0x24]
movsx eax, word [ebx + 0x28]
cmp edi, eax
jne 0x493025
or edi, 0xffffffff
jmp 0x493025
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x492f06
inc edx
jmp 0x492ee1
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x492f4d
inc edx
jmp 0x492f25
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x49300d
inc edx
jmp 0x492fa0
mov al, byte [esp + 0x13]
mov esi, dword [esp + 0x5c]
inc edi
add ebx, 0x14
cmp edi, ebp
jl 0x492f90
mov ebx, dword [esp + 0x24]
cmp edi, ebp
jl 0x49304e
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004c13f0
add esp, 4
test eax, eax
je 0x493046
test dword [ebx + 0x24], 0x200
jne 0x493046
or edi, 0xffffffff
cmp edi, ebp
jge 0x493176
mov ebp, dword [esp + 0x64]
inc dword [esp + 0x14]
mov eax, dword [ebp + 0x1c]
cmp eax, 2
jne 0x493109
mov eax, dword [esp + 0x50]
cmp byte [eax + 0xcc], 2
jb 0x49308b
mov eax, dword [esp + 0x18]
mov word [ebp + 0x20], di
mov edi, dword [esp + 0x14]
mov dword [ebp + 0x2c], ebx
mov dword [esp + 0x30], 0xa4
jmp 0x493182
test byte [ebx + 0x24], 0x20
je 0x4930da
test di, di
js 0x4930da
movsx ecx, di
xor esi, esi
mov edi, dword [esp + 0x3c]
xor edx, edx
test ecx, ecx
jle 0x4930bc
lea eax, [edi + 0x10]
mov esi, ecx
lea ebx, [ebx]
test byte [eax], 0x20
jne 0x4930b6
inc edx
add eax, 0x14
dec ecx
jne 0x4930b0
lea eax, [esi + esi*4]
test byte [edi + eax*4 + 0x10], 0x20
je 0x4930d5
mov ax, word [ebx + 0x2c]
sub ax, dx
add ax, si
movzx ecx, ax
jmp 0x4930dd
movzx ecx, dx
jmp 0x4930dd
movzx ecx, di
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
movsx ecx, cx
mov dword [esp + 0x30], 0xad
mov eax, dword [edx + 8]
add ecx, dword [eax + 0x18]
or dword [ebp + 4], 0x400000
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x1c], ecx
jmp 0x493186
test edi, edi
jns 0x493113
mov byte [ebp + 1], 0x44
jmp 0x49315d
test eax, eax
jne 0x493140
cmp edi, 0x20
jl 0x49312b
mov ecx, dword [esp + 0x50]
or eax, 0xffffffff
or dword [ecx + 0x8c], eax
jmp 0x49315d
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x50]
or dword [ecx + 0x8c], eax
jmp 0x49315d
cmp edi, 0x20
jl 0x49314a
or eax, 0xffffffff
jmp 0x493153
mov eax, 1
mov ecx, edi
shl eax, cl
mov ecx, dword [esp + 0x50]
or dword [ecx + 0x90], eax
mov eax, dword [esp + 0x18]
mov word [ebp + 0x20], di
mov edi, dword [esp + 0x14]
mov dword [ebp + 0x2c], ebx
mov dword [esp + 0x30], 0x4d
jmp 0x493182
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
test edi, edi
jne 0x4931ce
cmp eax, 1
jne 0x4931ce
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4931ce
test byte [edx + 0x18], 0x28
jne 0x4931ce
push esi
call fcn.004c13f0
add esp, 4
test eax, eax
je 0x4931ce
mov eax, dword [ebx + 0x10]
test dword [eax + 0x24], 0x200
jne 0x4931ce
mov edi, 1
mov byte [ebp + 1], 0x44
or eax, 0xffffffff
mov dword [esp + 0x14], edi
mov word [ebp + 0x20], ax
mov ebx, dword [esp + 0x60]
test byte [ebx + 0x18], 0x80
je 0x493262
test edi, edi
jne 0x4934bd
mov edx, dword [esp + 0x58]
test edx, edx
jne 0x49326e
mov ecx, dword [ebx + 8]
xor ebp, ebp
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
test eax, eax
jle 0x49326e
lea ebx, [ecx + 0x10]
test byte [ebx], 3
mov edi, dword [ebx - 8]
jne 0x49323b
test edi, edi
jne 0x493216
mov ecx, esi
neg ecx
sbb ecx, ecx
jmp 0x493237
test esi, esi
je 0x49323b
mov edx, edi
sub esi, edi
mov edi, edi
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x49324d
test ecx, ecx
jne 0x49325f
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x5c]
test ecx, ecx
je 0x49328a
inc ebp
add ebx, 0x14
cmp ebp, eax
jl 0x493202
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x60]
jmp 0x49326a
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x49322f
inc edx
jmp 0x493220
test edi, edi
jne 0x4934bd
mov edx, dword [esp + 0x58]
mov ebx, dword [ebx + 0xc]
inc dword [esp + 0x38]
mov dword [esp + 0x60], ebx
test ebx, ebx
je 0x49338b
mov esi, dword [esp + 0x1c]
jmp 0x492be0
mov ebx, dword [esp + 0x60]
lea eax, [ebp*4]
add eax, ebp
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0x18]
mov eax, dword [edx + eax*4 + 4]
test cl, 1
jne 0x4932cb
test byte [eax + 4], 0x10
je 0x4932cb
push edi
push str.misuse_of_aliased_aggregate__s
push dword [esp + 0x58]
call fcn.004af3d0
add esp, 0xc
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x3c
ret
test dword [eax + 4], 0x8000
je 0x4932ec
test ecx, 0x4000
je 0x4932e4
mov ecx, dword [esp + 0x34]
cmp ebx, ecx
je 0x4932ec
push edi
push str.misuse_of_aliased_window_function__s
jmp 0x4932b2
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4932f6
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x493300
mov eax, dword [eax + 0x14]
jmp 0x49330b
cmp cl, 0x88
jne 0x493330
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
je 0x493330
push str.row_value_misused
push dword [esp + 0x54]
call fcn.004af3d0
add esp, 8
mov eax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x50]
push eax
push 0x515374
push ebx
push ebp
push edx
push esi
call fcn.0049f0d0
add esp, 0x18
cmp byte [esi + 0xcc], 2
jb 0x493602
mov eax, dword [esi + 0x114]
test eax, eax
je 0x493602
lea esp, [esp]
cmp dword [eax], ebx
je 0x493380
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x493370
jmp 0x493602
mov dword [eax], 0
jmp 0x493602
test edx, edx
jne 0x4934ca
mov ebp, dword [esp + 0x64]
mov ebx, dword [ebp + 4]
test bl, 0x40
je 0x4933eb
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0xa5], dl
jne 0x493438
mov ecx, dword [esp + 0x34]
test dword [ecx + 0x18], 0x10000
je 0x49342b
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x48], eax
mov eax, ecx
and eax, 0x10000001
cmp eax, 1
jne 0x4933e1
test edx, edx
jne 0x4933e1
mov eax, ecx
and eax, 0x40000000
or eax, edx
jne 0x493438
and ecx, 0x20000000
or ecx, edx
jne 0x493438
test ebx, 0x4000000
jne 0x4934ca
mov edx, dword [ebp + 8]
mov edi, str.true
mov esi, edx
sub edi, edx
movzx ecx, byte [esi]
movzx eax, byte [edi + esi]
cmp ecx, eax
jne 0x493460
test ecx, ecx
jne 0x493472
pop edi
mov eax, 0x10000000
mov byte [ebp], 0xa7
or eax, ebx
pop esi
mov dword [ebp + 4], eax
lea eax, [ecx + 1]
pop ebp
pop ebx
add esp, 0x3c
ret
mov eax, dword [eax + 0x20]
and eax, 0x40000000
or eax, 0
je 0x4933eb
push esi
push str.double_quoted_string_literal:___w_
push 0x1c
call fcn.00466a50
add esp, 0xc
mov byte [ebp], 0x73
mov dword [ebp + 0x2c], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x493475
inc esi
jmp 0x493403
mov esi, str.false
sub esi, edx
lea esp, [esp]
movzx ecx, byte [edx]
movzx eax, byte [esi + edx]
cmp ecx, eax
jne 0x4934a8
test ecx, ecx
jne 0x4934ba
pop edi
mov eax, 0x20000000
mov byte [ebp], 0xa7
or eax, ebx
pop esi
mov dword [ebp + 4], eax
lea eax, [ecx + 1]
pop ebp
pop ebx
add esp, 0x3c
ret
movzx eax, byte [eax + 0x523870]
movzx ecx, byte [ecx + 0x523870]
sub ecx, eax
jne 0x4934ca
inc edx
jmp 0x493480
cmp edi, 1
je 0x49353f
test edi, edi
jne 0x4934d5
mov edi, dword [esp + 0x14]
mov eax, str.no_such_column
jmp 0x4934da
mov eax, str.ambiguous_column_name
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x5c]
push ecx
test edx, edx
je 0x493501
mov ecx, dword [esp + 0x5c]
push ecx
push edx
push eax
push str._s:__s._s._s
push dword [esp + 0x64]
call fcn.004af3d0
add esp, 0x18
jmp 0x493530
mov edx, dword [esp + 0x5c]
test edx, edx
je 0x49351e
push edx
push eax
push str._s:__s._s
push dword [esp + 0x60]
call fcn.004af3d0
add esp, 0x14
jmp 0x493530
push eax
push str._s:__s
push dword [esp + 0x5c]
call fcn.004af3d0
add esp, 0x10
mov eax, dword [esp + 0x50]
mov byte [eax + 0x11], 1
mov eax, dword [esp + 0x34]
inc dword [eax + 0x14]
mov ebx, dword [esp + 0x64]
movzx eax, word [ebx + 0x20]
test ax, ax
js 0x4935b4
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x4935b4
mov edx, dword [ebx + 0x2c]
movsx esi, ax
test byte [edx + 0x24], 0x60
je 0x493596
mov eax, dword [edx + 4]
lea ecx, [esi + esi*4]
test byte [eax + ecx*4 + 0x10], 0x60
je 0x493596
movzx eax, word [edx + 0x2a]
cmp ax, 0x40
jl 0x49357f
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x4935ae
movsx ecx, ax
xor edx, edx
mov eax, 1
call fcn.00402530
add eax, 0xffffffff
adc edx, 0xffffffff
jmp 0x4935ae
cmp esi, 0x40
jl 0x4935a0
mov esi, 0x3f
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.00402530
or dword [ebp + 0x38], eax
or dword [ebp + 0x3c], edx
mov eax, dword [ebx + 0xc]
mov esi, dword [esp + 0x2c]
test eax, eax
je 0x4935c9
push eax
push esi
call fcn.004b2a40
add esp, 8
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], 0
test eax, eax
je 0x4935e1
push eax
push esi
call fcn.004b2a40
add esp, 8
or dword [ebx + 4], 0x800000
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x10], 0
mov byte [ebx], al
cmp edi, 1
jne 0x4932be
mov esi, dword [esp + 0x50]
test dword [ebx + 4], 0x400000
jne 0x493620
mov eax, dword [esp + 0x60]
push dword [eax + 4]
push dword [esp + 0x2c]
push ebx
push esi
call fcn.004a52a0
add esp, 0x10
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x60]
inc dword [ecx + 0x10]
cmp ecx, eax
je 0x49363a
nop
mov ecx, dword [ecx + 0xc]
inc dword [ecx + 0x10]
cmp ecx, eax
jne 0x493630
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x3c
ret