Function at 0x410bb0
Capabilities:
Get common file path
Read file on windows

Disassembly:
sub esp, 8
push 0x44d898
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x44d898
call fcn.004114a0
mov dl, byte [eax + 0x44d897]
mov cl, 0x5c
add esp, 4
cmp dl, cl
je 0x410be9
mov byte [eax + 0x44d898], cl
mov byte [eax + 0x44d899], 0
push ebx
push esi
push edi
mov edi, str.gsnetdog.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edx, ecx
mov edi, 0x44d898
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x80
mov ecx, edx
push 3
mov ebx, 1
push eax
and ecx, 3
push ebx
push SysReAllocStringLen
rep movsb byte es:[edi], byte [esi]
push 0x44d898
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x410c51
pop edi
pop esi
mov byte [0x44d959], 0
pop ebx
add esp, 8
ret
push ebp
push 0x3b
push 0
push 0x44d918
mov byte [0x44d959], bl
call fcn.00410b10
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push eax
push 0x400
push 0x44d440
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x10]
push 0x44d86c
push ecx
push 0x44d440
mov dword [0x44d41c], 0
call fcn.00411540
add esp, 0xc
test al, al
je 0x4113fa
push 0x44d86c
call fcn.00411510
push 0x44d86c
mov esi, eax
call fcn.004114a0
add esp, 8
cmp esi, eax
jae case.default.0x410d88
push 0x44d86c
mov edi, esi
call fcn.004114a0
add esp, 4
cmp esi, eax
jae 0x410d11
mov ebp, 0x44d408
sub ebp, esi
mov al, byte [edi + 0x44d86c]
cmp al, 0x5d
mov byte [edi + ebp], al
je 0x410d06
push 0x44d86c
inc edi
call fcn.004114a0
add esp, 4
cmp edi, eax
jb 0x410ce5
jmp 0x410d11
mov edx, 0x44d409
sub edx, esi
mov byte [edx + edi], 0
push str._ND_COMMON_
push 0x44d408
call fcn.00411460
add esp, 8
test eax, eax
je 0x410d2b
mov eax, ebx
jmp 0x410d7e
push str._ND_IPX_
push 0x44d408
call fcn.00411460
add esp, 8
test eax, eax
je 0x410d48
mov eax, 2
jmp 0x410d7e
push str._ND_TCPIP_
push 0x44d408
call fcn.00411460
add esp, 8
test eax, eax
je 0x410d65
mov eax, 3
jmp 0x410d7e
push str._ND_NETBIOS_
push 0x44d408
call fcn.00411460
add esp, 8
neg eax
sbb eax, eax
and eax, 4
dec eax
cmp eax, 3
ja case.default.0x410d88
jmp dword [eax*4 + 0x411410]
mov ebp, 4
mov edi, 2
mov eax, dword [esp + 0x10]
push 0x44d86c
push eax
push 0x44d440
call fcn.00411540
add esp, 0xc
test al, al
je 0x4113fa
push 0x44d86c
call fcn.00411510
push 0x44d86c
mov esi, eax
call fcn.004114a0
add esp, 8
cmp esi, eax
jbe 0x410ccb
push str.ND_IPX
push 0x44d408
call fcn.00410790
push 0x44d86c
call fcn.004114a0
push 0x44d408
mov esi, eax
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x20
cmp al, bl
jne 0x410e56
push str.Enabled
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x410d99
or dword [0x44d94f], ebx
jmp 0x410d99
push str.ND_TCPIP
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x410ec7
push str.Enabled
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x410d99
or dword [0x44d94f], edi
jmp 0x410d99
push str.ND_NETBIOS
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x410d99
push str.Enabled
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x410d99
or dword [0x44d94f], ebp
jmp 0x410d99
test byte [0x44d94f], bl
je case.default.0x410d88
mov ecx, dword [esp + 0x10]
push 0x44d86c
push ecx
push 0x44d440
call fcn.00411540
add esp, 0xc
test al, al
je 0x4113fa
push 0x44d86c
call fcn.00411510
push 0x44d86c
mov esi, eax
call fcn.004114a0
add esp, 8
cmp esi, eax
jbe 0x410ccb
push str.ND_USE_BINDERY
push 0x44d408
call fcn.00410790
push 0x44d86c
call fcn.004114a0
push 0x44d408
mov esi, eax
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x20
cmp al, bl
jne 0x411002
push str.Enabled
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
sete dl
mov byte [0x44d918], dl
jmp 0x410f48
push str.ND_USE_BROADCAST
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x410f48
push str.Enabled
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
sete al
mov byte [0x44d919], al
jmp 0x410f48
test byte [0x44d94f], 2
je case.default.0x410d88
mov ecx, dword [esp + 0x10]
push 0x44d86c
push ecx
push 0x44d440
call fcn.00411540
add esp, 0xc
test al, al
je 0x4113fa
push 0x44d86c
call fcn.00411510
push 0x44d86c
mov esi, eax
call fcn.004114a0
add esp, 8
cmp esi, eax
jbe 0x410ccb
push str.ND_TCP_METHOD
push 0x44d408
call fcn.00410790
push 0x44d86c
call fcn.004114a0
push 0x44d408
mov esi, eax
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x20
cmp al, bl
jne 0x411158
mov edi, 0xd
cmp esi, edi
jbe 0x411114
cmp byte [edi + 0x44d86c], 0x3d
je 0x411114
inc edi
cmp edi, esi
jb 0x411106
push 0x44aef8
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
sub esi, edi
push 0x44d408
lea edx, [edi + 0x44d86d]
push esi
push edx
call fcn.004114c0
add esp, 0x1c
dec al
neg al
sbb eax, eax
neg eax
inc eax
mov dword [0x44d926], eax
jmp 0x411080
push str.ND_USE_BROADCAST
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x4111c5
push str.Enabled
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
sete al
mov byte [0x44d92a], al
jmp 0x411080
push str.ND_SERVER_ADDR
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push esi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x411080
mov eax, 0xe
cmp esi, eax
jbe 0x411211
cmp byte [eax + 0x44d86c], 0x3d
je 0x411211
inc eax
cmp eax, esi
jb 0x411203
inc eax
cmp eax, esi
jae 0x41122d
mov cl, byte [eax + 0x44d86c]
cmp cl, 0x20
je 0x411226
cmp cl, 9
jne 0x41122b
inc eax
cmp eax, esi
jb 0x411216
cmp eax, esi
ja 0x411080
mov edx, 0x44d92b
sub edx, eax
mov cl, byte [eax + 0x44d86c]
test cl, cl
mov byte [edx + eax], cl
je 0x411080
inc eax
cmp eax, esi
jbe 0x41123a
jmp 0x411080
test byte [0x44d94f], 4
je case.default.0x410d88
mov ecx, dword [esp + 0x10]
push 0x44d86c
push ecx
push 0x44d440
call fcn.00411540
add esp, 0xc
test al, al
je 0x4113fa
push 0x44d86c
call fcn.00411510
push 0x44d86c
mov esi, eax
call fcn.004114a0
add esp, 8
cmp esi, eax
jbe 0x410ccb
push str.ND_LANANUM
push 0x44d408
call fcn.00410790
push 0x44d86c
call fcn.004114a0
push 0x44d408
mov edi, eax
call fcn.004114a0
push eax
push 0x44d408
push edi
push 0x44d86c
call fcn.004114c0
add esp, 0x20
cmp al, bl
jne 0x41135a
mov eax, 0xa
cmp edi, eax
jbe 0x4112f6
cmp byte [eax + 0x44d86c], 0x3d
je 0x4112f6
inc eax
cmp eax, edi
jb 0x4112e8
inc eax
cmp eax, edi
jae 0x411310
mov cl, byte [eax + 0x44d86c]
cmp cl, 0x20
je 0x41130b
cmp cl, 9
jne 0x411310
inc eax
cmp eax, edi
jb 0x4112fb
cmp eax, edi
mov ecx, eax
jae 0x411338
sub edi, eax
lea esi, [eax + 0x44d86c]
mov edx, edi
mov edi, 0x44d408
mov ecx, edx
mov ebp, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [edx + eax]
mov edx, 0x44d408
push 0x44d408
sub edx, eax
mov byte [edx + ecx], 0
call fcn.004115f0
add esp, 4
mov dword [0x44d93b], eax
jmp 0x411262
push str.ND_NBNAME
push 0x44d408
call fcn.00410790
push 0x44d408
call fcn.004114a0
push eax
push 0x44d408
push edi
push 0x44d86c
call fcn.004114c0
add esp, 0x1c
cmp al, bl
jne 0x411262
mov eax, 9
cmp edi, eax
jbe 0x4113a6
cmp byte [eax + 0x44d86c], 0x3d
je 0x4113a6
inc eax
cmp eax, edi
jb 0x411398
inc eax
cmp eax, edi
jae 0x4113c0
mov cl, byte [eax + 0x44d86c]
cmp cl, 0x20
je 0x4113bb
cmp cl, 9
jne 0x4113c0
inc eax
cmp eax, edi
jb 0x4113ab
lea eax, [eax + 0x44d86c]
push 0xf
push eax
push 0x44d93f
call fcn.00411420
add esp, 0xc
jmp 0x411262
mov ecx, dword [esp + 0x10]
push 0x44d86c
push ecx
push 0x44d440
call fcn.00411540
add esp, 0xc
test al, al
jne 0x410caa
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret