Function at 0x402fc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x98
mov eax, dword [0x44b5cc]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
push esi
push edi
mov edx, dword [str.COM2]
mov eax, dword [str.COM1]
mov esi, ecx
movzx ecx, byte [0x43c194]
mov byte [esp + 0x18], cl
mov ecx, dword [str.COM3]
mov dword [esp + 0x1e], ecx
movzx ecx, byte [0x43c184]
mov dword [esp + 0x19], edx
movzx edx, byte [0x43c18c]
mov byte [esp + 0x27], cl
mov ecx, dword [str.COM6]
mov byte [esp + 0x22], dl
mov edx, dword [str.COM5]
mov dword [esp + 0x2d], ecx
movzx ecx, byte [0x43c16c]
mov dword [esp + 0x28], edx
movzx edx, byte [0x43c17c]
mov dword [esp + 0x14], eax
movzx eax, byte [0x43c19c]
mov byte [esp + 0x36], cl
mov ecx, dword [str.COM9]
mov byte [esp + 0x31], dl
mov edx, dword [str.COM8]
mov dword [esp + 0x3c], ecx
movzx ecx, byte [0x43c154]
mov byte [esp + 0x1d], al
mov eax, dword [str.COM4]
mov dword [esp + 0x37], edx
movzx edx, byte [0x43c164]
mov dword [esp + 0x23], eax
movzx eax, byte [0x43c174]
mov byte [esp + 0x48], cl
movzx ecx, word [0x43c14c]
mov byte [esp + 0x40], dl
mov edx, dword [str.19200]
mov byte [esp + 0x2c], al
mov eax, dword [str.COM7]
mov dword [esp + 0x4e], edx
mov edx, dword [str.38400]
mov word [esp + 0x52], cx
movzx ecx, word [0x43c144]
mov dword [esp + 0x32], eax
movzx eax, byte [0x43c15c]
mov dword [esp + 0x58], edx
mov edx, dword [str.57600]
mov word [esp + 0x5c], cx
movzx ecx, word [0x43c13c]
mov dword [esp + 0x62], edx
mov edx, dword [str.115200]
mov byte [esp + 0x3b], al
mov eax, dword [str.9600]
mov word [esp + 0x66], cx
movzx ecx, word [0x43c134]
mov dword [esp + 0x6c], edx
movzx edx, byte [0x43c136]
mov dword [esp + 0x44], eax
xor eax, eax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x49], eax
mov byte [esp + 0x4d], al
mov dword [esp + 0x54], eax
mov dword [esp + 0x5e], eax
mov dword [esp + 0x68], eax
mov word [esp + 0x70], cx
mov byte [esp + 0x72], dl
mov word [esp + 0x73], ax
mov byte [esp + 0x75], al
mov byte [esi + 0x97c], al
lea ebx, [eax + 8]
lea ebp, [esp + 0x3c]
lea ecx, [ecx]
mov eax, dword [esi + 0x9a4]
push ebp
push 0
push 0x14a
push eax
call edi
sub ebx, 1
sub ebp, 5
test ebx, ebx
jge 0x403140
mov ecx, dword [esi + 0x9a4]
push 0
push 0
push 0x14e
push ecx
call edi
mov ebp, 4
lea ebx, [esp + 0x6c]
mov edx, dword [esi + 0xaf8]
push ebx
push 0
push 0x14a
push edx
call edi
sub ebp, 1
sub ebx, 0xa
test ebp, ebp
jge 0x403176
mov eax, dword [esi + 0xaf8]
push 0
push 4
push 0x14e
push eax
call edi
push 0
lea ecx, [esi + 0xb2c]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xb80]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xbd4]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xc28]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xc7c]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xdd0]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xe24]
call fcn.0040f7e6
mov edi, 1
push edi
lea ecx, [esi + 0xd7c]
call fcn.0040f7e6
push 5
push str.0x4D8
lea ecx, [esi + 0xfdc]
mov byte [esi + 0x97e], 0
call fcn.00402d80
push 5
push str.0x03C
lea ecx, [esi + 0xfe0]
call fcn.00402d80
push edi
lea ecx, [esi + 0xad8]
mov dword [esi + 0xe84], edi
mov dword [esi + 0x980], edi
call fcn.0040f7e6
push edi
lea ecx, [esi + 0x984]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xf34]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0xf88]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0x1044]
call fcn.0040f7e6
push 0
lea ecx, [esi + 0x1098]
call fcn.0040f7e6
push str.Bootloader.ini
push 0x40
lea ecx, [esp + 0x80]
push ecx
push str.192.168.0.222
push 0x43c0fc
push 0x43c0f8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x78]
push edx
call sub.WS2_32.dll_inet_addr
mov dword [esp + 0x10], eax
xor edx, edx
mov dh, byte [esp + 0x12]
mov ecx, eax
shl ecx, 0x10
mov dword [esi + 0x103c], eax
and eax, 0xff00
or ecx, eax
shl ecx, 8
or ecx, edx
movzx eax, byte [esi + 0x103f]
or ecx, eax
mov dword [esi + 0x103c], ecx
push 0
mov ecx, esi
mov dword [esi + 0x1040], 0x185a
call fcn.0040c328
mov ecx, esi
call fcn.00401f50
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00422bdb
add esp, 0x98
ret