Function at 0x49b4a4
Capabilities:
Check for peb beingdebugged flag
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x8f
push 0
push 0
dec ecx
jne 0x49b4ad
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
mov esi, dword [ebp + 8]
mov ecx, 0x19
lea eax, [ebp - 0x90]
mov edx, dword [0x401110]
call fcn.00405054
mov ecx, 0x19
lea eax, [ebp - 0xf4]
mov edx, dword [0x401110]
call fcn.00405054
mov ecx, 0x19
lea eax, [ebp - 0x158]
mov edx, dword [0x401110]
call fcn.00405054
mov ecx, 0x19
lea eax, [ebp - 0x1bc]
mov edx, dword [0x401110]
call fcn.00405054
mov ecx, 0x19
lea eax, [ebp - 0x220]
mov edx, dword [0x401110]
call fcn.00405054
mov ecx, 0x19
lea eax, [ebp - 0x284]
mov edx, dword [0x401110]
call fcn.00405054
mov ecx, 0x19
lea eax, [ebp - 0x2e8]
mov edx, dword [0x401110]
call fcn.00405054
mov ecx, 0x19
lea eax, [ebp - 0x34c]
mov edx, dword [0x401110]
call fcn.00405054
xor eax, eax
push ebp
push 0x49bd87
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x420]
mov eax, esi
call fcn.00408e64
mov eax, dword [ebp - 0x420]
lea edx, [ebp - 0x41c]
call fcn.00408aec
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x418]
mov edx, 0x49bda0
call fcn.004047ec
mov eax, dword [ebp - 0x418]
push eax
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.00477d0c
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0046e31c
lea edx, [ebp - 0x424]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x424]
call fcn.00408fa0
mov edi, eax
mov dword [ebp - 0x3a0], edi
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 1
call fcn.0046e31c
lea edx, [ebp - 0x428]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x428]
call fcn.00408fa0
mov dword [ebp - 0x404], eax
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.00477d18
dec edi
mov dword [ebp - 0x3b0], edi
mov eax, dword [ebp - 0x404]
dec eax
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x3ac], eax
mov eax, dword [ebp - 0x404]
dec eax
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x3a0]
inc eax
mov dword [ebp - 0x3a8], eax
mov eax, dword [ebp - 0x404]
dec eax
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x3a0]
dec eax
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x408], eax
mov eax, dword [ebp - 0x3a0]
inc eax
mov dword [ebp - 0x39c], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0x3a0]
dec eax
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x404]
inc eax
mov dword [ebp - 0x3fc], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x394], eax
mov eax, dword [ebp - 0x404]
inc eax
mov dword [ebp - 0x3f8], eax
mov eax, dword [ebp - 0x3a0]
inc eax
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x404]
inc eax
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3a0]
sub eax, 2
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x404]
sub eax, 2
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3a0]
dec eax
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x404]
sub eax, 2
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x384], eax
mov eax, dword [ebp - 0x404]
sub eax, 2
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3a0]
inc eax
mov dword [ebp - 0x380], eax
mov eax, dword [ebp - 0x404]
sub eax, 2
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3a0]
add eax, 2
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x404]
sub eax, 2
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3a0]
sub eax, 2
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x404]
dec eax
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3a0]
add eax, 2
mov dword [ebp - 0x374], eax
mov eax, dword [ebp - 0x404]
dec eax
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3a0]
sub eax, 2
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp - 0x3a0]
add eax, 2
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x404]
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3a0]
sub eax, 2
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0x404]
inc eax
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x3a0]
add eax, 2
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x404]
inc eax
mov dword [ebp - 0x3c8], eax
mov eax, dword [ebp - 0x3a0]
sub eax, 2
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x404]
add eax, 2
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x3a0]
dec eax
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x404]
add eax, 2
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x358], eax
mov eax, dword [ebp - 0x404]
add eax, 2
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3a0]
inc eax
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x404]
add eax, 2
mov dword [ebp - 0x3b8], eax
mov eax, dword [ebp - 0x3a0]
add eax, 2
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x404]
add eax, 2
mov dword [ebp - 0x3b4], eax
lea edx, [ebp - 0x430]
mov eax, dword [ebp - 0x38c]
call fcn.00408e64
push dword [ebp - 0x430]
push 0x49bdd0
lea edx, [ebp - 0x434]
mov eax, dword [ebp - 0x3f0]
call fcn.00408e64
push dword [ebp - 0x434]
lea eax, [ebp - 0x42c]
mov edx, 3
call fcn.00404860
mov edx, dword [ebp - 0x42c]
mov eax, dword [0x50584c]
mov eax, dword [eax + 0x2fc]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dword [ebp - 8], 0x19
lea eax, [ebp - 0x3b0]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x414]
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0xf4]
lea eax, [ebp - 0x158]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2e8]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x34c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x2c], eax
push 0x49bddc
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00408e64
mov eax, dword [ebp - 0x440]
lea edx, [ebp - 0x43c]
call fcn.00408aec
push dword [ebp - 0x43c]
push 0x49be24
lea edx, [ebp - 0x448]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408e64
mov eax, dword [ebp - 0x448]
lea edx, [ebp - 0x444]
call fcn.00408aec
push dword [ebp - 0x444]
lea eax, [ebp - 0x438]
mov edx, 4
call fcn.00404860
mov eax, dword [ebp - 0x438]
push eax
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.00477d0c
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0046e31c
lea edx, [ebp - 0x44c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x44c]
mov eax, edi
call fcn.00404534
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 1
call fcn.0046e31c
lea edx, [ebp - 0x450]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x450]
mov eax, dword [ebp - 0x14]
call fcn.00404534
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 2
call fcn.0046e31c
lea edx, [ebp - 0x454]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x454]
mov eax, dword [ebp - 0x18]
call fcn.00404534
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 3
call fcn.0046e31c
lea edx, [ebp - 0x458]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x458]
mov eax, dword [ebp - 0x1c]
call fcn.00404534
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 4
call fcn.0046e31c
lea edx, [ebp - 0x45c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x45c]
mov eax, dword [ebp - 0x20]
call fcn.00404534
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 5
call fcn.0046e31c
lea edx, [ebp - 0x460]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x460]
mov eax, dword [ebp - 0x24]
call fcn.00404534
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 6
call fcn.0046e31c
lea edx, [ebp - 0x464]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x464]
mov eax, dword [ebp - 0x28]
call fcn.00404534
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.00477d18
cmp dword [edi], 0
je 0x49bc09
push 0x49be34
lea edx, [ebp - 0x468]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
call fcn.00408e64
push dword [ebp - 0x468]
push 0x49be44
lea edx, [ebp - 0x46c]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00408e64
push dword [ebp - 0x46c]
push 0x49be54
mov eax, dword [ebp - 0x20]
push dword [eax]
push 0x49be64
mov eax, dword [ebp - 0x1c]
push dword [eax]
push 0x49be74
mov eax, dword [ebp - 0x18]
push dword [eax]
push 0x49be84
lea eax, [ebp - 0x474]
mov edx, dword [edi]
call fcn.00404d68
mov eax, dword [ebp - 0x474]
lea edx, [ebp - 0x470]
call fcn.00406610
push dword [ebp - 0x470]
push 0x49be98
mov eax, dword [ebp - 0x24]
push dword [eax]
push 0x49bea8
mov eax, dword [ebp - 0x28]
push dword [eax]
push 0x49beb8
lea eax, [ebp - 0x47c]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
call fcn.00404d68
mov eax, dword [ebp - 0x47c]
lea edx, [ebp - 0x478]
call fcn.00406610
push dword [ebp - 0x478]
push 0x49bec4
mov eax, dword [ebp - 0x2c]
mov edx, 0x13
call fcn.00404860
jmp 0x49bc11
mov eax, dword [ebp - 0x2c]
call fcn.004044e0
add dword [ebp - 0x2c], 4
add dword [ebp - 0x28], 4
add dword [ebp - 0x24], 4
add dword [ebp - 0x20], 4
add dword [ebp - 0x1c], 4
add dword [ebp - 0x18], 4
add dword [ebp - 0x14], 4
add edi, 4
add dword [ebp - 0x10], 4
add dword [ebp - 0xc], 4
dec dword [ebp - 8]
jne 0x49b97d
mov eax, dword [0x50584c]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x90]
mov edx, dword [ebp - 4]
call fcn.0045e93c
push eax
push 0x49bed4
push dword [ebp - 0x284]
push dword [ebp - 0x280]
push dword [ebp - 0x27c]
push dword [ebp - 0x278]
push dword [ebp - 0x274]
push dword [ebp - 0x270]
push dword [ebp - 0x26c]
push dword [ebp - 0x268]
push dword [ebp - 0x264]
push dword [ebp - 0x260]
push dword [ebp - 0x25c]
push dword [ebp - 0x258]
push dword [ebp - 0x254]
push dword [ebp - 0x250]
push dword [ebp - 0x24c]
push dword [ebp - 0x248]
push dword [ebp - 0x244]
push dword [ebp - 0x240]
push dword [ebp - 0x23c]
push dword [ebp - 0x238]
push dword [ebp - 0x234]
push dword [ebp - 0x230]
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
push dword [ebp - 0x224]
push 0x49bee4
push 0x49bef4
lea eax, [ebp - 0x480]
mov edx, 0x1c
call fcn.00404860
mov edx, dword [ebp - 0x480]
pop eax
call fcn.0045deb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49bd8e
lea eax, [ebp - 0x480]
call fcn.004044e0
lea eax, [ebp - 0x47c]
call fcn.00404bec
lea eax, [ebp - 0x478]
call fcn.004044e0
lea eax, [ebp - 0x474]
call fcn.00404bec
lea eax, [ebp - 0x470]
call fcn.004044e0
lea eax, [ebp - 0x46c]
mov edx, 0x16
call fcn.00404504
lea eax, [ebp - 0x34c]
mov ecx, 0xc8
mov edx, dword [0x401110]
call fcn.00405140
ret