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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x16c
mov eax, dword [0x5092e4]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
push 0x103
xor ebx, ebx
lea eax, [esp + 0x6d]
push ebx
push eax
mov byte [esp + 0x74], 0
call fcn.00401f80
xor eax, eax
mov byte [esp + 0x60], bl
lea edi, [esp + 0x61]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov word [esp + 0x40], ax
lea edi, [esp + 0x42]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [esp + 0x50], ax
lea edi, [esp + 0x52]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
stosw word es:[edi], ax
cmp dword [ebp + 8], ebx
je 0x47803f
cmp dword [0x603b4c], ebx
je 0x47803f
xor eax, eax
inc eax
mov ecx, dword [esp + 0x174]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
cmp dword [0x603b50], ebx
je 0x47806d
call fcn.0041df75
mov esi, eax
jmp 0x478065
call fcn.0041df75
sub eax, esi
cmp eax, 0x2710
jae 0x47806d
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x603b50], ebx
jne 0x478050
push str.GatMem.sat
xor esi, esi
push ebx
inc esi
push ebx
mov dword [0x603b50], esi
call fcn.004623aa
pop ecx
pop ecx
push eax
lea eax, [esp + 0x70]
push 0x4cda20
push eax
call fcn.00401954
add esp, 0x10
lea edi, [esp + 0x68]
call fcn.004a142a
test eax, eax
jne 0x4780b1
mov dword [0x603b50], ebx
xor eax, eax
jmp 0x47802a
push 0x1365
push str.Network.c
mov edx, 0x4cc77c
lea ecx, [esp + 0x70]
mov dword [esp + 0x2c], esi
call fcn.004a0001
mov edi, eax
pop ecx
pop ecx
mov dword [esp + 0x20], edi
cmp edi, ebx
je 0x4780a4
push edi
push esi
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.00402244
add esp, 0x10
cmp eax, esi
jae 0x4780f7
mov ecx, edi
call fcn.004a2aec
jmp 0x4780a4
push 0xa
pop eax
cmp dword [esp + 0x14], eax
jle 0x478104
mov dword [esp + 0x14], eax
cmp dword [esp + 0x14], ebx
jle 0x4780ee
push edi
call fcn.00401e7e
pop ecx
cmp eax, 0xffffffff
je 0x478147
mov edi, str.Thank_you_Jesus_for_your_help.__I_adore_you_desperately.__I_love_you_so_much__violently.__I_depsperately_want_you_more_than_anything_
mov ebx, edi
movsx ecx, byte [ebx + esi - 1]
cmp eax, ecx
jne 0x478141
push edi
call fcn.00401a80
pop ecx
cmp esi, eax
jge 0x47818f
push dword [esp + 0x20]
inc esi
call fcn.00401e7e
pop ecx
cmp eax, 0xffffffff
jne 0x47811d
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov ecx, edi
call fcn.004a2aec
push 0x1398
push str.Network.c
mov edx, 0x4cc8b8
lea ecx, [esp + 0x70]
call fcn.004a0001
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x4780a4
push esi
push 1
lea eax, [esp + 0x1c]
push 4
push eax
mov dword [esp + 0x24], ebx
call fcn.0040257f
add esp, 0x10
mov ecx, esi
jmp 0x4780f0
mov edi, dword [esp + 0x20]
push edi
xor ebx, ebx
inc ebx
push ebx
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jae 0x4781be
mov ecx, edi
call fcn.004a2aec
and dword [0x603b50], 0
jmp 0x4780aa
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov cx, word [esp + 0x36]
xor eax, eax
cmp cx, word [esp + 0x46]
push edi
setne al
push ebx
push 0x10
push 0x6008c4
mov dword [esp + 0x40], eax
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jb 0x4781ab
push edi
push ebx
push 0x10
push 0x6008d4
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jae 0x47821b
mov ecx, edi
call fcn.004a2aec
xor eax, eax
and dword [0x603b50], 0
jmp 0x47802a
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
cmp dword [esp + 0x14], eax
jle 0x4783b2
xor eax, eax
push edi
push ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 4
push eax
call fcn.00402244
push edi
push ebx
mov esi, eax
lea eax, [esp + 0x34]
push 4
push eax
call fcn.00402244
push edi
push ebx
add esi, eax
lea eax, [esp + 0x38]
push 4
push eax
call fcn.00402244
add eax, esi
add esp, 0x30
cmp eax, 3
jl 0x4783a7
xor esi, esi
cmp dword [esp + 0x10], esi
je 0x4783ae
cmp dword [esp + 0x1c], esi
jl 0x4783ae
cmp dword [esp + 0x18], esi
jl 0x4783ae
cmp dword [esp + 0x1c], esi
jne 0x4782a9
cmp dword [esp + 0x18], esi
je 0x4783ae
sub dword [esp + 0x10], 0x309
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
call fcn.004740f9
lea ecx, [esp + 0x54]
call fcn.00474d1e
cmp eax, dword [esp + 0x10]
jne 0x47832c
mov esi, dword [0x60039c]
xor edi, edi
test esi, esi
jle 0x478347
mov ebx, 0x6008e8
mov ecx, ebx
call fcn.00474d1e
mov esi, dword [0x60039c]
cmp dword [esp + 0x10], eax
je 0x4782f9
inc edi
add ebx, 0x14
cmp edi, esi
jl 0x4782de
cmp edi, 0xa
jge 0x478329
cmp edi, esi
jge 0x478344
mov edx, dword [esp + 0x18]
mov eax, edi
cmp edx, dword [eax*4 + 0x6009b0]
jle 0x478318
mov dword [eax*4 + 0x6009b0], edx
mov ecx, dword [esp + 0x1c]
lea eax, [eax*4 + 0x6009d8]
cmp ecx, dword [eax]
jle 0x478329
mov dword [eax], ecx
xor ebx, ebx
inc ebx
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x20]
cmp eax, dword [esp + 0x14]
jl 0x47822f
jmp 0x4783b2
xor ebx, ebx
inc ebx
cmp dword [esp + 0x30], 0
je 0x478370
call fcn.00477edc
test eax, eax
je 0x47836a
lea esi, [esp + 0x54]
call fcn.00476028
test eax, eax
jne 0x47836a
mov dword [esp + 0x2c], ebx
jmp 0x47832c
mov esi, dword [0x60039c]
lea eax, [esp + 0x54]
push eax
mov eax, esi
imul eax, eax, 0x14
push 0x14
add eax, 0x6008e8
pop ecx
call fcn.00444961
mov eax, dword [esp + 0x1c]
mov dword [esi*4 + 0x6009b0], eax
mov eax, dword [esp + 0x20]
mov dword [esi*4 + 0x6009d8], eax
inc esi
pop ecx
mov dword [0x60039c], esi
jmp 0x47832c
and dword [esp + 0x24], 0
jmp 0x4783b2
mov dword [esp + 0x24], esi
mov ecx, edi
call fcn.004a2aec
cmp dword [esp + 0x2c], 0
je 0x4783c5
call fcn.00477162
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47820f
mov dword [0x603b4c], ebx
jmp 0x47820f