Function at 0x407930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c8b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfe4
mov eax, dword [0x460640]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x818], ecx
mov ecx, dword [0x45ebd8]
mov eax, 0x7a5789fb
imul ecx
mov ecx, dword [0x45ebcc]
sar edx, 0x16
mov ebx, dword [0x45ebdc]
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x7a5789fb
imul ecx
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebx
imul edx, edx, 0xcdd745
add eax, edx
mov ecx, eax
mov edi, dword [0x45ebd4]
mov eax, 0x312cd50d
imul edi
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebe0]
sub ecx, eax
imul edx, edx, 0x533e66
sub ecx, edx
mov eax, 0xa16eca11
imul edi
add edx, edi
sar edx, 0x16
mov eax, ecx
add eax, esi
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45ebc8]
add ecx, eax
mov eax, 0x7a5789fb
imul edx
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x81c], eax
mov eax, 0xc83bcf21
imul ebx
mov eax, ebx
add edx, eax
mov eax, dword [ebp - 0x81c]
sar edx, 0x16
add eax, edx
mov ebx, edx
shr ebx, 0x1f
add ebx, eax
mov eax, 0x8c4682e9
imul edi
add edx, edi
sar edx, 0x16
mov edi, edx
shr edi, 0x1f
add ebx, edx
mov dword [0x45ebc4], ecx
add edi, ebx
mov eax, 0x312cd50d
imul dword [0x45ebe0]
imul ecx, ecx, 0x450d9b
sar edx, 0x14
add edi, edx
mov ebx, edx
mov edx, dword [0x45ebd0]
mov eax, 0xef8db9b
imul edx
sar edx, 0x13
shr ebx, 0x1f
mov eax, edx
shr eax, 0x1f
add ebx, edi
add eax, edx
sub ebx, eax
mov eax, dword [ebp - 0x820]
add ebx, ecx
sub ebx, esi
test eax, eax
mov dword [0x45ebcc], ebx
je 0x408035
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407a96
sub eax, edx
mov dword [ebp - 0x81c], eax
je 0x408035
mov edx, dword [ebp - 0x818]
push str.C:_WINDoWS_system32driversetc_serViCe5.ini
push 0x800
lea ecx, [ebp - 0x814]
push ecx
push 0x44ee89
push edx
push 0x44f160
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, dword [0x45ebdc]
mov ecx, dword [0x45ebc8]
mov eax, 0x7791c573
imul edi
sub edx, edi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, ecx
imul esi, esi, 0x533e66
mov ebx, eax
mov eax, dword [0x45ebe8]
sub ebx, esi
imul eax, eax, 0x657dbd
mov esi, dword [0x45ebc4]
mov edx, esi
imul edx, edx, 0x1119354
add ebx, edx
add eax, dword [0x45ebe4]
mov dword [ebp - 0x818], eax
mov eax, 0xa16eca11
imul edi
add edx, edi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x818]
add edx, ebx
lea edx, [eax + edx + 0x74cc7d]
lea eax, [ebp - 0x814]
mov dword [0x45ebd4], edx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407b56
sub eax, edi
mov dword [ebp - 0x818], eax
je 0x407fca
mov edx, dword [0x45ebd0]
imul ecx, ecx, 0x965d2c
imul esi, esi, 0x74cc7d
mov eax, 0x7a5789fb
imul edx
sar edx, 0x16
mov edi, edx
shr edi, 0x1f
add edi, edx
add edi, ecx
mov ecx, dword [0x45ebcc]
mov eax, 0xef8db9b
imul ecx
imul ecx, ecx, 0xa6969a
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
add edi, esi
sub edi, eax
add edi, ecx
mov ecx, dword [0x45ebe4]
mov eax, 0xa16eca11
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
add edi, edx
lea edx, [ebp - 0x814]
push edx
shr ecx, 0x1f
lea eax, [ebp - 0xff0]
add ecx, edi
push 0x1f4
push eax
mov dword [0x45ebdc], ecx
call fcn.00410680
mov edi, dword [ebp - 0x820]
add esp, 0xc
mov dword [ebp - 0x818], eax
xor esi, esi
lea ecx, [ecx]
cmp esi, dword [ebp - 0x818]
jge 0x407fc4
mov ecx, dword [0x45ebe4]
mov eax, 0x7a5789fb
imul ecx
sar edx, 0x16
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, ecx
mov ecx, dword [0x45ebc4]
mov eax, 0xc83bcf21
imul ecx
add edx, ecx
mov ecx, dword [0x45ebd0]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
mov ebx, eax
mov eax, 0x312cd50d
imul ecx
mov eax, dword [0x45ebd8]
sar edx, 0x14
imul eax, eax, 0x657dbd
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x45ebd4]
imul edx, edx, 0xf02e46
sub ebx, ecx
mov ecx, dword [0x45ebcc]
add ebx, edx
sub ebx, eax
mov eax, 0xa16eca11
imul ecx
add edx, ecx
sar edx, 0x16
mov ecx, edx
add ebx, edx
mov edx, dword [ebp + esi*4 - 0xff0]
shr ecx, 0x1f
push edx
add ecx, ebx
push edi
mov dword [0x45ebe4], ecx
call fcn.00432900
add esp, 8
test eax, eax
je 0x407fbe
mov ecx, dword [0x45ebdc]
mov ebx, dword [0x45ebe4]
mov eax, 0x6cf6585f
imul ecx
sar edx, 0x16
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0x8c4682e9
imul ebx
add edx, ebx
sar edx, 0x16
add esi, edx
mov eax, edx
mov edx, dword [0x45ebd8]
shr eax, 0x1f
imul edx, edx, 0x74cc7d
add eax, esi
add eax, edx
mov dword [ebp - 0x818], eax
mov edi, dword [0x45ebe0]
mov eax, 0xef8db9b
imul edi
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x818]
sub edx, eax
mov dword [ebp - 0x818], edx
mov eax, 0xc4d1d103
imul dword [0x45ebd0]
add edx, dword [0x45ebd0]
mov eax, dword [ebp - 0x818]
sar edx, 0x16
add eax, edx
mov esi, edx
mov edx, edi
imul edx, edx, 0xe3db2
shr esi, 0x1f
add esi, eax
sub esi, edx
mov eax, 0x7a5789fb
imul dword [0x45ebd8]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x820], eax
mov eax, 0x7a5789fb
imul esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x818], eax
mov eax, 0xc83bcf21
imul ecx
mov eax, ecx
add edx, eax
mov eax, dword [ebp - 0x818]
sar edx, 0x16
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0x8c4682e9
imul dword [0x45ebd4]
add edx, dword [0x45ebd4]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add ecx, edx
add eax, ecx
mov dword [ebp - 0x818], eax
mov eax, 0x312cd50d
imul edi
mov dword [0x45ebc8], esi
sar edx, 0x14
mov eax, dword [ebp - 0x818]
add eax, edx
mov ecx, edx
shr ecx, 0x1f
add ecx, eax
mov eax, 0xef8db9b
imul dword [0x45ebd0]
sar edx, 0x13
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebc4]
imul edx, edx, 0x450d9b
sub ecx, eax
mov eax, dword [ebp - 0x820]
add ecx, edx
sub ecx, eax
mov eax, dword [0x5626ec]
inc eax
cmp eax, 5
mov dword [0x45ebcc], ecx
mov dword [0x5626ec], eax
jg 0x407f31
cmp dword [ebp + 0x10], 1
jne 0x407f31
mov esi, dword [0x45ebc4]
imul ebx, ebx, 0x88c9aa
mov eax, 0x7a5789fb
imul esi, esi, 0xff7a148d
imul dword [0x45ebe8]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0xc83bcf21
imul dword [0x45ebd0]
add edx, dword [0x45ebd0]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0x8c4682e9
imul dword [0x45ebd8]
add edx, dword [0x45ebd8]
sar edx, 0x16
add esi, edx
mov eax, edx
shr eax, 0x1f
add eax, esi
mov edx, eax
mov eax, dword [0x45ebe8]
imul eax, eax, 0x450d9b
add ebx, edi
imul edi, edi, 0x533e66
add ebx, edx
lea edx, [eax + ebx - 0x74cc7d]
mov dword [0x45ebd0], edx
mov eax, 0x7a5789fb
imul ecx
mov eax, dword [0x45ebdc]
mov ecx, dword [0x45ebd4]
imul eax, eax, 0xcdd745
sar edx, 0x16
mov esi, edx
shr esi, 0x1f
add esi, edx
add esi, eax
mov eax, 0x312cd50d
imul ecx
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
mov eax, 0xa16eca11
imul ecx
mov eax, dword [0x572ac8]
add edx, ecx
sar edx, 0x16
mov ecx, edx
sub esi, edi
mov edi, dword [ebp - 0x820]
shr ecx, 0x1f
add ecx, edx
add esi, edi
add ecx, esi
mov dword [0x45ebc4], ecx
mov edx, dword [eax]
push eax
mov dword [ebp - 4], 0
call dword [edx + 0x30]
mov ecx, dword [0x45ebcc]
mov edi, dword [0x45ebe0]
mov esi, dword [0x45ebc8]
mov edx, dword [0x45ebe8]
imul ecx, ecx, 0x781723
mov ebx, edx
mov eax, 0xc4d1d103
imul ebx, ebx, 0x74cc7d
imul edx
add edx, dword [0x45ebe8]
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
mov ebx, eax
mov eax, 0x886e3a8d
imul edi
add edx, edi
sar edx, 0x16
add ebx, edx
mov edi, edx
mov eax, 0x76a21d75
imul dword [0x45ebc4]
shr edi, 0x1f
sar edx, 0x15
add edi, ebx
sub edi, ecx
add edi, edx
mov ecx, edx
mov eax, 0xa16eca11
imul esi
add edx, esi
imul esi, esi, 0x657dbd
sar edx, 0x16
shr ecx, 0x1f
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, edi
sub ecx, eax
add ecx, esi
mov dword [0x45ebd8], ecx
mov eax, 1
jmp 0x408037
inc esi
jmp 0x407c00
mov ecx, dword [0x45ebc8]
mov esi, dword [0x45ebd0]
imul ecx, ecx, 0x450d9b
mov edx, dword [0x45ebd4]
mov edi, esi
sub edi, edx
mov edx, dword [0x45ebd8]
imul edi, edi, 0x51d30d
imul edx, edx, 0x965d2c
add edi, edx
mov eax, 0xc83bcf21
imul esi
add edx, esi
sar edx, 0x16
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x45ebcc]
imul edx, edx, 0x74cc7d
sub edi, eax
sub edi, edx
mov eax, 0x312cd50d
imul dword [0x45ebe8]
sar edx, 0x14
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
add eax, ecx
mov dword [0x45ebe0], eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00431cad
mov esp, ebp
pop ebp
ret