Function at 0x41c62d
Capabilities:
Reference sql statements

Disassembly:
push ebp
push ebx
mov edx, 8
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x41c634
call fcn.0048d6d0
push 1
call fcn.0040e3ec
mov edx, 0x5cf064
lea ecx, [esp]
call fcn.0042e008
mov edx, 0x5cf064
lea ecx, [esp + 4]
call fcn.0042e008
mov dword [esp + 8], 0
push dword [0x8f9b14]
call fcn.0042fde8
and eax, eax
je 0x41c686
xor eax, eax
jmp 0x41c68b
mov eax, 1
and eax, eax
je 0x41cbe6
push 0x44
call fcn.0048c290
mov dword [esp + 0xc], eax
push 0
push 0x68
call fcn.00471d63
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov edx, str.Check_MAK_Keys:
push edx
call fcn.0048d570
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
call fcn.0048ad90
pop eax
call fcn.0048d660
push 0x68
call fcn.0042e5e2
add dword [esp + 4], edx
call fcn.004734ac
call fcn.0042e610
push dword [0x8fa1c4]
call fcn.00486e3b
mov dword [esp + 0x10], 0
jmp 0x41c71a
push 0x4d
call fcn.00478744
cmp eax, dword [esp + 0x10]
jl 0x41cae8
push dword [esp + 0x10]
push 0x4d
call fcn.00473779
mov ebx, eax
and ebx, 1
and ebx, ebx
je 0x41cade
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 0
push dword [esp + 0x20]
push 0x4d
call fcn.00478771
call fcn.0042e5e2
add dword [esp], edx
call fcn.00413fd1
call fcn.0042e610
and eax, eax
je 0x41cade
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 0
push dword [esp + 0x1c]
push 0x4d
call fcn.00478771
lea eax, [esp + 0x18]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov edx, str.SELECT_ExtendedPID__Description__LicenseType__CryptoID_FROM_keys_WHERE_key
push edx
call fcn.0048d570
mov edx, dword [esp + 0x1c]
push edx
call fcn.0048d570
mov edx, str._AND__Lic_LIKE__MAK__OR_LicenseType_LIKE__OEM__
push edx
call fcn.0048d570
call fcn.0048d660
push dword [0x8f9c3c]
call fcn.0042e5e2
add dword [esp + 4], edx
call fcn.0047f11d
call fcn.0042e610
mov ebx, eax
and ebx, ebx
je 0x41cad1
push dword [0x8f9c3c]
call fcn.0047f12f
and eax, eax
je 0x41c8d3
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 0
push dword [0x8f9c3c]
call fcn.0047f157
lea eax, [esp + 4]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 1
push dword [0x8f9c3c]
call fcn.0047f157
lea eax, [esp + 8]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 2
push dword [0x8f9c3c]
call fcn.0047f157
lea eax, [esp + 0x1c]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
push 3
push dword [0x8f9c3c]
call fcn.0047f157
lea eax, [esp + 0x20]
push eax
call fcn.0048d5d0
jmp 0x41c813
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov eax, 0x5cf7bc
push eax
push dword [esp + 0x28]
call fcn.0048ad20
mov ebx, eax
dec ebx
push ebx
push 1
push dword [esp + 0x2c]
call fcn.0048aef0
lea eax, [esp + 0x20]
push eax
call fcn.0048d5d0
mov eax, 0x5d7bac
push eax
push dword [esp + 0x1c]
call fcn.0048ad20
mov ebx, eax
and ebx, ebx
jle 0x41c93a
push dword [esp + 0x1c]
call fcn.0048abc0
mov ebx, eax
cmp ebx, 4
jge 0x41c93a
mov eax, 1
jmp 0x41c93c
xor eax, eax
and eax, eax
je 0x41c945
jmp 0x41cac4
push dword [esp]
mov edx, 0x5cf064
pop ecx
call fcn.0042e590
jne 0x41c96d
push dword [esp + 0x14]
mov edx, 0x5cf064
pop ecx
call fcn.0042e590
jne 0x41c96d
mov eax, 1
jmp 0x41c96f
xor eax, eax
and eax, eax
je 0x41cac4
mov ebx, dword [esp + 8]
inc ebx
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0xc]
mov edx, dword [ebp + 4]
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d570
mov edx, dword [esp + 4]
push edx
call fcn.0048d570
mov edx, 0x5d0b1e
push edx
call fcn.0048d570
mov ebp, dword [esp + 0x10]
lea eax, [ebp + 4]
push eax
call fcn.0048d5d0
mov ebp, dword [esp + 0xc]
mov edx, dword [ebp]
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d570
mov edx, dword [esp + 0x18]
push edx
call fcn.0048d570
mov edx, 0x5d0b1e
push edx
call fcn.0048d570
mov ebp, dword [esp + 0x10]
lea eax, [ebp]
push eax
call fcn.0048d5d0
mov ebp, dword [esp + 0xc]
mov edx, dword [ebp + 0x40]
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d570
mov edx, dword [esp + 8]
push edx
call fcn.0048d570
mov edx, 0x5d0b1e
push edx
call fcn.0048d570
mov ebp, dword [esp + 0x10]
lea eax, [ebp + 0x40]
push eax
call fcn.0048d5d0
mov ebp, dword [esp + 0xc]
mov edx, dword [ebp + 8]
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d570
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
call fcn.0048ad90
pop eax
mov edx, 0x5d0b1e
push edx
call fcn.0048d570
mov ebp, dword [esp + 0x10]
lea eax, [ebp + 8]
push eax
call fcn.0048d5d0
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov edx, str.Check_MAK_Keys:
push edx
call fcn.0048d570
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
call fcn.0048ad90
pop eax
call fcn.0048d660
push 0x68
call fcn.0042e5e2
add dword [esp + 4], edx
call fcn.004734ac
call fcn.0042e610
push dword [0x8f9c3c]
call fcn.0047f184
jmp 0x41cad1
call fcn.0047aa1b
and eax, eax
je 0x41cadc
jmp 0x41cad1
jmp 0x41cade
inc dword [esp + 0x10]
jno 0x41c71a
mov ebx, dword [esp + 8]
and ebx, ebx
jle 0x41cbe6
push 0
push 0x68
call fcn.00471d63
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov edx, str.Check_MAK_Keys:
push edx
call fcn.0048d570
push edx
call fcn.0048d530
pop edx
push eax
push edx
call fcn.0048d530
pop edx
push eax
mov eax, dword [esp + 0x18]
cdq
push edx
push eax
call fcn.0048ad90
pop eax
call fcn.0048d660
push 0x68
call fcn.0042e5e2
add dword [esp + 4], edx
call fcn.004734ac
call fcn.0042e610
mov ebp, dword [esp + 0xc]
mov dword [ebp + 0x28], 1
mov ebx, dword [esp + 8]
cmp ebx, 0x50
jle 0x41cbd1
push dword [esp + 0xc]
lea eax, [0x4179c8]
push eax
call fcn.0042fe98
mov dword [0x8f9b14], eax
push 0x226
call fcn.0047a289
push dword [esp + 0xc]
lea eax, [0x4179c8]
push eax
call fcn.0042fe98
push 0xfa
call fcn.0047a289
push dword [esp + 0xc]
lea eax, [0x4179c8]
push eax
call fcn.0042fe98
push 0xfa
call fcn.0047a289
push dword [esp + 0xc]
lea eax, [0x4179c8]
push eax
call fcn.0042fe98
jmp 0x41cbe6
push dword [esp + 0xc]
lea eax, [0x4179c8]
push eax
call fcn.0042fe98
mov dword [0x8f9b14], eax
push 0
call fcn.0040e3ec
xor eax, eax
push dword [esp + 4]
call fcn.0048d760
push dword [esp + 0x1c]
call fcn.0048d760
push dword [esp + 0x18]
call fcn.0048d760
push dword [esp]
call fcn.0048d760
push dword [esp + 0x14]
call fcn.0048d760
add esp, 0x20
pop ebx
pop ebp
ret