Function at 0x402be0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c64ab
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4fa078]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x12c], esi
cmp dword [0x4fab80], 0
jne 0x40349e
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004a4a80
xor ebx, ebx
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 0x124], edi
movq qword [ebp - 0x11c], xmm0
add esp, 0xc
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x114], ebx
lea ecx, [ebp - 0x154]
mov dword [ebp - 4], edi
call fcn.004029b0
cmp dword [eax + 0x14], 8
jb 0x402c94
mov eax, dword [eax]
push eax
push 0x7f
lea eax, [ebp - 0x110]
push eax
push 0x4e0870
push 0x4e0888
push 0x4e0890
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 0x140]
cmp eax, 0x20
sete al
mov byte [ebp - 0x11d], al
cmp edx, 8
jb 0x402d05
mov ecx, dword [ebp - 0x154]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402cf5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4034c8
push edx
push ecx
call fcn.0044bea4
mov al, byte [ebp - 0x11d]
add esp, 8
test al, al
je 0x402da7
lea ecx, [ebp - 0x110]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402d16
sub ecx, edx
lea eax, [ebp - 0x110]
sar ecx, 1
push ecx
push eax
mov ecx, 0x4fab70
call fcn.004037e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x40349e
mov edx, dword [ebp - 0x118]
push ecx
call fcn.00403ba0
mov ecx, dword [ebp - 0x114]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x403470
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4034cd
jmp 0x403470
lea eax, [ebp - 0x11c]
mov edx, str.SerialNumber
push eax
mov ecx, str.Win32_PhysicalMemory
xor esi, esi
call fcn.00401ab0
mov eax, dword [ebp - 0x11c]
add esp, 4
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x402ed1
mov eax, dword [ebp - 0x11c]
cmp dword [eax + 0x14], 8
jb 0x402e01
mov eax, dword [eax]
mov dword [ebp - 0x128], eax
xor esi, esi
mov byte [ebp - 0x11d], 1
xor edx, edx
nop dword [eax]
movzx ecx, word [eax + edx*2]
shl esi, 4
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x402e25
add esi, 0xffffffd0
jmp 0x402e3f
lea eax, [ecx - 0x61]
cmp ax, 5
ja 0x402e33
add esi, 0xffffffa9
jmp 0x402e3f
lea eax, [ecx - 0x41]
cmp ax, 5
ja 0x402e57
add esi, 0xffffffc9
mov eax, ecx
inc edx
add esi, eax
mov eax, dword [ebp - 0x128]
cmp edx, 8
jl 0x402e10
mov al, byte [ebp - 0x11d]
jmp 0x402e59
xor al, al
test al, al
jne 0x402ed1
push ecx
lea eax, [ebp - 0x110]
push eax
call fcn.00401560
add esp, 8
mov byte [ebp - 0x11d], 1
xor esi, esi
xor edx, edx
nop dword [eax + eax]
movzx ecx, word [ebp + edx*2 - 0x110]
shl esi, 4
lea eax, [ecx - 0x30]
cmp ax, 9
ja 0x402e99
add esi, 0xffffffd0
jmp 0x402eb3
lea eax, [ecx - 0x61]
cmp ax, 5
ja 0x402ea7
add esi, 0xffffffa9
jmp 0x402eb3
lea eax, [ecx - 0x41]
cmp ax, 5
ja 0x402ec5
add esi, 0xffffffc9
mov eax, ecx
inc edx
add esi, eax
cmp edx, 8
jl 0x402e80
mov al, byte [ebp - 0x11d]
jmp 0x402ec7
xor al, al
test al, al
mov ecx, 0x12345678
cmove esi, ecx
push esi
push str._08X
lea eax, [ebp - 0x110]
push 0x7f
push eax
call fcn.004013a0
mov edx, dword [ebp - 0x118]
add esp, 0xc
mov ecx, dword [ebp - 0x11c]
call fcn.00403ba0
mov eax, dword [ebp - 0x11c]
mov edx, str.NextHop
mov dword [ebp - 0x118], eax
mov ecx, str.Win32_IP4RouteTable
lea eax, [ebp - 0x11c]
push eax
call fcn.00401ab0
mov ecx, dword [ebp - 0x118]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11c]
add esp, 8
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x12c], eax
je 0x40305d
mov ebx, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x128], eax
cmp eax, ebx
jae 0x402f9b
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x402f65
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x124]
call fcn.00402b40
mov edi, dword [ebp - 0x124]
xor ecx, ecx
add esp, 4
test al, al
mov eax, dword [ebp - 0x128]
cmove edi, ecx
inc eax
add esi, 0x18
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x128], eax
test edi, edi
je 0x402f57
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x124], edi
call fcn.004034e0
mov ebx, dword [ebp - 0x130]
test edi, edi
je 0x40305d
lea eax, [ebp - 0x11c]
mov edx, str.IPSubnet
push eax
mov ecx, str.Win32_NetworkAdapterConfiguration
call fcn.00401ab0
mov ecx, dword [ebp - 0x118]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x12c], eax
je 0x40305d
mov edi, dword [ebp - 0x12c]
xor eax, eax
mov dword [ebp - 0x128], eax
cmp eax, edi
jae 0x40304c
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x403016
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x130]
call fcn.00402b40
mov ebx, dword [ebp - 0x130]
xor ecx, ecx
add esp, 4
test al, al
mov eax, dword [ebp - 0x128]
cmove ebx, ecx
inc eax
add esi, 0x18
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x128], eax
test ebx, ebx
je 0x403008
lea ecx, [ebp - 0x11c]
call fcn.004034e0
mov edi, dword [ebp - 0x124]
lea eax, [ebp - 0x11c]
mov edx, str.IPAddress
push eax
mov ecx, str.Win32_NetworkAdapterConfiguration
call fcn.00401ab0
mov ecx, dword [ebp - 0x118]
xor eax, eax
mov esi, dword [ebp - 0x11c]
add esp, 4
sub ecx, esi
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x128], ecx
je 0x403149
test edi, edi
je 0x403116
xor eax, eax
test ebx, ebx
je 0x403118
and edi, ebx
mov dword [ebp - 0x124], eax
test ecx, ecx
je 0x403116
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4030cf
mov ecx, dword [esi]
push ecx
lea edx, [ebp - 0x134]
call fcn.00402b40
add esp, 4
test al, al
je 0x4030f8
mov eax, dword [ebp - 0x134]
and eax, ebx
mov dword [ebp - 0x134], eax
cmp eax, edi
je 0x4031e5
mov eax, dword [ebp - 0x124]
add esi, 0x18
inc eax
mov dword [ebp - 0x124], eax
cmp eax, dword [ebp - 0x128]
jb 0x4030c5
mov esi, dword [ebp - 0x11c]
xor eax, eax
lea eax, [eax + eax*2]
cmp dword [esi + eax*8 + 0x14], 8
lea ecx, [esi + eax*8]
jb 0x403127
mov ecx, dword [ecx]
push ecx
lea edx, [ebp - 0x134]
call fcn.00402b40
mov ecx, dword [ebp - 0x134]
xor edx, edx
add esp, 4
test al, al
cmove ecx, edx
mov dword [ebp - 0x12c], ecx
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x124], 0
push eax
mov edx, str.MACAddress
mov ecx, str.Win32_NetworkAdapterConfiguration
xor ebx, ebx
call fcn.00401ab0
mov ecx, dword [ebp - 0x118]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11c]
add esp, 4
sub ecx, esi
xor edi, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4032e0
cmp dword [ebp - 0x138], eax
sbb eax, eax
and eax, dword [ebp - 0x138]
xor ecx, ecx
mov dword [ebp - 0x138], ecx
lea eax, [eax + eax*2]
lea edx, [esi + eax*8]
mov dword [ebp - 0x128], edx
cmp dword [edx + 0x14], 8
mov eax, edx
jb 0x4031c1
mov eax, dword [edx]
lea edi, [eax + ecx]
xor ecx, ecx
xor esi, esi
nop dword [eax + eax]
movzx edx, word [edi + esi*2]
shl ecx, 4
lea eax, [edx - 0x30]
cmp ax, 9
ja 0x4031fc
add ecx, 0xffffffd0
jmp 0x403216
mov eax, dword [ebp - 0x124]
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x138], eax
jmp 0x403118
lea eax, [edx - 0x61]
cmp ax, 5
ja 0x40320a
add ecx, 0xffffffa9
jmp 0x403216
lea eax, [edx - 0x41]
cmp ax, 5
ja 0x40324a
add ecx, 0xffffffc9
mov eax, edx
inc esi
add ecx, eax
cmp esi, 2
jl 0x4031d0
shl ebx, 8
add ebx, ecx
mov ecx, dword [ebp - 0x138]
add ecx, 6
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x138], ecx
cmp ecx, 0x18
jge 0x403254
mov edx, dword [ebp - 0x128]
jmp 0x4031b7
mov dword [ebp - 0x130], 0
mov ebx, 0x18
nop dword [eax]
mov ecx, dword [ebp - 0x128]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x403270
mov eax, dword [ecx]
lea edi, [eax + ebx]
xor eax, eax
xor esi, esi
nop word [eax + eax]
movzx edx, word [edi + esi*2]
shl eax, 4
lea ecx, [edx - 0x30]
cmp cx, 9
ja 0x403295
add eax, 0xffffffd0
jmp 0x4032af
lea ecx, [edx - 0x61]
cmp cx, 5
ja 0x4032a3
add eax, 0xffffffa9
jmp 0x4032af
lea ecx, [edx - 0x41]
cmp cx, 5
ja 0x4032dc
add eax, 0xffffffc9
mov ecx, edx
inc esi
add eax, ecx
cmp esi, 2
jl 0x403280
mov ecx, dword [ebp - 0x124]
add ebx, 6
shl ecx, 8
add ecx, eax
mov dword [ebp - 0x124], ecx
mov edi, ecx
cmp ebx, 0x24
jl 0x403260
mov ebx, dword [ebp - 0x130]
jmp 0x4032e0
xor ebx, ebx
xor edi, edi
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
mov esi, eax
mov ebx, 0x7f
mov eax, ebx
sub eax, esi
push str._08X
push eax
lea eax, [ebp - 0x110]
lea eax, [eax + esi*2]
push eax
call fcn.00401370
movzx eax, di
push eax
mov eax, 0x77
sub eax, esi
push str._04X
push eax
lea eax, [ebp - 0x100]
lea eax, [eax + esi*2]
push eax
call fcn.00401370
push dword [ebp - 0x12c]
mov eax, 0x73
sub eax, esi
push str._08X
push eax
lea eax, [ebp - 0xf8]
lea eax, [eax + esi*2]
push eax
call fcn.00401370
add esi, 0x14
add esp, 0x30
mov eax, esi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
lea edi, [eax - 1]
test edi, edi
jle 0x403395
nop word [eax + eax]
movzx ecx, word [ebp + edx*4 - 0x10e]
mov ax, word [ebp + edx*4 - 0x10c]
mov word [ebp + edx*4 - 0x10e], ax
mov word [ebp + edx*4 - 0x10c], cx
inc edx
cmp edx, edi
jl 0x403370
xor ecx, ecx
mov dword [ebp - 0x12c], 0
mov dx, word [ebp - 0x12c]
test esi, esi
jle 0x4033c3
nop dword [eax]
mov ax, word [ebp + ecx*2 - 0x110]
add ax, cx
inc ecx
add dx, ax
cmp ecx, esi
jl 0x4033b0
movzx eax, dx
sub ebx, esi
push eax
push str._04X
lea eax, [ebp - 0x110]
lea eax, [eax + esi*2]
push ebx
push eax
call fcn.00401370
lea ecx, [ebp - 0x110]
add esp, 0x10
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4033f0
sub ecx, edx
lea eax, [ebp - 0x110]
sar ecx, 1
push ecx
push eax
mov ecx, 0x4fab70
call fcn.004037e0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x11c]
test ecx, ecx
je 0x403498
mov edx, dword [ebp - 0x118]
push ecx
call fcn.00403ba0
mov ecx, dword [ebp - 0x114]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11c]
add esp, 4
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x403470
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4034d2
push ecx
push esi
call fcn.0044bea4
mov dword [ebp - 0x114], 0
add esp, 8
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 0
mov esi, dword [ebp - 0x13c]
push 0x4fab70
mov ecx, esi
call fcn.00403630
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b735
mov esp, ebp
pop ebp
ret
call fcn.004ab9cc
call fcn.004ab9cc
call fcn.004ab9cc
int3