Function at 0x461f1a
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0xff
lea eax, [ebp - 0x2bf]
push ebx
push eax
mov byte [ebp - 0x2c0], bl
call fcn.00401f80
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp - 0x3c7]
push ebx
push eax
mov byte [ebp - 0x3c8], bl
call fcn.00401f80
add esp, 0xc
push esi
lea eax, [ebp - 0x1bf]
push ebx
push eax
mov byte [ebp - 0x1c0], bl
call fcn.00401f80
xor eax, eax
mov word [ebp - 0x3d8], ax
lea edi, [ebp - 0x3d6]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 0x7f
stosw word es:[edi], ax
lea eax, [ebp - 0xb7]
push ebx
push eax
mov byte [ebp - 0xb8], bl
call fcn.00401f80
add esp, 0xc
push 0x31
lea eax, [ebp - 0x37]
push ebx
push eax
mov byte [ebp - 0x38], bl
call fcn.00401f80
add esp, 0xc
push ebx
push ebx
lea ecx, [ebp - 0x2c0]
call fcn.0047683a
mov esi, str.StoreId.dat
push esi
lea edi, [ebp - 0x3c8]
call fcn.0045aaee
add esp, 0xc
push esi
push ebx
push ebx
call fcn.0044bf6e
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x1c0]
push str._stemp_s
push eax
call fcn.00401954
lea eax, [ebp - 0x1c0]
call fcn.00474fee
lea edx, [ebp - 0x1c0]
mov ecx, edi
call fcn.0047575e
push 0x10
lea eax, [ebp - 0x3d8]
push ebx
push eax
mov byte [ebp - 0xb8], bl
call fcn.00401f80
add esp, 0x1c
push 0x2a83
push str.Network.c
mov edx, 0x48d1ec
lea ecx, [ebp - 0x1c0]
call fcn.00473c34
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x462099
push edi
push 0x80
lea esi, [ebp - 0xb8]
call fcn.0043a16a
push ebx
push 0xa
call fcn.00436681
push edi
push 0x100
mov esi, 0x5a9750
call fcn.0043a16a
push ebx
push 0xa
call fcn.00436681
push edi
push 1
lea eax, [ebp - 0x3d8]
push 0x10
push eax
call fcn.00402244
add esp, 0x30
mov ecx, edi
call fcn.00475e84
push 0x2a92
lea eax, [ebp - 0x3d8]
push str.Network.c
push eax
mov dword [ebp - 0x3dc], ebx
call fcn.0041bb4c
add esp, 0xc
test eax, eax
je 0x4620c6
mov dword [ebp - 0x3dc], 1
push 1
sub esp, 0x10
lea esi, [ebp - 0x3d8]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041a168
add esp, 0x14
test eax, eax
jne 0x46210b
push 0x2a96
lea eax, [ebp - 0x3d8]
push str.Network.c
push eax
call fcn.0041bb4c
xor esi, esi
add esp, 0xc
inc esi
test eax, eax
je 0x46210e
mov dword [ebp - 0x3dc], esi
jmp 0x46210e
xor esi, esi
inc esi
lea edx, [ebp - 0x2c0]
call fcn.00436c5d
mov edi, 0x5a9750
test eax, eax
jne 0x46214a
lea eax, [ebp - 0x2c0]
push eax
push edi
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
je 0x46214a
lea eax, [ebp - 0x2c0]
push eax
push edi
call fcn.00401ba0
pop ecx
pop ecx
mov dword [ebp - 0x3dc], esi
push 0x32
lea ecx, [ebp - 0x38]
call fcn.00461c41
pop ecx
mov edx, eax
call fcn.00436c5d
test eax, eax
jne 0x462191
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
je 0x462191
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x80
lea eax, [ebp - 0xb8]
call fcn.00435b27
pop ecx
mov dword [ebp - 0x3dc], esi
cmp dword [ebp - 0x3dc], ebx
jne 0x4621a0
mov eax, esi
jmp 0x462243
push 0x2aab
push str.Network.c
mov edx, 0x48d22c
lea ecx, [ebp - 0x1c0]
call fcn.00473c34
pop ecx
pop ecx
mov dword [ebp - 0x3dc], eax
cmp eax, ebx
jne 0x4621ca
xor eax, eax
jmp 0x462243
mov ebx, 0x48e85c
push ebx
mov eax, 0x80
lea esi, [ebp - 0xb8]
call fcn.00436c1c
pop ecx
push dword [ebp - 0x3dc]
mov eax, esi
push eax
call fcn.0043a331
push ebx
mov eax, 0x100
mov esi, edi
call fcn.00436c1c
add esp, 0xc
push dword [ebp - 0x3dc]
push edi
call fcn.0043a331
push dword [ebp - 0x3dc]
lea eax, [ebp - 0x3d8]
push 1
push 0x10
push eax
call fcn.0040257f
mov ecx, dword [ebp - 0x3dc]
add esp, 0x18
call fcn.00475e84
lea edx, [ebp - 0x3c8]
lea ecx, [ebp - 0x1c0]
call fcn.0047575e
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret