Function at 0x41d60f
Capabilities:
Manipulate boot configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 8
call fcn.0046cb81
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov esi, 0x556897
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 1
mov eax, 0xb25dc1
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0xb25de8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0xb153b7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041cf10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41d67f
push ebx
call fcn.0046cb7b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d68f
push ebx
call fcn.0046cb7b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41d69f
push ebx
call fcn.0046cb7b
add esp, 4
push 0xb25ebb
push dword [ebp - 0x1c]
push 0xb25ebf
push dword [0x1167fc8]
mov ecx, 4
call fcn.00401077
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d6d2
push ebx
call fcn.0046cb7b
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.004033c2
mov ebx, eax
test ebx, ebx
je 0x41d6f6
push ebx
call fcn.0046cb7b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41d706
push ebx
call fcn.0046cb7b
add esp, 4
push 1
mov eax, 0xb25ed5
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, 0xb25efc
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, 0xb153b7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041cf10
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41d744
push ebx
call fcn.0046cb7b
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d754
push ebx
call fcn.0046cb7b
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41d764
push ebx
call fcn.0046cb7b
add esp, 4
push 0xb25ebb
push dword [ebp - 0x1c]
push 0xb25ebf
push dword [0x1167fc8]
mov ecx, 4
call fcn.00401077
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d797
push ebx
call fcn.0046cb7b
add esp, 4
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
push eax
call fcn.004033c2
mov ebx, eax
test ebx, ebx
je 0x41d7bb
push ebx
call fcn.0046cb7b
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41d7cb
push ebx
call fcn.0046cb7b
add esp, 4
push 0x80000301
push 0
push 1
push 1
mov eax, 7
mov ebx, 0x5077e0
call fcn.0046cbab
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41d813
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41d80f
imul eax, dword [ebx]
jmp 0x41d804
mov ecx, eax
test ecx, ecx
je 0x41d832
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41d82b
push ebx
push eax
call fcn.0046cb7b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41d819
call fcn.0046cb7b
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
call fcn.00409779
xor ecx, ecx
push eax
lea eax, [ebp - 8]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x41db02
mov ebx, dword [ebp - 4]
call fcn.00409792
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41d884
push 0x228
push 0x4023b77
push 4
call fcn.0046cb87
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41d8a1
push 0x228
push 0x4023b77
push 1
call fcn.0046cb87
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
push 0xb25f02
mov ebx, dword [ebp - 0x10]
push dword [ebx]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040bc41
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d8df
push ebx
call fcn.0046cb7b
add esp, 4
cmp dword [ebp - 0x18], 0
je 0x41dafa
mov ebx, dword [ebp - 4]
call fcn.00409792
push ebx
push ecx
mov eax, dword [ebp - 8]
dec eax
jns 0x41d910
push 0x257
push 0x4023b77
push 4
call fcn.0046cb87
add esp, 0xc
pop ecx
pop ebx
cmp eax, ecx
jl 0x41d92d
push 0x257
push 0x4023b77
push 1
call fcn.0046cb87
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x41d953
push eax
mov ebx, eax
call fcn.0040100c
inc eax
push eax
call fcn.0046cb81
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41d964
push ebx
call fcn.0046cb7b
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x556879
push dword [ebp - 0xc]
call fcn.004056d1
add esp, 8
cmp eax, 0
je 0x41dafa
push 0xb25f09
push dword [ebp - 0xc]
push 0xb25f11
mov ecx, 3
call fcn.00401077
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41d9c9
mov eax, 0x556879
push eax
push 3
mov ebx, 0x46d090
call fcn.0046cb93
add esp, 0x28
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41d9ec
push ebx
call fcn.0046cb7b
add esp, 4
push 0xb25f2b
push dword [ebp - 0xc]
push 0xb25f31
mov ecx, 3
call fcn.00401077
add esp, 0xc
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push 1
push reloc.OLEAUT32.dll_SysReAllocString
push 0
push 1
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41da34
mov eax, 0x556879
push eax
push 3
mov ebx, 0x46d090
call fcn.0046cb93
add esp, 0x28
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41da57
push ebx
call fcn.0046cb7b
add esp, 4
push 0
mov ebx, 0x4711b0
call fcn.0046cb93
add esp, 4
push 0xb25f2b
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.0041db5e
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41da9a
push ebx
call fcn.0046cb7b
add esp, 4
push 0xb25f02
push dword [ebp - 0xc]
mov ecx, 2
call fcn.00401077
add esp, 8
mov dword [ebp - 0x10], eax
push getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41dac5
mov eax, 0x556879
push eax
push 1
mov ebx, 0x46f930
call fcn.0046cb93
add esp, 0x10
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x41dae8
push ebx
call fcn.0046cb7b
add esp, 4
push 0
mov ebx, 0x4711b0
call fcn.0046cb93
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x41d84f
add esp, 0xc
mov ebx, dword [ebp - 4]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x41db23
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x41db1f
imul eax, dword [ebx]
jmp 0x41db14
mov ecx, eax
test ecx, ecx
je 0x41db42
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x41db3b
push ebx
push eax
call fcn.0046cb7b
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x41db29
call fcn.0046cb7b
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x41db5a
push ebx
call fcn.0046cb7b
add esp, 4
mov esp, ebp
pop ebp
ret