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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [0x72400c]
xor eax, esp
mov dword [esp + 0x80], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x2c], ecx
mov esi, dword [ebx + 8]
mov ecx, dword [ebx]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x40], esi
push edi
mov edi, edx
test esi, esi
jne 0x49d60d
mov ecx, ebx
call fcn.004a43b0
mov esi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x44], esi
test esi, esi
je 0x49d791
or dword [esi + 0x94], 0x20
lea ecx, [esp + 0x24]
push ecx
push eax
mov edx, edi
mov dword [ebx + 0x2c], 2
mov ecx, ebx
call fcn.0048bee0
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
test ecx, ecx
js 0x49d791
mov eax, dword [esp + 0x10]
mov edi, ecx
shl edi, 4
mov dword [esp + 0x2c], edi
mov ebx, dword [eax + 0x10]
add ebx, edi
mov dword [esp + 0x50], ebx
cmp ecx, 1
jne 0x49d66b
mov ecx, dword [esp + 0x14]
call fcn.00490670
test eax, eax
jne 0x49d791
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, eax
call fcn.0048bcf0
mov dword [esp + 0x5c], eax
test eax, eax
je 0x49d791
cmp dword [ebp + 0x10], 0
je 0x49d6a5
push dword [esp + 0x30]
push 0x715bb0
push dword [esp + 0x18]
call fcn.00450780
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
jmp 0x49d6b8
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
call fcn.0048bcf0
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 0
jbe 0x49d6c6
mov eax, dword [ebx]
jmp 0x49d6c8
xor eax, eax
push eax
push ecx
push dword [esp + 0x64]
mov ecx, dword [esp + 0x20]
mov edx, 0x13
mov dword [esp + 0x48], eax
call fcn.0048aca0
add esp, 0xc
test eax, eax
jne 0x49d775
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x5c]
push ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
push 0xe
push dword [esp + 0x44]
mov dword [esp + 0x94], 0
push eax
mov dword [eax + 0x184], 0
call fcn.004c3900
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x49d7a6
lea edx, [eax + 1]
mov ecx, esi
call fcn.0046da60
push 0xffffffffffffffff
push dword [esp + 0x80]
xor edx, edx
mov ecx, esi
push 0
call fcn.0046db30
mov edx, dword [esp + 0x88]
add esp, 0xc
mov ecx, esi
call fcn.0049d2f0
push dword [esp + 0x7c]
call fcn.0044e670
add esp, 4
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x5c]
mov ecx, edi
call fcn.0044e760
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
call fcn.0044e760
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ce564
mov esp, ebp
pop ebp
ret
cmp eax, 0xc
je 0x49d7e1
mov ecx, dword [esp + 0x7c]
test ecx, ecx
je 0x49d7d5
push ecx
push 0x712fa0
push dword [esp + 0x1c]
call fcn.00451630
add esp, 0xc
push dword [esp + 0x7c]
call fcn.0044e670
mov eax, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x14]
inc dword [ecx + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x49d775
mov ecx, dword [esp + 0x5c]
call fcn.0049d410
mov dword [esp + 0x38], eax
test eax, eax
je 0x49d775
test byte [eax + 5], 1
je 0x49d80d
mov ecx, dword [esp + 0x14]
call fcn.004a0ae0
test eax, eax
jne 0x49d775
mov eax, dword [esp + 0x38]
mov cl, byte [eax + 5]
test cl, 2
jne 0x49d82f
test cl, 4
je 0x49d822
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x49d833
mov edx, eax
mov ecx, esi
call fcn.0049d1a0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x1c]
movzx ecx, byte [eax + 4]
cmp ecx, 0x27
ja case.0x49d840.3
jmp dword [ecx*4 + 0x49fa3c]
mov edi, dword [esp + 0x18]
mov ecx, esi
mov edx, edi
call fcn.0046ce00
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x49d88b
mov eax, dword [esp + 0x14]
mov edx, 9
push ecx
push 0x67fe84
mov ecx, esi
add dword [eax + 0x2c], 2
call fcn.0046c340
add esp, 8
mov dword [eax + 4], edi
mov dword [eax + 0x18], edi
mov dword [eax + 0x7c], 0xfffff830
jmp 0x49d775
mov ecx, eax
call fcn.004522f0
mov ecx, eax
call fcn.00452950
push dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov edi, eax
call fcn.004907d0
add esp, 4
mov edx, 0x66
mov ecx, esi
push edi
push 3
push dword [esp + 0x20]
call fcn.0046bb20
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [eax + 0x50], edi
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [edx + 0x50]
call fcn.00461ef0
jmp 0x49d775
mov edi, dword [ebx + 4]
test edx, edx
jne 0x49d913
test edi, edi
je 0x49d8ff
mov eax, dword [edi + 4]
mov ecx, esi
mov eax, dword [eax + 0x20]
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
xor eax, eax
mov ecx, esi
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov ecx, edx
call fcn.004522f0
mov ecx, dword [esp + 0x10]
mov edx, eax
push 0
push 0xffffffffffffffff
mov dword [ecx + 0x50], eax
mov ecx, edi
call fcn.00462000
mov edi, dword [esp + 0x18]
add esp, 8
cmp eax, 7
jne 0x49d779
mov ecx, edi
call fcn.0044edd0
jmp 0x49d779
mov eax, dword [ebx + 4]
or edx, 0xffffffff
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], edx
test ebx, ebx
je 0x49d987
push str.fast
push ebx
call fcn.004517c0
add esp, 8
test eax, eax
jne 0x49d977
lea edx, [eax + 2]
jmp 0x49d983
xor dl, dl
mov ecx, ebx
call fcn.0049cfc0
movzx edx, al
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x28]
cmp dword [eax + 4], 0
jne 0x49d9c9
test edx, edx
js 0x49d9c9
mov eax, dword [esp + 0x10]
xor ebx, ebx
cmp dword [eax + 0x14], ebx
jle 0x49d9c9
mov esi, dword [esp + 0x34]
xor edi, edi
mov ecx, dword [eax + 0x10]
mov edx, esi
mov ecx, dword [edi + ecx + 4]
call fcn.00462110
mov eax, dword [esp + 0x10]
lea edi, [edi + 0x10]
inc ebx
cmp ebx, dword [eax + 0x14]
jl 0x49d9a6
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
call fcn.00462110
cdq
mov ecx, esi
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov ebx, dword [esp + 0x14]
mov ecx, ebx
mov edx, dword [esp + 0x18]
call fcn.00490710
mov eax, dword [esp + 0x5c]
inc dword [ebx + 0x2c]
mov edi, dword [ebx + 0x2c]
movzx eax, byte [eax]
cmp byte [eax + 0x680668], 0x70
jne 0x49da1f
push edi
push dword [esp + 0x1c]
mov edx, 0x9f
mov ecx, esi
call fcn.0046bc70
add esp, 8
jmp 0x49da44
mov ecx, dword [esp + 0x1c]
call fcn.004522f0
mov ecx, eax
call fcn.00452950
push eax
push edi
push dword [esp + 0x20]
mov edx, 0xa0
mov ecx, esi
call fcn.0046bb20
add esp, 0xc
push 1
push edi
mov edx, 0x43
mov ecx, esi
call fcn.0046bc70
add esp, 8
jmp 0x49d775
mov ecx, edx
mov edi, str.normal
call fcn.0049cff0
mov edx, eax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
test eax, eax
jne 0x49dace
cmp edx, 0xffffffff
jne 0x49da83
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0x47]
jmp 0x49dadb
test eax, eax
jne 0x49dace
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x14], 2
jle 0x49dacb
mov edi, 0x20
mov ebx, eax
lea esi, [edi - 0x1e]
nop dword [eax + eax]
mov eax, dword [ebx + 0x10]
mov eax, dword [edi + eax + 4]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
call fcn.0045ccd0
inc esi
lea edi, [edi + 0x10]
cmp esi, dword [ebx + 0x14]
jl 0x49daa0
mov esi, dword [esp + 0x44]
mov edi, str.normal
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x10]
mov byte [eax + 0x47], dl
mov eax, dword [ebx + 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call fcn.0045ccd0
cmp eax, 1
mov edx, str.exclusive
mov ecx, esi
cmovne edx, edi
call fcn.0049d2f0
jmp 0x49d775
test edx, edx
je 0x49dbb2
mov ecx, edx
call fcn.00451490
mov edi, eax
xor ebx, ebx
cmp ebx, 6
je 0x49dbb2
mov ecx, dword [ebx*4 + 0x67f9dc]
test ecx, ecx
je 0x49dbb2
push edi
push ecx
push dword [esp + 0x24]
call fcn.00451840
add esp, 0xc
test eax, eax
je 0x49db32
inc ebx
jmp 0x49db05
cmp ebx, 0xffffffff
je 0x49dbb5
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x14]
sub edi, 1
js 0x49db9a
mov edx, edi
shl edx, 4
mov dword [esp + 0x30], edx
mov eax, dword [eax + 0x10]
cmp dword [edx + eax + 4], 0
je 0x49db86
cmp edi, dword [esp + 0x18]
je 0x49db66
cmp dword [ecx + 4], 0
jne 0x49db86
mov edx, edi
mov ecx, esi
call fcn.0046ce00
push ebx
push 1
push edi
mov edx, 9
mov ecx, esi
call fcn.0046bb20
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov ecx, dword [esp + 0x28]
sub edx, 0x10
sub edi, 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edx
jns 0x49db50
push 1
push 1
mov edx, 0x43
mov ecx, esi
call fcn.0046bc70
add esp, 8
jmp 0x49d775
or ebx, 0xffffffff
mov ecx, dword [esp + 0x28]
cmp dword [ecx + 4], 0
jne 0x49db3b
mov dword [esp + 0x18], 0
mov dword [ecx + 4], 1
jmp 0x49db3b
mov eax, dword [ebx + 4]
or ecx, 0xffffffff
mov dword [esp + 0x6c], ecx
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov eax, 0xfffffffe
mov dword [esp + 0x68], eax
test edx, edx
je 0x49dc1f
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
call fcn.00452050
mov ecx, dword [esp + 0x6c]
cmp ecx, 0xffffffff
jg 0x49dc1b
jl 0x49dc14
mov eax, dword [esp + 0x68]
cmp eax, 0xffffffff
jae 0x49dc1f
or eax, 0xffffffff
or ecx, eax
jmp 0x49dc1f
mov eax, dword [esp + 0x68]
push ecx
push eax
mov ecx, edi
call fcn.0045ce10
push edx
push eax
mov ecx, esi
call fcn.0049d240
add esp, 0x10
jmp 0x49d775
mov edi, dword [ebx + 4]
test edx, edx
jne 0x49dc59
mov ecx, edi
call fcn.00462200
cdq
mov ecx, esi
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov ecx, edx
call fcn.0049d030
mov ebx, eax
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, ebx
mov byte [eax + 0x48], bl
call fcn.00462180
test eax, eax
jne 0x49d775
cmp ebx, 1
je 0x49dc88
cmp ebx, 2
jne 0x49d775
mov edi, dword [esi + 0x88]
mov edx, 5
push ecx
push 0x6824f4
mov ecx, esi
call fcn.0046c340
mov edx, dword [esp + 0x20]
lea ecx, [edi + 4]
add esp, 8
mov dword [eax + 0x30], ecx
lea ecx, [ebx - 1]
mov dword [eax + 0x5c], ecx
mov ecx, esi
mov dword [eax + 4], edx
mov dword [eax + 0x18], edx
mov dword [eax + 0x54], edx
call fcn.0046ce00
jmp 0x49d775
test edx, edx
je 0x49dce5
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x24]
call fcn.00452160
test eax, eax
je 0x49dce5
mov edi, dword [esp + 0x24]
test edi, edi
jg 0x49dcea
mov edi, closesocket
mov ebx, dword [esp + 0x18]
xor edx, edx
mov ecx, dword [esp + 0x14]
push ebx
call fcn.004907d0
add esp, 4
mov edx, 0x38
mov ecx, esi
push 1
push edi
call fcn.0046bc70
push ebx
mov edx, 0x31
mov ecx, esi
call fcn.0046bc00
add esp, 0xc
mov edx, 0x43
mov ecx, esi
mov edi, eax
push 1
call fcn.0046bc00
add esp, 4
mov edx, 0x45
mov ecx, esi
push 0xffffffffffffffff
push 1
call fcn.0046bc70
push edi
push 1
mov edx, 0x2e
mov ecx, esi
call fcn.0046bc70
add esp, 0x10
mov edx, edi
mov ecx, esi
call fcn.0046c4e0
jmp 0x49d775
test edx, edx
jne 0x49dd7b
mov eax, dword [ebx + 0xc]
mov ecx, esi
mov eax, dword [eax + 0x50]
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov ecx, edx
call fcn.004522f0
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0x50], eax
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 4]
mov edx, dword [edx + 0x50]
call fcn.00461ef0
jmp 0x49d775
test edx, edx
jne 0x49ddd9
mov eax, dword [esp + 0x10]
test byte [eax + 0x18], 0x20
jne 0x49ddbd
xor eax, eax
mov ecx, esi
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov ecx, dword [ebx + 4]
xor edx, edx
call fcn.00461f70
cdq
mov ecx, esi
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov edi, dword [esp + 0x1c]
lea edx, [esp + 0x30]
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.00452160
mov esi, dword [esp + 0x30]
test eax, eax
je 0x49de02
mov ecx, dword [ebx + 4]
mov edx, esi
call fcn.00461f70
test esi, esi
mov ecx, edi
setne dl
call fcn.0049cfc0
test al, al
mov eax, dword [esp + 0x10]
je 0x49de26
or dword [eax + 0x18], 0x20
mov ecx, eax
call fcn.0049d380
jmp 0x49d775
and dword [eax + 0x18], 0xffffffdf
mov ecx, eax
call fcn.0049d380
jmp 0x49d775
test edx, edx
je 0x49df2e
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
call fcn.00452050
cmp dword [esp + 0x6c], 0
jg 0x49de6d
jl 0x49de5b
cmp dword [esp + 0x68], 0
jae 0x49de6d
mov eax, dword [0x725628]
mov dword [esp + 0x68], eax
mov eax, dword [0x72562c]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
cmp dword [ecx + 4], 0
jne 0x49de89
mov eax, dword [esp + 0x68]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 0x2c], eax
mov ebx, dword [edx + 0x14]
sub ebx, 1
js 0x49df2e
mov esi, ebx
shl esi, 4
nop word [eax + eax]
mov eax, dword [edx + 0x10]
mov edi, dword [esi + eax + 4]
test edi, edi
je 0x49df1e
cmp ebx, dword [esp + 0x18]
je 0x49deb7
cmp dword [ecx + 4], 0
jne 0x49df1e
cmp byte [edi + 9], 0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov dword [esp + 0x60], ecx
mov ecx, dword [edi + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
je 0x49deec
inc dword [edi + 0xc]
cmp byte [edi + 0xa], 0
jne 0x49deec
mov ecx, edi
call fcn.0045f980
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx]
mov dword [ecx + 0x88], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 0x8c], eax
call fcn.0045a3a0
cmp byte [edi + 9], 0
je 0x49df16
add dword [edi + 0xc], 0xffffffff
jne 0x49df16
mov ecx, edi
call fcn.0045f940
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
sub esi, 0x10
sub ebx, 1
jns 0x49dea0
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x68]
mov dword [esp + 0x68], 0xffffffff
push eax
push 0x12
push dword [esp + 0x44]
mov dword [esp + 0x78], 0xffffffff
push dword [esp + 0x1c]
call fcn.004c3900
add esp, 0x10
test eax, eax
jne 0x49df70
push dword [esp + 0x6c]
mov ecx, esi
push dword [esp + 0x6c]
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov edi, dword [esp + 0x10]
cmp eax, 0xc
je 0x49d779
mov ecx, dword [esp + 0x14]
inc dword [ecx + 0x24]
mov dword [ecx + 0xc], eax
jmp 0x49d779
test edx, edx
jne 0x49dfaa
mov eax, dword [esp + 0x10]
mov ecx, esi
movzx eax, byte [eax + 0x44]
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov ecx, dword [esp + 0x14]
call fcn.0049d100
jmp 0x49d775
test edx, edx
jne 0x49dfce
mov edx, dword [0x728574]
mov ecx, esi
call fcn.0049d2f0
jmp 0x49d775
cmp byte [edx], 0
je 0x49e00a
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 1
push edx
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x49dff4
cmp dword [esp + 0x24], eax
jne 0x49e00a
push str.not_a_writable_directory
push dword [esp + 0x18]
call fcn.00451630
add esp, 8
jmp 0x49d775
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x44], 1
ja 0x49e01d
mov ecx, dword [esp + 0x14]
call fcn.0049d0b0
push dword [0x728574]
call fcn.0044e670
mov eax, dword [esp + 0x20]
add esp, 4
cmp byte [eax], 0
je 0x49e04c
push eax
push 0x712fa0
call fcn.00450860
add esp, 8
mov dword [0x728574], eax
jmp 0x49d775
mov dword [0x728574], 0
jmp 0x49d775
test edx, edx
jne 0x49e071
mov edx, dword [0x728570]
mov ecx, esi
call fcn.0049d2f0
jmp 0x49d775
cmp byte [edx], 0
je 0x49e09f
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push ecx
push 1
push edx
mov eax, dword [eax]
push eax
mov eax, dword [eax + 0x20]
call eax
add esp, 0x10
test eax, eax
jne 0x49dff4
cmp dword [esp + 0x24], eax
je 0x49dff4
push dword [0x728570]
call fcn.0044e670
mov eax, dword [esp + 0x20]
add esp, 4
cmp byte [eax], 0
je 0x49e0ce
push eax
push 0x712fa0
call fcn.00450860
add esp, 8
mov dword [0x728570], eax
jmp 0x49d775
mov dword [0x728570], 0
jmp 0x49d775
test edx, edx
jne 0x49e0f8
movzx eax, byte [ebx + 8]
mov ecx, esi
dec eax
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x43], 0
jne 0x49e118
push str.Safety_level_may_not_be_changed_inside_a_transaction
push dword [esp + 0x18]
call fcn.00451630
add esp, 8
jmp 0x49d779
cmp dword [esp + 0x18], 1
je 0x49d779
mov ecx, dword [esp + 0x1c]
xor edx, edx
push 1
call fcn.0049cf10
inc eax
add esp, 4
and eax, 7
mov ecx, 1
mov byte [ebx + 9], cl
cmove eax, ecx
mov ecx, edi
mov byte [ebx + 8], al
call fcn.0049d380
jmp 0x49d779
test edx, edx
jne 0x49e184
mov edx, eax
mov ecx, esi
call fcn.0049d1a0
mov ecx, dword [esp + 0x38]
push 0
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x14]
and eax, dword [ecx + 0x18]
mov ecx, esi
neg eax
sbb eax, eax
neg eax
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
mov edi, dword [eax + 8]
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x43], 0
jne 0x49e197
and edi, 0xffffbfff
mov ecx, dword [esp + 0x1c]
xor dl, dl
call fcn.0049cfc0
test al, al
je 0x49e1af
mov eax, dword [esp + 0x10]
or dword [eax + 0x18], edi
jmp 0x49e1d6
mov ecx, dword [esp + 0x10]
mov eax, edi
not eax
and dword [ecx + 0x18], eax
cmp edi, 0x40000
jne 0x49e1d6
mov dword [ecx + 0x1c0], 0
mov dword [ecx + 0x1c4], 0
mov edx, 0x97
mov ecx, esi
call fcn.0046bb90
mov ecx, dword [esp + 0x10]
call fcn.0049d380
jmp 0x49d775
test edx, edx
je 0x49d775
push dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
mov ecx, edi
push edx
mov edx, 2
call fcn.0048b3f0
mov ebx, eax
add esp, 8
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x49d775
mov ecx, ebx
mov dword [esp + 0x2c], 0
call fcn.0048bfa0
mov edx, dword [esp + 0x18]
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [edi + 0x2c], 6
call fcn.00490710
mov edx, ebx
mov ecx, edi
call fcn.0048dca0
mov eax, dword [esp + 0x20]
xor edi, edi
mov ebx, dword [ebx + 4]
movzx edx, word [eax + 0x2a]
xor eax, eax
cmp ax, dx
jge 0x49d775
mov al, byte [ebx + 0xf]
test al, 2
je 0x49e274
inc dword [esp + 0x2c]
jmp 0x49e2f2
test al, 1
jne 0x49e27c
xor ecx, ecx
jmp 0x49e2b3
cmp dword [esp + 0x30], 0
mov ecx, 1
je 0x49e2b3
movsx eax, dx
mov dword [esp + 0x24], eax
cmp eax, ecx
jl 0x49e2b3
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov edx, dword [eax + 4]
nop
movsx eax, word [edx]
cmp eax, edi
je 0x49e2af
inc ecx
add edx, 2
cmp ecx, esi
jle 0x49e2a0
mov esi, dword [esp + 0x44]
mov eax, dword [ebx + 4]
test eax, eax
je 0x49e2bf
mov eax, dword [eax + 8]
jmp 0x49e2c1
xor eax, eax
push ecx
push eax
xor eax, eax
mov edx, 0x70fe7c
cmp byte [ebx + 0xc], al
mov ecx, ebx
setne al
push eax
call fcn.004514c0
push eax
push dword [ebx]
mov eax, edi
sub eax, dword [esp + 0x40]
push eax
push str.issisi
push 1
push esi
call fcn.0046bd70
add esp, 0x24
mov eax, dword [esp + 0x20]
inc edi
add ebx, 0x10
movzx edx, word [eax + 0x2a]
movsx eax, dx
cmp edi, eax
jl 0x49e264
jmp 0x49d775
test edx, edx
je 0x49d775
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
call fcn.0048b5a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x49d775
mov ecx, dword [esp + 0x38]
cmp dword [ecx + 8], 0
je 0x49e34d
mov eax, dword [esp + 0x14]
movzx ecx, word [ebx + 0x34]
mov dword [eax + 0x2c], 6
mov eax, ecx
jmp 0x49e35c
mov ecx, dword [esp + 0x14]
movzx eax, word [ebx + 0x32]
mov dword [ecx + 0x2c], 3
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x24], eax
call fcn.00490710
mov ecx, dword [esp + 0x2c]
xor edi, edi
test cx, cx
je 0x49d775
mov eax, dword [ebx + 4]
movzx edx, word [eax + edi*2]
test dx, dx
jns 0x49e393
xor eax, eax
jmp 0x49e3a2
mov eax, dword [esp + 0x24]
movsx ecx, dx
add ecx, ecx
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*8]
push eax
movsx eax, dx
push eax
push edi
push str.iisX
push 1
push esi
call fcn.0046bd70
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp dword [eax + 8], 0
je 0x49e3ec
movzx eax, word [ebx + 0x32]
xor ecx, ecx
cmp edi, eax
mov eax, dword [ebx + 0x20]
setl cl
push ecx
push dword [eax + edi*4]
mov eax, dword [ebx + 0x1c]
movzx eax, byte [eax + edi]
push eax
push str.isiX
push 4
push esi
call fcn.0046bd70
add esp, 0x18
mov eax, dword [esp + 0x14]
mov edx, 0x43
mov ecx, esi
push dword [eax + 0x2c]
push 1
call fcn.0046bc70
mov ecx, dword [esp + 0x34]
inc edi
movzx eax, cx
add esp, 8
cmp edi, eax
jl 0x49e383
jmp 0x49d775
test edx, edx
je 0x49d775
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
call fcn.0048b2a0
mov edi, eax
add esp, 4
test edi, edi
je 0x49d775
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x18]
mov dword [eax + 0x2c], 5
call fcn.00490710
mov edi, dword [edi + 8]
xor ebx, ebx
test edi, edi
je 0x49d775
mov dword [esp + 0x68], 0x715c28
mov dword [esp + 0x6c], 0x715c2c
mov dword [esp + 0x70], 0x715634
xor eax, eax
cmp dword [edi + 0x24], eax
setne al
push eax
mov eax, dword [edi + 0x38]
and eax, 3
push dword [esp + eax*4 + 0x6c]
xor eax, eax
cmp byte [edi + 0x36], al
setne al
push eax
push dword [edi]
push ebx
push str.isisi
push 1
push esi
call fcn.0046bd70
mov edi, dword [edi + 0x14]
add esp, 0x20
inc ebx
test edi, edi
jne 0x49e476
jmp 0x49d775
mov eax, dword [esp + 0x14]
xor edi, edi
mov edx, dword [esp + 0x10]
mov dword [eax + 0x2c], 3
cmp dword [edx + 0x14], edi
jle 0x49e502
xor ebx, ebx
nop word [eax + eax]
mov edx, dword [edx + 0x10]
mov ecx, dword [edx + ebx + 4]
test ecx, ecx
je 0x49e4f5
call fcn.00469400
push eax
push dword [edx + ebx]
push edi
push 0x715c38
push 1
push esi
call fcn.0046bd70
add esp, 0x18
mov edx, dword [esp + 0x10]
inc edi
add ebx, 0x10
cmp edi, dword [edx + 0x14]
jl 0x49e4d0
mov edi, edx
jmp 0x49d779
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [esp + 0x10]
mov dword [eax + 0x2c], 2
mov edi, dword [edx + 0x174]
test edi, edi
je 0x49e502
mov eax, dword [edi + 8]
push dword [eax]
push ebx
push 0x715c3c
push 1
push esi
call fcn.0046bd70
mov edi, dword [edi]
add esp, 0x14
inc ebx
test edi, edi
jne 0x49e524
jmp 0x49d775
test edx, edx
je 0x49d775
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
call fcn.0048b2a0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x49d775
mov edi, dword [eax + 0x10]
test edi, edi
je 0x49d775
mov eax, dword [esp + 0x14]
mov ecx, eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], 0
mov dword [eax + 0x2c], 8
call fcn.00490710
xor eax, eax
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jle 0x49e661
lea edx, [edi + 0x24]
mov dword [esp + 0x30], edx
nop word [eax + eax]
movzx eax, byte [edi + 0x19]
add eax, 0xfffffffa
cmp eax, 3
ja case.default.0x49e5bc
jmp dword [eax*4 + 0x49fadc]
mov ecx, str.SET_NULL
jmp 0x49e5e4
mov ecx, str.SET_DEFAULT
jmp 0x49e5e4
mov ecx, str.CASCADE
jmp 0x49e5e4
mov ecx, str.RESTRICT
jmp 0x49e5e4
mov ecx, str.NO_ACTION
movzx eax, byte [edi + 0x1a]
add eax, 0xfffffffa
cmp eax, 3
ja case.default.0x49e5f0
jmp dword [eax*4 + 0x49faec]
mov eax, str.SET_NULL
jmp 0x49e618
mov eax, str.SET_DEFAULT
jmp 0x49e618
mov eax, str.CASCADE
jmp 0x49e618
mov eax, str.RESTRICT
jmp 0x49e618
mov eax, str.NO_ACTION
push str.NONE
push ecx
mov ecx, dword [edx]
push eax
push dword [edx + 4]
mov eax, dword [esp + 0x34]
add ecx, ecx
mov eax, dword [eax + 4]
push dword [eax + ecx*8]
push dword [edi + 8]
push ebx
push dword [esp + 0x48]
push str.iissssss
push 1
push esi
call fcn.0046bd70
mov edx, dword [esp + 0x5c]
inc ebx
add edx, 8
add esp, 0x2c
mov dword [esp + 0x30], edx
cmp ebx, dword [edi + 0x14]
jl 0x49e5b0
mov eax, dword [esp + 0x2c]
mov edi, dword [edi + 4]
inc eax
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x49e595
jmp 0x49d775
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 0x2c]
lea ecx, [eax + 1]
mov dword [esp + 0x38], ecx
lea ebx, [eax + 6]
lea ecx, [eax + 5]
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov ecx, eax
mov dword [eax + 0x2c], ebx
call fcn.00490710
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x10]
mov eax, dword [edi + eax + 0xc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x49e502
nop word [eax + eax]
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x49e6e1
push dword [esp + 0x3c]
xor edx, edx
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.0048b3f0
add esp, 8
mov edi, eax
xor eax, eax
jmp 0x49e6e6
mov edi, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
test edi, edi
je 0x49ea3d
cmp dword [edi + 0x10], 0
je 0x49ea3d
push dword [edi]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push dword [edi + 0x1c]
call fcn.0048ad30
mov ecx, dword [esp + 0x20]
add esp, 0xc
movsx eax, word [edi + 0x2a]
add eax, ebx
cmp eax, dword [ecx + 0x2c]
jle 0x49e729
mov dword [ecx + 0x2c], eax
push 0x68
push edi
push dword [esp + 0x20]
xor edx, edx
call fcn.00498780
mov edx, dword [esp + 0x44]
add esp, 0xc
mov ecx, esi
push dword [edi]
call fcn.0046bd50
mov ebx, dword [edi + 0x10]
add esp, 4
mov eax, 1
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x49e81a
nop
push dword [esp + 0x3c]
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
call fcn.0048b2a0
mov edi, eax
add esp, 4
test edi, edi
je 0x49e802
push dword [edi]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0
push dword [edi + 0x1c]
mov dword [esp + 0x50], 0
call fcn.0048ad30
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x50]
add esp, 0xc
mov edx, edi
push 0
push eax
push ebx
call fcn.00496090
add esp, 0xc
test eax, eax
jne 0x49d775
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x49e7db
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
push 0x68
push edi
push dword [esp + 0x20]
call fcn.00498780
add esp, 0xc
jmp 0x49e802
push dword [esp + 0x18]
mov edx, 0x68
mov ecx, esi
push dword [eax + 0x2c]
push dword [esp + 0x3c]
call fcn.0046bb20
mov edx, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0x14]
call fcn.0046ca00
mov eax, dword [esp + 0x34]
mov ebx, dword [ebx + 4]
inc eax
mov dword [esp + 0x34], eax
test ebx, ebx
jne 0x49e760
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x28], eax
jge 0x49e826
mov dword [ecx + 0x28], eax
push 0
mov edx, 0x25
mov ecx, esi
call fcn.0046bc00
mov ebx, dword [edi + 0x10]
add esp, 4
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x54], ebx
test ebx, ebx
je 0x49ea17
push dword [esp + 0x3c]
mov edx, dword [ebx + 8]
mov ecx, dword [esp + 0x14]
call fcn.0048b2a0
add esp, 4
mov dword [esp + 0x50], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], 0
test eax, eax
je 0x49e896
lea ecx, [esp + 0x20]
mov edx, eax
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00496090
add esp, 0xc
mov ecx, esi
call fcn.0046c130
xor edi, edi
mov dword [esp + 0x34], eax
cmp dword [ebx + 0x14], edi
jle 0x49e904
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
add ecx, 0x24
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49e8c4
mov eax, dword [eax + edi*4]
jmp 0x49e8c6
mov eax, dword [ecx]
mov edx, dword [esp + 0x4c]
mov ecx, esi
push ebx
push eax
push 0
call fcn.00485050
add esp, 0xc
mov edx, 0x4b
mov ecx, esi
push dword [esp + 0x34]
push ebx
call fcn.0046bc70
mov eax, dword [esp + 0x5c]
inc edi
mov ecx, dword [esp + 0x38]
add esp, 8
add ecx, 8
inc ebx
mov dword [esp + 0x30], ecx
cmp edi, dword [eax + 0x14]
jl 0x49e8b7
mov ebx, eax
mov edx, dword [esp + 0x44]
test edx, edx
je 0x49e955
push dword [ebx + 0x14]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00498870
mov edi, dword [esp + 0x2c]
add esp, 4
mov edx, 0x63
mov ecx, esi
push eax
push edi
push dword [ebx + 0x14]
push dword [esp + 0x3c]
call fcn.0046bf20
add esp, 0x14
mov edx, 0x1e
mov ecx, esi
push 0
push edi
mov edi, dword [esp + 0x3c]
push edi
push dword [esp + 0x34]
call fcn.0046c020
add esp, 0x10
jmp 0x49e990
cmp dword [esp + 0x50], 0
je 0x49e98c
mov eax, dword [esi + 0x88]
mov edx, 0x1f
push dword [esp + 0x2c]
add eax, 2
mov ecx, esi
push eax
push dword [esp + 0x30]
call fcn.0046bb20
mov edi, dword [esp + 0x40]
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.0046bce0
jmp 0x49e990
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
mov ecx, esi
mov edx, 0x7b
test byte [eax + 0x24], 0x20
mov eax, dword [esp + 0x38]
je 0x49e9aa
mov edx, 0x3b
inc eax
push eax
push 0
call fcn.0046bc70
mov eax, dword [esp + 0x30]
add esp, 8
dec eax
push eax
push dword [ebx + 8]
mov eax, dword [esp + 0x40]
push 0x715c54
add eax, 2
push eax
push esi
call fcn.0046bd70
add esp, 0x14
mov edx, 0x43
mov ecx, esi
push 4
push dword [esp + 0x3c]
call fcn.0046bc70
add esp, 8
mov edx, edi
mov ecx, esi
call fcn.0046c180
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
call fcn.0044e760
mov ebx, dword [ebx + 4]
inc dword [esp + 0x28]
mov dword [esp + 0x54], ebx
test ebx, ebx
jne 0x49e852
mov eax, dword [esp + 0x58]
inc eax
mov edx, 7
push eax
push 0
mov ecx, esi
call fcn.0046bc70
mov edx, dword [esp + 0x60]
add esp, 8
mov ecx, esi
call fcn.0046c4e0
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x49e6c0
jmp 0x49d775
test edx, edx
je 0x49d775
mov ecx, dword [esp + 0x1c]
xor dl, dl
call fcn.0049cfc0
mov ecx, dword [esp + 0x10]
movzx edx, al
call fcn.00495f90
jmp 0x49d775
mov eax, dword [esp + 0x5c]
or ecx, 0xffffffff
mov ebx, dword [esp + 0x14]
movzx eax, byte [eax]
mov al, byte [eax + 0x680668]
mov byte [esp + 0x43], al
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
mov eax, dword [esp + 0x18]
cmove eax, ecx
mov dword [ebx + 0x2c], 6
mov dword [esp + 0x18], eax
mov eax, 0x64
mov dword [esp + 0x24], eax
mov edi, eax
mov dword [esp + 0x48], eax
test edx, edx
je 0x49eacc
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x48]
call fcn.00452160
mov eax, dword [esp + 0x48]
test eax, eax
cmovle eax, edi
mov dword [esp + 0x24], eax
dec eax
mov edx, 0x38
push 1
push eax
mov ecx, esi
call fcn.0046bc70
mov edi, dword [esp + 0x18]
xor ecx, ecx
add esp, 8
mov dword [esp + 0x34], ecx
cmp dword [edi + 0x14], ecx
jle 0x49f51d
mov eax, dword [esp + 0x18]
nop word [eax + eax]
mov dword [esp + 0x20], 0
test eax, eax
js 0x49eb14
cmp ecx, eax
jne 0x49f509
mov edx, ecx
mov ecx, ebx
call fcn.00490710
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x34]
shl ecx, 4
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x10]
mov eax, dword [ecx + eax + 0xc]
add eax, 8
mov dword [esp + 0x48], eax
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x49eb7c
mov esi, edx
mov eax, dword [ebx + 8]
xor edi, edi
mov ecx, dword [eax + 8]
test byte [eax + 0x24], 0x20
lea eax, [edx + 1]
cmovne eax, edx
mov edx, eax
test ecx, ecx
je 0x49eb69
nop dword [eax]
mov ecx, dword [ecx + 0x14]
inc edx
inc edi
test ecx, ecx
jne 0x49eb60
mov ebx, dword [ebx]
cmp edi, esi
cmovg esi, edi
test ebx, ebx
jne 0x49eb45
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x10]
lea eax, [edx*4 + 4]
push 0
push eax
call fcn.0044ea10
mov edi, eax
add esp, 8
test edi, edi
je 0x49f519
mov ebx, dword [esp + 0x48]
xor edx, edx
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x49ebdb
nop dword [eax]
mov ecx, dword [ebx + 8]
test byte [ecx + 0x24], 0x20
jne 0x49ebc0
mov eax, dword [ecx + 0x1c]
mov dword [edi + edx*4], eax
inc edx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x49ebd5
mov eax, dword [ecx + 0x2c]
mov dword [edi + edx*4], eax
inc edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x49ebc7
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49ebb0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [edi + edx*4], 0
add ecx, 8
push 0xfffffffffffffff1
cmp dword [ebx + 0x2c], ecx
push edi
cmovg ecx, dword [ebx + 0x2c]
push 1
push edx
mov dword [ebx + 0x2c], ecx
mov edx, 0x8e
push 2
mov ecx, esi
mov byte [ebx + 0x13], 0
mov dword [ebx + 0x1c], 0
call fcn.0046bf20
mov eax, dword [esp + 0x48]
add esp, 0x14
movzx edx, al
mov ecx, esi
call fcn.0046c4c0
push 2
mov edx, 0x4b
call fcn.0046bc00
mov edx, dword [esp + 0x14]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x50]
mov ecx, dword [edx + 0x10]
push 0xfffffffffffffff9
push dword [eax + ecx]
push str._in_database__s__n
push edx
call fcn.00450780
add esp, 0xc
mov edx, 0x61
mov ecx, esi
push eax
push 0
push 3
push 0
call fcn.0046bf20
add esp, 0x14
mov edx, 0x3f
mov ecx, esi
push 1
push 4
push 2
call fcn.0046bb20
add esp, 0xc
mov edx, 0x5d
mov ecx, esi
push 2
push 3
push 4
call fcn.0046bb20
add esp, 0xc
mov edx, 2
mov ecx, esi
call fcn.0049d480
mov edx, edi
mov ecx, esi
call fcn.0046c4e0
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
test eax, eax
je 0x49f4fd
mov ebx, eax
mov ebx, dword [ebx + 8]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x60], 0
mov dword [esp + 0x4c], 0xffffffff
cmp dword [ebx + 0x1c], 1
jl 0x49f4e7
cmp dword [ebx + 0x18], 0
jne 0x49ed05
test dword [ebx + 0x24], 0x200
jne 0x49ed05
cmp dword [ebx + 8], 0
je 0x49f4e7
cmp byte [esp + 0x43], 0x71
je 0x49f4e7
test byte [ebx + 0x24], 0x20
jne 0x49ed15
mov dword [esp + 0x2c], 0
jmp 0x49ed20
mov ecx, ebx
call fcn.0048bfa0
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x14]
call fcn.004851f0
lea eax, [esp + 0x54]
mov edx, ebx
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 1
push 0
push 0x68
call fcn.0049b6c0
push 7
push 0
mov edx, 0x38
mov ecx, esi
call fcn.0046bc70
mov edi, dword [ebx + 8]
add esp, 0x20
test edi, edi
je 0x49ed7b
mov ebx, 8
push ebx
push 0
mov edx, 0x38
mov ecx, esi
call fcn.0046bc70
mov edi, dword [edi + 0x14]
add esp, 8
inc ebx
test edi, edi
jne 0x49ed61
push 0
push dword [esp + 0x3c]
mov edx, 0x25
mov ecx, esi
call fcn.0046bc70
push 1
push 7
mov edx, 0x45
mov ecx, esi
call fcn.0046bc70
mov edi, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x50], eax
xor ebx, ebx
xor eax, eax
cmp ax, word [edi + 0x2a]
jge 0x49ee71
xor ecx, ecx
mov dword [esp + 0x20], ecx
nop dword [eax]
movsx eax, word [edi + 0x28]
cmp ebx, eax
je 0x49ee5d
mov eax, dword [edi + 4]
cmp byte [ecx + eax + 0xc], 0
je 0x49ee5d
push 3
push ebx
push dword [esp + 0x40]
mov edx, edi
mov ecx, esi
call fcn.00485050
add esp, 0xc
mov edx, 0x80
mov ecx, esi
call fcn.0046c4c0
push 3
mov edx, 0x4c
call fcn.0046bc00
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x2c]
add esp, 4
mov ecx, dword [eax + 4]
push dword [edx + ecx]
push dword [eax]
push str.NULL_value_in__s._s
push dword [esp + 0x1c]
call fcn.00450780
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
mov edx, 0x61
mov ecx, esi
call fcn.0046bf20
add esp, 0x24
mov edx, 3
mov ecx, esi
call fcn.0049d480
mov edx, edi
mov ecx, esi
call fcn.0046c4e0
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
movsx eax, word [edi + 0x2a]
inc ebx
add ecx, 0x10
mov dword [esp + 0x20], ecx
cmp ebx, eax
jl 0x49edc0
mov edx, dword [edi + 0x18]
test edx, edx
je 0x49ef8e
mov eax, dword [esp + 0x10]
test dword [eax + 0x18], 0x200
jne 0x49ef8e
push 0
mov ecx, eax
call fcn.00481970
mov ebx, eax
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ebx
cmp byte [eax + 0x45], 0
jne 0x49ef81
mov ecx, esi
call fcn.0046c130
mov ecx, esi
mov dword [esp + 0x48], eax
call fcn.0046c130
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x58], eax
inc dword [edx + 0x3c]
mov dword [edx + 0x38], ecx
mov edi, dword [ebx]
dec edi
test edi, edi
jle 0x49ef0c
mov esi, dword [esp + 0x48]
lea eax, [edi + edi*2]
lea ebx, [ebx + eax*8]
add ebx, 8
push 0
push esi
push dword [ebx]
push edx
call fcn.00486b70
mov edx, dword [esp + 0x24]
lea ebx, [ebx - 0x18]
dec edi
add esp, 0x10
test edi, edi
jg 0x49eee6
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x58]
push 0x10
push eax
push dword [ebx + 8]
push edx
call fcn.00486860
mov edx, dword [esp + 0x58]
mov ecx, esi
call fcn.0046c180
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
mov dword [eax + 0x38], 0
push dword [edi]
push str.CHECK_constraint_failed_in__s
push dword [esp + 0x28]
call fcn.00450780
add esp, 0x1c
mov edx, 0x61
mov ecx, esi
push 0xfffffffffffffff9
push eax
push 0
push 3
push 0
call fcn.0046bf20
add esp, 0x14
mov edx, 3
mov ecx, esi
call fcn.0049d480
mov edx, dword [esp + 0x58]
mov ecx, esi
call fcn.0046c180
mov ecx, dword [esp + 0x14]
call fcn.00484f40
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x49ef8e
mov edx, ebx
mov ecx, eax
call fcn.00482370
mov ebx, dword [edi + 8]
test ebx, ebx
je 0x49f279
mov ecx, dword [esp + 0x54]
mov eax, 8
sub eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
nop dword [eax]
cmp byte [esp + 0x43], 0x71
je 0x49f275
mov ecx, esi
call fcn.0046c130
mov edi, eax
cmp dword [esp + 0x2c], ebx
je 0x49f266
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x6c]
push dword [esp + 0x64]
mov edx, ebx
push eax
push 0
push 0
push dword [esp + 0x4c]
call fcn.00492ed0
mov ecx, dword [esp + 0x54]
mov edx, 0x45
add ecx, dword [esp + 0x60]
push 1
push ecx
mov ecx, esi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x80], ebx
call fcn.0046bc70
movzx ecx, word [ebx + 0x34]
mov edx, 0x1e
push ecx
push dword [esp + 0x70]
mov ecx, esi
push edi
push dword [esp + 0x68]
call fcn.0046c020
push 0
push str.row
push 0
push 3
push 0
mov edx, 0x61
mov ecx, esi
mov edi, eax
call fcn.0046bf20
add esp, 0x44
mov edx, 0x5d
mov ecx, esi
push 3
push 3
push 7
call fcn.0046bb20
add esp, 0xc
mov edx, 0x61
mov ecx, esi
push 0
push str._missing_from_index
push 0
push 4
push 0
call fcn.0046bf20
add esp, 0x14
mov edx, 0x5d
mov ecx, esi
push 3
push 3
push 4
call fcn.0046bb20
add esp, 0xc
mov edx, 0x61
mov ecx, esi
push 0
push dword [ebx]
push 0
push 4
push 0
call fcn.0046bf20
add esp, 0x14
mov dword [esp + 0x58], eax
mov edx, 0x5d
mov ecx, esi
push 3
push 3
push 4
call fcn.0046bb20
add esp, 0xc
mov edx, 3
mov ecx, esi
call fcn.0049d480
mov dword [esp + 0x64], eax
mov edx, dword [esi + 0x88]
test edi, edi
jns 0x49f0dd
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x49f0ec
mov eax, 0x729e0c
jmp 0x49f0f5
mov eax, dword [esi + 0x58]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
cmp byte [ebx + 0x36], 0
je 0x49f207
mov ecx, esi
call fcn.0046c130
mov edx, eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x20], edx
cmp ax, word [ebx + 0x32]
jae 0x49f15f
nop dword [eax]
mov eax, dword [ebx + 4]
movsx ecx, word [eax + edi*2]
test ecx, ecx
js 0x49f13b
mov eax, dword [esp + 0x28]
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
jne 0x49f156
mov eax, dword [esp + 0x4c]
mov ecx, esi
push edx
add eax, edi
mov edx, 0x4b
push eax
call fcn.0046bc70
mov edx, dword [esp + 0x28]
add esp, 8
movzx eax, word [ebx + 0x32]
inc edi
cmp edi, eax
jl 0x49f120
push dword [esp + 0x3c]
mov edx, 7
mov ecx, esi
call fcn.0046bc00
mov edx, dword [esp + 0x24]
add esp, 4
mov ecx, esi
mov edi, eax
call fcn.0046bce0
mov edx, dword [esi + 0x88]
test edi, edi
jns 0x49f18c
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x49f19b
mov eax, 0x729e0c
jmp 0x49f1a4
mov eax, dword [esi + 0x58]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x20]
mov ecx, esi
mov dword [eax + 8], edx
mov edx, 0x27
movzx eax, word [ebx + 0x32]
push eax
push dword [esp + 0x50]
push edi
push dword [esp + 0x48]
call fcn.0046c020
push 0
push str.non_unique_entry_in_index
push 0
push 3
push 0
mov edx, 0x61
mov ecx, esi
call fcn.0046bf20
mov edx, dword [esp + 0x7c]
add esp, 0x24
mov ecx, esi
call fcn.0046bce0
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x49f207
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0x88]
mov dword [ecx], eax
mov ecx, dword [esp + 0x64]
mov edx, dword [esi + 0x88]
test ecx, ecx
jns 0x49f218
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x49f227
mov eax, 0x729e0c
jmp 0x49f230
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov edi, dword [esp + 0x68]
mov dword [eax + 8], edx
test edi, edi
je 0x49f266
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x49f25d
lea eax, [edi*4 + 4]
sub ecx, eax
mov eax, dword [edx + 0x88]
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
call fcn.00484f40
mov ebx, dword [ebx + 0x14]
inc dword [esp + 0x3c]
test ebx, ebx
jne 0x49efb0
mov edi, dword [esp + 0x28]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
mov ebx, dword [esp + 0x50]
cmp dword [eax + 0x30], ecx
jg 0x49f2a3
push 0
push ebx
push dword [esp + 0x40]
mov edx, 7
mov ecx, esi
call fcn.0046bae0
add esp, 0xc
jmp 0x49f2d5
mov edx, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 7
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esi + 0x88]
lea ecx, [ebx - 1]
test ecx, ecx
jns 0x49f2e5
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x49f2f4
mov eax, 0x729e0c
jmp 0x49f2fd
mov eax, dword [esi + 0x58]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
cmp byte [esp + 0x43], 0x71
mov dword [eax + 8], edx
je 0x49f4e7
push 0
push str.wrong__of_entries_in_index
push 0
push 2
push 0
mov edx, 0x61
mov ecx, esi
call fcn.0046bf20
mov eax, dword [edi + 8]
add esp, 0x14
mov dword [esp + 0x20], eax
test eax, eax
je 0x49f4e7
mov ecx, dword [esp + 0x2c]
mov ebx, 8
nop
cmp ecx, eax
je 0x49f4d7
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x49f375
mov eax, dword [esp + 0x54]
mov edx, 0x64
push 0
add eax, 0xfffffff8
mov ecx, esi
add eax, ebx
push 3
push eax
call fcn.0046bae0
add esp, 0xc
jmp 0x49f3b1
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x64
mov dword [eax + ecx*4 + 8], 3
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x54]
add eax, 0xfffffff8
mov dword [ecx + 0x10], 0
add eax, ebx
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov edi, dword [esi + 0x88]
cmp dword [eax + 0x30], edi
jg 0x49f3d7
push 3
push 0
push ebx
mov edx, 0x4e
mov ecx, esi
call fcn.0046bae0
add esp, 0xc
mov edi, eax
jmp 0x49f409
lea eax, [edi + 1]
mov dword [esi + 0x88], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x4e
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 3
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x88]
test eax, eax
jle 0x49f423
lea ecx, [eax + eax*4]
mov edx, 0x90
mov eax, dword [esi + 0x58]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x20]
mov edx, 0x61
push 0
mov ecx, esi
push dword [eax]
push 0
push 3
push 0
call fcn.0046bf20
mov eax, dword [esi + 0xc]
add esp, 0x14
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x49f465
push 7
push 2
push 3
mov edx, 0x5d
mov ecx, esi
call fcn.0046bae0
add esp, 0xc
jmp 0x49f49b
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 4], 3
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 7
mov dword [eax + ecx*4 + 0x10], 0
mov edx, 7
mov ecx, esi
call fcn.0049d480
mov edx, dword [esi + 0x88]
test edi, edi
jns 0x49f4b4
lea edi, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x49f4c3
mov eax, 0x729e0c
jmp 0x49f4cc
mov eax, dword [esi + 0x58]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x14]
inc ebx
mov dword [esp + 0x20], eax
test eax, eax
jne 0x49f340
mov ebx, dword [esp + 0x30]
mov ebx, dword [ebx]
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x49ecc0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x34], ecx
cmp ecx, dword [edi + 0x14]
jl 0x49eb00
jmp 0x49f51d
mov edi, dword [esp + 0x10]
push ecx
push 0x681df8
mov edx, 4
mov ecx, esi
call fcn.0046c340
add esp, 8
test eax, eax
je 0x49d779
mov ecx, 1
mov byte [eax + 0x29], 0xff
sub ecx, dword [esp + 0x24]
mov dword [eax + 8], ecx
mov dword [eax + 0x38], 0x715d00
jmp 0x49d779
test edx, edx
jne 0x49f586
mov ebx, dword [esp + 0x14]
mov ecx, ebx
call fcn.004a0ae0
test eax, eax
jne 0x49d775
mov eax, dword [ebx]
mov ecx, esi
movzx edx, byte [eax + 0x42]
mov edx, dword [edx*8 + 0x67ee48]
call fcn.0049d2f0
jmp 0x49d775
mov eax, dword [esp + 0x10]
mov edi, dword [eax + 0x10]
mov eax, dword [edi + 0xc]
mov al, byte [eax + 0x4e]
and al, 5
cmp al, 1
je 0x49d775
mov eax, dword [str.UTF8]
mov esi, 0x67ee48
mov ebx, dword [esp + 0x1c]
test eax, eax
je 0x49f5e5
nop
mov edx, eax
mov ecx, ebx
call fcn.004517f0
test eax, eax
je 0x49f5c9
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
jne 0x49f5b0
jmp 0x49f5ee
mov al, byte [esi + 4]
movzx ecx, al
test al, al
jne 0x49f5d8
mov ecx, 2
mov eax, dword [esp + 0x10]
mov byte [eax + 0x42], cl
mov eax, dword [edi + 0xc]
mov byte [eax + 0x4d], cl
cmp dword [esi], 0
jne 0x49d775
push ebx
push str.unsupported_encoding:__s
push dword [esp + 0x1c]
call fcn.00451630
add esp, 0xc
jmp 0x49d775
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edi, dword [eax + 8]
mov edx, ebx
call fcn.0046ce00
cmp dword [esp + 0x1c], 0
je 0x49f657
mov eax, dword [esp + 0x38]
test byte [eax + 5], 8
jne 0x49f657
push ecx
push 0x681e08
mov edx, 2
mov ecx, esi
call fcn.0046c340
mov ecx, dword [esp + 0x24]
mov esi, eax
add esp, 8
mov dword [esi + 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
call fcn.004522f0
mov dword [esi + 0x20], eax
jmp 0x49d775
push ecx
push 0x67e774
mov edx, 3
mov ecx, esi
call fcn.0046c340
add esp, 8
mov dword [eax + 4], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x20], edi
and dword [esi + 0x94], 0xffffffdf
jmp 0x49d775
mov eax, dword [esp + 0x14]
xor edi, edi
push edi
mov dword [eax + 0x2c], 1
call fcn.004c3f20
add esp, 4
test eax, eax
je 0x49f6d6
nop dword [eax + eax]
push 0
push eax
push 0
push 1
push 0
mov edx, 0x61
mov ecx, esi
inc edi
call fcn.0046bf20
add esp, 0x14
mov edx, 0x43
mov ecx, esi
push 1
push 1
call fcn.0046bc70
push edi
call fcn.004c3f20
add esp, 0xc
test eax, eax
jne 0x49f6a0
and dword [esi + 0x94], 0xffffffdf
jmp 0x49d775
mov eax, dword [esp + 0x28]
mov ebx, 0xa
cmp dword [eax], 0
cmovne ebx, dword [esp + 0x18]
xor edi, edi
test edx, edx
je 0x49f73f
mov ecx, dword [esp + 0x1c]
mov edx, str.full
call fcn.004517f0
test eax, eax
jne 0x49f710
lea edi, [eax + 1]
jmp 0x49f73f
mov ecx, dword [esp + 0x1c]
mov edx, str.restart
call fcn.004517f0
test eax, eax
jne 0x49f727
lea edi, [eax + 2]
jmp 0x49f73f
mov ecx, dword [esp + 0x1c]
mov edx, str.truncate
call fcn.004517f0
test eax, eax
mov ecx, 3
cmove edi, ecx
mov eax, dword [esp + 0x14]
mov edx, 8
push 1
push edi
push ebx
mov ecx, esi
mov dword [eax + 0x2c], 3
call fcn.0046bb20
add esp, 0xc
push 3
jmp 0x49db9c
test edx, edx
je 0x49f77c
mov ecx, edx
call fcn.004522f0
push eax
push dword [esp + 0x14]
call fcn.004c1f20
add esp, 8
mov eax, dword [esp + 0x10]
cmp dword [eax + 0xe0], 0x4c1ee0
jne 0x49d8ff
mov eax, dword [eax + 0xe4]
mov ecx, esi
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
push dword [esp + 0x10]
call fcn.004c0aa0
jmp 0x49d772
test edx, edx
je 0x49f7d2
mov ecx, edx
call fcn.004522f0
mov ecx, eax
mov dword [esp + 0x30], ecx
test cl, 2
je 0x49d775
jmp 0x49f7da
mov dword [esp + 0x30], 0xfffe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0x24], eax
inc eax
cmp dword [esp + 0x3c], 0
mov dword [ecx + 0x28], eax
je 0x49f7fc
mov eax, edx
mov dword [esp + 0x20], eax
jmp 0x49f810
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
dec eax
mov dword [esp + 0x20], eax
cmp edx, eax
jg 0x49f944
cmp edx, 1
je 0x49f930
call fcn.00490710
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi + 0xc]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x49f924
nop dword [eax]
nop dword [eax + eax]
mov edi, dword [ebx + 8]
test dword [edi + 0x24], 0x100
je 0x49f916
mov ax, word [edi + 0x2c]
add ax, 0x2e
movzx ecx, ax
mov eax, dword [edi + 8]
mov dword [esp + 0x68], ecx
test eax, eax
je 0x49f873
test byte [eax + 0x38], 0x80
je 0x49f8bb
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49f866
test cx, cx
je 0x49f8bb
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
push 0x68
push edi
push dword [esp + 0x20]
call fcn.00498780
mov eax, dword [esp + 0x74]
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov edx, 0x22
cwde
and ecx, 1
add ecx, 2
push eax
mov eax, dword [esi + 0x88]
add eax, ecx
mov ecx, esi
push eax
push dword [esp + 0x2c]
call fcn.0046bb20
add esp, 0xc
mov ecx, dword [esp + 0x10]
push dword [edi]
mov edi, dword [esp + 0x30]
mov eax, dword [ecx + 0x10]
push dword [eax + edi]
push str.ANALYZE___w_.__w_
push ecx
call fcn.00450780
add esp, 0x10
mov edx, eax
test byte [esp + 0x30], 1
je 0x49f955
mov ecx, dword [esp + 0x14]
call fcn.00487770
push 0xfffffffffffffff9
push edx
mov edi, eax
mov edx, 0x61
push 0
push edi
push 0
mov ecx, esi
call fcn.0046bf20
add esp, 0x14
mov edx, 0x43
mov ecx, esi
push 1
push edi
call fcn.0046bc70
add esp, 8
mov edi, dword [esp + 0x2c]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x49f840
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc edx
add edi, 0x10
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], edi
cmp edx, eax
jle 0x49f810
mov edx, 0x97
mov ecx, esi
call fcn.0046bb90
jmp 0x49d775
push 0xfffffffffffffff9
push edx
push 0
push 0
push 0
mov edx, 0x88
mov ecx, esi
call fcn.0046bf20
add esp, 0x14
jmp 0x49f91a
test edx, edx
je 0x49f994
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
call fcn.00452050
test eax, eax
jne 0x49f994
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.0044df70
add esp, 8
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0044df70
push edx
push eax
mov ecx, esi
call fcn.0049d240
add esp, 0x10
jmp 0x49d775
test edx, edx
je 0x49f9ec
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x68]
call fcn.00452050
test eax, eax
jne 0x49f9ec
cmp dword [esp + 0x6c], eax
jl 0x49f9ec
mov eax, dword [esp + 0x68]
jg 0x49f9d3
test eax, eax
jb 0x49f9ec
mov ecx, 8
and eax, 0x7fffffff
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 0x8c], eax
mov eax, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [eax + 0x8c]
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775
test edx, edx
je 0x49fa20
mov ecx, edx
call fcn.004522f0
push eax
push dword [esp + 0x14]
call fcn.004c17e0
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, esi
mov eax, dword [eax + 0x1ac]
cdq
push edx
push eax
call fcn.0049d240
add esp, 8
jmp 0x49d775