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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3e4
mov eax, dword [0x5092e4]
xor eax, esp
mov dword [esp + 0x3e0], eax
push ebx
push esi
push edi
push 0xff
xor esi, esi
lea eax, [esp + 0x1e5]
push esi
push eax
mov byte [esp + 0x1ec], 0
call fcn.00401f80
add esp, 0xc
mov edi, 0x103
push edi
lea eax, [esp + 0x2e5]
push esi
push eax
mov byte [esp + 0x2ec], 0
call fcn.00401f80
add esp, 0xc
push edi
lea eax, [esp + 0xdd]
push esi
push eax
mov byte [esp + 0xe4], 0
call fcn.00401f80
xor eax, eax
mov word [esp + 0x20], ax
lea edi, [esp + 0x22]
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, [esp + 0x5d]
push esi
push eax
mov byte [esp + 0x64], 0
call fcn.00401f80
add esp, 0xc
push 0x31
lea eax, [esp + 0x29]
push esi
push eax
mov byte [esp + 0x30], 0
call fcn.00401f80
add esp, 0xc
push esi
push esi
lea ecx, [esp + 0x1e8]
call fcn.004a3b5c
pop ecx
pop ecx
mov ebx, 0x604870
test eax, eax
je 0x47d372
cmp dword [ebp + 8], esi
jne 0x47d372
lea eax, [esp + 0x1e0]
push eax
push ebx
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
je 0x47d5ce
mov esi, str.StoreId.dat
push esi
lea edi, [esp + 0x2e4]
call fcn.00474710
pop ecx
push esi
xor esi, esi
push esi
push esi
call fcn.004623aa
pop ecx
pop ecx
push eax
lea eax, [esp + 0xe0]
push str._stemp_s
push eax
call fcn.00401954
lea eax, [esp + 0xe8]
call fcn.004a14db
push esi
lea edx, [esp + 0xec]
mov ecx, edi
call fcn.004a1e8c
add esp, 0x14
push 0x10
lea eax, [esp + 0x18]
push esi
push eax
mov byte [esp + 0x64], 0
call fcn.00401f80
add esp, 0xc
push 0x2a83
push str.Network.c
mov edx, 0x4cc77c
lea ecx, [esp + 0xe0]
call fcn.004a0001
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x47d443
push edi
push 0x80
lea esi, [esp + 0x60]
call fcn.0044d622
push 0
push 0xa
call fcn.00445550
push edi
push pe_nt_image_headers32
mov esi, ebx
call fcn.0044d622
push 0
push 0xa
call fcn.00445550
push edi
push 1
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.00402244
add esp, 0x30
mov ecx, edi
call fcn.004a2aec
xor esi, esi
mov dword [esp + 0x10], esi
cmp dword [ebp + 8], esi
je 0x47d46f
push 0x2a92
lea eax, [esp + 0x18]
push str.Network.c
push eax
call fcn.004205e9
add esp, 0xc
test eax, eax
je 0x47d46f
mov dword [esp + 0x10], 1
push 1
sub esp, 0x10
lea esi, [esp + 0x28]
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.0041e6a5
add esp, 0x14
test eax, eax
jne 0x47d4ae
push 0x2a96
lea eax, [esp + 0x18]
push str.Network.c
push eax
call fcn.004205e9
xor esi, esi
add esp, 0xc
inc esi
test eax, eax
je 0x47d4b1
mov dword [esp + 0x10], esi
jmp 0x47d4b1
xor esi, esi
inc esi
lea edx, [esp + 0x1e0]
call fcn.00445b2f
test eax, eax
jne 0x47d4e9
lea eax, [esp + 0x1e0]
push eax
push ebx
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
je 0x47d4e9
lea eax, [esp + 0x1e0]
push eax
push ebx
call fcn.00401ba0
pop ecx
pop ecx
mov dword [esp + 0x10], esi
push 0x32
lea ecx, [esp + 0x28]
call fcn.0047cfb3
pop ecx
mov edx, eax
call fcn.00445b2f
test eax, eax
jne 0x47d52d
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.004023a0
pop ecx
pop ecx
test eax, eax
je 0x47d52d
lea eax, [esp + 0x24]
push eax
mov ecx, 0x80
lea eax, [esp + 0x5c]
call fcn.00444961
pop ecx
mov dword [esp + 0x10], esi
cmp dword [esp + 0x10], 0
jne 0x47d53b
mov eax, esi
jmp 0x47d5d1
push 0x2aab
push str.Network.c
mov edx, 0x4cc8b8
lea ecx, [esp + 0xe0]
call fcn.004a0001
pop ecx
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
je 0x47d5d1
mov edi, 0x4ce78c
push edi
mov eax, 0x80
lea esi, [esp + 0x5c]
call fcn.00445aee
pop ecx
push dword [esp + 0x10]
mov eax, esi
push eax
call fcn.0044d744
push edi
mov eax, pe_nt_image_headers32
mov esi, ebx
call fcn.00445aee
add esp, 0xc
push dword [esp + 0x10]
push ebx
call fcn.0044d744
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push 1
push 0x10
push eax
call fcn.0040257f
mov ecx, dword [esp + 0x28]
call fcn.004a2aec
push 0
lea edx, [esp + 0x2fc]
lea ecx, [esp + 0xf4]
call fcn.004a1e8c
add esp, 0x1c
xor eax, eax
inc eax
mov ecx, dword [esp + 0x3ec]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret