Function at 0x40c570
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword [0x476ecf4]
sub esp, 0x89c
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
je 0x40c592
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x89c
ret
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], 1
mov eax, ecx
mov esi, edi
mov edi, 0x46022d0
mov dword [0x476edd8], ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [0x476edd4]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
push 0x476ed38
push str.SELECT_idpckcom_awaketimer_chkdbtimer_sleep_millsaddprot_userlettav_FROM_GATC__sKCOM_m_WHERE_idkcom_d_AND_pcenabled1
push edx
call edi
add esp, 0x10
lea eax, [esp + 0xac]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov esi, eax
xor eax, eax
cmp esi, ebx
mov dword [esp + 0x14], esi
sete al
cmp eax, ebx
mov dword [0x476ecf4], eax
jne 0x40d2bb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
test al, al
jne 0x40d2bb
mov al, byte [esi + 4]
cmp al, bl
jne 0x40d18e
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [0x476edd0], eax
mov eax, dword [esi]
push 2
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
lea eax, [eax + eax*2]
push 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
shl ecx, 5
mov dword [0x48647c], ecx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x10]
call fcn.0045f9d8
imul eax, eax, 0x3e8
mov dword [0x486480], eax
mov eax, dword [esi]
push 4
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x476edbc], eax
mov edx, dword [esi]
push 5
mov ecx, esi
call dword [edx + 0x10]
call fcn.0045f9d8
mov dword [0x476edc0], eax
mov eax, dword [esi]
push 6
mov ecx, esi
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [0x5edd00], eax
mov eax, dword [0x48647c]
cmp eax, ebx
jg 0x40c6e9
mov dword [0x48647c], 0x36ee80
cmp dword [0x486480], ebx
jg 0x40c6fb
mov dword [0x486480], 0x1388
mov ecx, dword [0x476edd0]
lea edx, [esp + 0xac]
push ecx
push 0x476ed38
push str.SELECT_cproword_dschannel_idtype_idcomm_comport_baudrate_indip_udpport_phone_idkind_nrip1_nrip2_nrip3_nrip4_nrip5_nsec1_nsec2_nsec3_nsec4_nsec5_nretry_errstatus__savenotok_modemtype_nsectowaitforclosure_FROM_GATC__sKCOM_WHERE_idpckcom_d_ORDER_BY_1
push edx
call edi
add esp, 0x10
lea eax, [esp + 0xac]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00445210
mov ecx, dword [0x516f90]
mov edx, dword [ecx]
call dword [edx + 0xc]
mov ebp, eax
xor eax, eax
cmp ebp, ebx
sete al
cmp eax, ebx
mov dword [0x476ecf4], eax
jne 0x40d17a
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x24]
test al, al
jne 0x40d17a
cmp byte [ebp + 4], bl
jne 0x40d163
mov eax, dword [0x476edd8]
mov edi, 0x514f20
inc eax
push 1
mov dword [0x476edd8], eax
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
mov dword [eax + 0x655434], ebx
lea edx, [eax + 0x655438]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 2
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x643944], eax
mov edx, dword [ebp]
lea eax, [esp + 0x60]
mov ecx, ebp
push eax
call dword [edx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439c8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x5c]
call fcn.00445280
mov eax, dword [0x476edd8]
push 0x46e08c
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x6439c8
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
lea eax, [esp + 0x8c]
push 3
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439f1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
call fcn.00445280
mov edx, dword [ebp]
lea eax, [esp + 0x7c]
push 4
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439f4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x7c]
call fcn.00445280
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea esi, [eax + eax*4]
mov eax, 0x471cf0
shl esi, 5
lea edi, [esi + 0x6439f4]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x40c96b
cmp cl, bl
je 0x40c967
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x40c96b
add edi, 2
add eax, 2
cmp cl, bl
jne 0x40c947
xor eax, eax
jmp 0x40c970
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40ca2a
mov eax, dword [ebp]
lea ecx, [esp + 0x2c]
push 5
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx*8]
lea ecx, [eax + edx*8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*2]
or ecx, 0xffffffff
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439f9
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2c]
call fcn.00445280
mov eax, dword [0x476edd8]
push 0x46e08c
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x6439f9
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov eax, dword [0x476edd8]
push 6
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
mov ecx, ebp
lea esi, [eax + edx*2]
mov eax, dword [ebp]
lea esi, [esi + esi*4]
shl esi, 5
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [esi + 0x64392c], eax
mov eax, 0x46f304
lea edi, [esi + 0x6439f4]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x40ca59
cmp cl, bl
je 0x40ca55
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x40ca59
add edi, 2
add eax, 2
cmp cl, bl
jne 0x40ca35
xor eax, eax
jmp 0x40ca5e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40cb1e
mov eax, dword [ebp]
lea ecx, [esp + 0x9c]
push 7
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx*8]
lea ecx, [eax + edx*8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*2]
or ecx, 0xffffffff
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439ff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x9c]
call fcn.00445280
mov eax, dword [0x476edd8]
push 0x46e08c
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x6439ff
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov eax, dword [0x476edd8]
push 8
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
mov ecx, ebp
lea esi, [eax + edx*2]
mov eax, dword [ebp]
lea esi, [esi + esi*4]
shl esi, 5
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [esi + 0x643a10], eax
mov edi, 0x46f2cc
lea esi, [esi + 0x6439f4]
mov cl, byte [esi]
mov dl, byte [edi]
mov al, cl
cmp cl, dl
jne 0x40cb51
cmp al, bl
je 0x40cb4d
mov dl, byte [esi + 1]
mov cl, byte [edi + 1]
mov al, dl
cmp dl, cl
jne 0x40cb51
add esi, 2
add edi, 2
cmp al, bl
jne 0x40cb29
xor eax, eax
jmp 0x40cb56
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x40cd8d
mov eax, dword [ebp]
push 0x18
mov ecx, ebp
call dword [eax + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
cmp eax, ebx
mov dword [ecx + 0x643a14], eax
je 0x40cc57
cmp eax, 1
je 0x40cc57
mov edx, dword [ebp]
lea eax, [esp + 0x3c]
push 7
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439ff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
call fcn.00445280
mov eax, dword [0x476edd8]
push 0x46e08c
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x6439ff
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
push 8
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x643a10], eax
jmp 0x40cd0a
mov edx, dword [ebp]
lea eax, [esp + 0x4c]
push 5
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439f9
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x4c]
call fcn.00445280
mov eax, dword [0x476edd8]
push 0x46e08c
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x6439f9
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
push 6
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x64392c], eax
mov edx, dword [ebp]
lea eax, [esp + 0x6c]
push 9
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x643a18
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x6c]
call fcn.00445280
mov eax, dword [0x476edd8]
push 0x46e08c
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x643a18
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
lea eax, [esp + 0x1c]
push 0xa
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov edi, dword [eax + 4]
mov eax, dword [0x476edd8]
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
or ecx, 0xffffffff
lea eax, [eax + edx*2]
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6439f7
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00445280
mov eax, dword [0x476edd8]
push 0x46e08c
lea ecx, [eax + eax*2]
lea ecx, [ecx + ecx*8]
lea ecx, [eax + ecx*8]
lea edx, [ecx + ecx*2]
lea eax, [eax + edx*2]
lea eax, [eax + eax*4]
shl eax, 5
add eax, 0x6439f7
push eax
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov edx, dword [ebp]
push 0xb
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0xc
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659400], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0xd
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659404], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
push 0xe
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659408], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0xf
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x65940c], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x10
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659410], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x11
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659418], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x12
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x65941c], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x13
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659420], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
push 0x14
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659424], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x15
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659428], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x16
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x65942c], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x17
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2]
lea ecx, [ecx + ecx*4]
shl ecx, 5
mov dword [ecx + 0x659438], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x10]
call fcn.0045f9d8
mov ecx, dword [0x476edd8]
push 0x19
lea edx, [ecx + ecx*2]
lea edx, [edx + edx*8]
lea edx, [ecx + edx*8]
lea edx, [edx + edx*2]
lea edx, [ecx + edx*2]
lea edx, [edx + edx*4]
shl edx, 5
mov dword [edx + 0x655c38], eax
lea eax, [ecx + ecx*2]
lea eax, [eax + eax*8]
lea eax, [ecx + eax*8]
lea edx, [eax + eax*2]
mov eax, dword [ebp]
lea ecx, [ecx + edx*2]
lea esi, [ecx + ecx*4]
mov ecx, ebp
shl esi, 5
call dword [eax + 0x10]
call fcn.0045f9d8
mov dword [esi + 0x675950], eax
mov byte [esi + 0x643930], bl
mov byte [esi + 0x643931], 8
mov byte [esi + 0x643932], bl
mov byte [esi + 0x643933], bl
mov byte [esi + 0x643934], bl
mov dword [esi + 0x643a38], ebx
mov dword [esi + 0x643a3c], ebx
mov dword [esi + 0x6728cc], ebx
mov dword [esi + 0x643a40], ebx
mov dword [esi + 0x643a44], ebx
lea ecx, [esi + 0x675958]
mov dword [esi + 0x65e248], ebx
mov dword [esi + 0x6751b8], ebx
push ecx
mov dword [esi + 0x67594c], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [0x476edd8]
mov edi, 0x514f20
lea ecx, [eax + eax*2]
lea edx, [ecx + ecx*8]
lea ecx, [eax + edx*8]
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*2]
or ecx, 0xffffffff
lea edx, [eax + eax*4]
xor eax, eax
shl edx, 5
add edx, 0x6758c8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x20]
cmp byte [ebp + 4], bl
je 0x40c76b
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1c]
cmp ebp, ebx
je 0x40d17e
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
jmp 0x40d17e
mov dword [esp + 0x10], ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp byte [esi + 4], bl
je 0x40c64b
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp esi, ebx
je 0x40d1a1
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
cmp dword [esp + 0x10], ebx
je 0x40d2bf
cmp dword [0x46054d0], 1
jne 0x40d292
mov eax, dword [0x5edd00]
cmp eax, ebx
jle 0x40d292
push eax
push 0x476ed38
lea ecx, [esp + 0xb4]
push str.SELECT_badgewriterparms_FROM_GATG__sUSERPARMS_WHERE_iduser_d
push ecx
mov dword [esp + 0x20], ebx
call edi
add esp, 0x10
lea edx, [esp + 0xac]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00445210
mov ecx, dword [0x516f90]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebp, eax
xor eax, eax
cmp ebp, ebx
sete al
cmp eax, ebx
mov dword [0x476ecf4], eax
jne 0x40d2bf
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x24]
test al, al
jne 0x40d2bf
mov eax, dword [ebp]
lea ecx, [esp + 0x1c]
push 1
push ecx
mov ecx, ebp
call dword [eax + 0x14]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x46022d0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00445280
push 0x46e08c
push 0x46022d0
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
mov eax, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x10], 1
call dword [eax + 0x1c]
cmp ebp, ebx
je 0x40d292
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx]
mov edi, 0x514f20
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x8b0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x40d2fd
mov dword [esp + 0x10], ebx
mov ecx, dword [0x516f90]
lea eax, [esp + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x24]
mov edi, dword [eax + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x8b0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00445280
push 0x46054d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x89c
ret