Function at 0x40d6fd
Capabilities:
Reference sql statements

Disassembly:
mov eax, 0x4de9a2
call fcn.004baf44
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x14]
push eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], ecx
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
xor ebx, ebx
push ebx
push 0x50c474
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x5c], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c448
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x60], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c420
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x64], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c3ec
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x58], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c3c0
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x54], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c390
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x68], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c364
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x6c], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c33c
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x70], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c310
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x74], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c2e4
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x78], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c2b4
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x7c], eax
je 0x40e07b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov edx, dword [eax]
push ebx
push 0x50c288
mov ecx, eax
call dword [edx + 4]
cmp eax, ebx
mov dword [esi + 0x80], eax
je 0x40e07b
cmp dword [esi + 0x20], 4
jne 0x40dd61
call fcn.00410053
cmp eax, ebx
mov dword [0x5269f4], eax
je 0x40d92b
push edi
mov ecx, eax
call fcn.00444b88
test al, al
jne 0x40d944
push 0x8c
push 0x50be4c
push 0x50c260
push 0x50a714
jmp 0x40e06e
push 1
call fcn.0040fcdf
cmp eax, ebx
pop ecx
mov dword [0x5269f8], eax
je 0x40d966
mov edx, dword [eax]
push edi
push 0x50c248
mov ecx, eax
call dword [edx + 4]
test al, al
jne 0x40d97a
push 0x91
push 0x50be4c
push 0x50c244
jmp 0x40dc65
push 1
call fcn.0040fd07
cmp eax, ebx
pop ecx
mov dword [0x5269fc], eax
je 0x40d9b0
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x5269fc]
push eax
push 0x50c22c
call dword [edi + 4]
test al, al
jne 0x40d9b7
push 0x97
jmp 0x40d96b
push 1
call fcn.0040fd2f
cmp eax, ebx
pop ecx
mov dword [0x526a00], eax
je 0x40d9ed
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a00]
push eax
push 0x50c214
call dword [edi + 4]
test al, al
jne 0x40d9f7
push 0x9d
jmp 0x40d96b
push 1
call fcn.0040fdc9
cmp eax, ebx
pop ecx
mov dword [0x526a04], eax
je 0x40da2d
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a04]
push eax
push 0x50c1fc
call dword [edi + 4]
test al, al
jne 0x40da37
push 0xa3
jmp 0x40d96b
mov ecx, dword [0x526a04]
mov eax, dword [ecx]
call dword [eax + 0xc]
inc eax
push 1
mov dword [0x50cea8], eax
call fcn.0040fdf1
cmp eax, ebx
pop ecx
mov dword [0x526a14], eax
je 0x40da7e
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a14]
push eax
push 0x50c1dc
call dword [edi + 4]
test al, al
jne 0x40da88
push 0xab
jmp 0x40d96b
push 1
call fcn.0040fe19
cmp eax, ebx
pop ecx
mov dword [0x526a08], eax
je 0x40dabe
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a08]
push eax
push 0x50c1c0
call dword [edi + 4]
test al, al
jne 0x40dac8
push 0xb1
jmp 0x40d96b
push 1
call fcn.0040fe41
cmp eax, ebx
pop ecx
mov dword [0x526a0c], eax
je 0x40dafe
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a0c]
push eax
push 0x50c1a0
call dword [edi + 4]
test al, al
jne 0x40db08
push 0xb7
jmp 0x40d96b
push 1
call fcn.0040fe19
cmp eax, ebx
pop ecx
mov dword [0x526a10], eax
je 0x40db3e
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a10]
push eax
push 0x50c170
call dword [edi + 4]
test al, al
jne 0x40db48
push 0xbd
jmp 0x40d96b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
push eax
mov ecx, 0x526c20
call fcn.0044451a
test al, al
jne 0x40db7b
push 0xc1
push 0x50be4c
push 0x50c140
jmp 0x40d93a
push 1
call fcn.0040fea9
cmp eax, ebx
pop ecx
mov dword [0x526a18], eax
je 0x40dbb1
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a18]
push eax
push 0x50c124
call dword [edi + 4]
test al, al
jne 0x40dbbb
push 0xc6
jmp 0x40d96b
push 1
call fcn.0040ff08
cmp eax, ebx
pop ecx
mov dword [0x526a1c], eax
je 0x40dbf1
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a1c]
push eax
push 0x50c104
call dword [edi + 4]
test al, al
jne 0x40dbfb
push 0xcc
jmp 0x40d96b
push 1
call fcn.0040ff76
cmp eax, ebx
pop ecx
mov dword [0x526a20], eax
je 0x40dc31
push dword [esi + 0x20]
mov edi, dword [eax]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
mov ecx, dword [0x526a20]
push eax
push 0x50c0e8
call dword [edi + 4]
test al, al
jne 0x40dc3b
push 0xd2
jmp 0x40d96b
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
push eax
call fcn.00443aea
test al, al
pop ecx
jne 0x40dc6f
push 0xd6
push 0x50be4c
push 0x50c0c8
push 0x50c0c0
jmp 0x40e06e
push dword [esi + 0x20]
call fcn.00404bcb
pop ecx
mov ecx, eax
call fcn.00404b9c
push eax
call fcn.004436e0
cmp eax, ebx
pop ecx
mov dword [0x526a2c], eax
jne 0x40dca3
push 0xdc
push 0x50be4c
push 0x50c0b0
jmp 0x40d93a
mov ecx, esi
call fcn.0040f9bd
mov ecx, esi
call fcn.0040f86c
mov ecx, esi
call fcn.0040f651
mov ecx, esi
call fcn.0040fa22
call fcn.00410085
cmp eax, ebx
mov dword [0x526a24], eax
je 0x40dcdb
push dword [ebp + 0x10]
mov ecx, eax
call fcn.004429a3
test al, al
jne 0x40dcef
push 0xe8
push 0x50be4c
push 0x50c080
jmp 0x40d93a
call fcn.0040d532
push dword [ebp + 0x10]
call fcn.004422fd
test al, al
pop ecx
jne 0x40dd15
push 0xef
push 0x50be4c
push 0x50c064
jmp 0x40d93a
push 0x10
call fcn.004d64c3
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x40dd30
call fcn.00440c78
jmp 0x40dd32
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [0x526a28], eax
je 0x40dd4d
push dword [ebp + 0x10]
mov ecx, eax
call fcn.00440d06
test al, al
jne 0x40dd61
push 0xf4
push 0x50be4c
push 0x50c03c
jmp 0x40d93a
push 0xdc
call fcn.0043c3e9
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x40dd88
push dword [esi + 0x20]
call fcn.0043c407
mov edi, eax
jmp 0x40dd8a
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x40e051
mov ecx, edi
call fcn.0043c77b
test al, al
je 0x40e051
push 0xc
mov dword [esi + 0x38], edi
call fcn.0043af56
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x40ddcc
push dword [esi + 0x20]
call fcn.0043af74
mov edi, eax
jmp 0x40ddce
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x40e037
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x50]
test al, al
je 0x40e037
push 0x48
mov dword [esi + 0x30], edi
call fcn.0041402b
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], 3
je 0x40de10
push dword [esi + 0x20]
call fcn.004109fc
mov edi, eax
jmp 0x40de12
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x40e01d
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
je 0x40e01d
push 0x1c
mov dword [esi + 0x34], edi
call fcn.0043a111
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], 4
je 0x40de52
push dword [esi + 0x20]
call fcn.0043a12f
jmp 0x40de54
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x40e003
mov ecx, eax
call fcn.0043a1b8
test al, al
je 0x40e003
push 8
call fcn.00439852
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], 5
je 0x40de96
push dword [esi + 0x20]
call fcn.00439870
mov edi, eax
jmp 0x40de98
xor edi, edi
or dword [ebp - 4], 0xffffffff
cmp edi, ebx
je 0x40dfe5
mov ecx, edi
call fcn.004398a5
test al, al
je 0x40dfe5
push 0x14
mov dword [esi + 0x3c], edi
call fcn.004391d2
pop ecx
mov ecx, eax
mov dword [ebp + 0x10], ecx
cmp ecx, ebx
mov dword [ebp - 4], 6
je 0x40ded5
call fcn.004391f0
jmp 0x40ded7
xor eax, eax
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x40dfc4
push dword [esi + 0x20]
mov ecx, eax
call fcn.00439298
test al, al
je 0x40dfc4
push dword [esi + 0x20]
call fcn.00411ec6
cmp eax, ebx
pop ecx
mov dword [esi + 0x48], eax
jne 0x40df29
mov eax, 0x50c024
test eax, eax
je 0x40e07b
push 0x129
push 0x50be4c
push 0x50c008
jmp 0x40e069
push dword [esi + 0x20]
call fcn.0043e592
cmp eax, ebx
pop ecx
mov dword [esi + 0x4c], eax
jne 0x40df5a
mov eax, 0x50bff4
test eax, eax
je 0x40e07b
push 0x130
push 0x50be4c
push 0x50bfdc
jmp 0x40e069
cmp dword [esi + 0x20], 4
jne 0x40df90
push 4
call fcn.004cebe8
cmp eax, ebx
pop ecx
mov dword [esi + 0x50], eax
jne 0x40df90
mov eax, 0x50b96c
test eax, eax
je 0x40e07b
push 0x139
push 0x50be4c
push 0x50b958
jmp 0x40e069
mov dword [esi + 0x10], 0x3c
call sub.winmm.dll_timeGetTime
mov edi, 0x3e8
xor edx, edx
mov ecx, edi
div ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 0xe10
call sub.winmm.dll_timeGetTime
xor edx, edx
div edi
mov dword [esi + 0x1c], eax
mov al, 1
jmp 0x40e07d
mov eax, 0x50bfc4
test eax, eax
je 0x40e07b
push 0x122
push 0x50be4c
push 0x50bfac
jmp 0x40e069
mov eax, 0x50bf98
test eax, eax
je 0x40e07b
push 0x11a
push 0x50be4c
push 0x50bf80
jmp 0x40e069
mov eax, 0x50bf68
test eax, eax
je 0x40e07b
push 0x113
push 0x50be4c
push 0x50bf4c
jmp 0x40e069
mov eax, 0x50bf34
test eax, eax
je 0x40e07b
push 0x10b
push 0x50be4c
push 0x50bf1c
jmp 0x40e069
mov eax, 0x50bf04
test eax, eax
je 0x40e07b
push 0x103
push 0x50be4c
push 0x50beec
jmp 0x40e069
mov eax, 0x50bed8
test eax, eax
je 0x40e07b
push 0xfb
push 0x50be4c
push 0x50bec0
push 0x508548
push 0x508530
call fcn.00401466
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10