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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor esi, esi
lea eax, [ebp - 0x11f]
push esi
push eax
mov byte [ebp - 0x120], 0
call fcn.00401f80
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
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 [ebp - 0x130], ax
lea edi, [ebp - 0x12e]
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 [ebp - 0x140], ax
lea edi, [ebp - 0x13e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x150], esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], esi
stosw word es:[edi], ax
cmp dword [0x5a8a2c], esi
je 0x45d677
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
cmp dword [0x5a8a30], esi
je 0x45d6a5
call fcn.00419a8b
mov edi, eax
jmp 0x45d69d
call fcn.00419a8b
sub eax, edi
cmp eax, 0x2710
jae 0x45d6a5
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x5a8a30], esi
jne 0x45d688
push str.GatMem.sat
xor ebx, ebx
push esi
inc ebx
push esi
mov dword [0x5a8a30], ebx
call fcn.0044bf6e
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x120]
push 0x48de20
push eax
call fcn.00401954
add esp, 0x10
lea edi, [ebp - 0x120]
call fcn.00474f3d
test eax, eax
jne 0x45d6ed
mov dword [0x5a8a30], esi
xor eax, eax
jmp 0x45d668
push 0x1365
push str.Network.c
mov edx, 0x48d1ec
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x158], ebx
call fcn.00473c34
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x154], edi
cmp edi, esi
je 0x45d6e0
push edi
push ebx
lea eax, [ebp - 0x144]
push 4
push eax
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jae 0x45d73b
mov ecx, edi
call fcn.00475e84
jmp 0x45d6e0
push 0xa
pop eax
cmp dword [ebp - 0x144], eax
jle 0x45d74c
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], esi
jle 0x45d732
push edi
call fcn.00401e7e
pop ecx
cmp eax, 0xffffffff
je 0x45d798
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 esi, ebx
mov ebx, edi
movsx ecx, byte [ebx + esi - 1]
cmp eax, ecx
jne 0x45d78f
push edi
call fcn.00401a80
pop ecx
cmp esi, eax
jge 0x45d7f0
push dword [ebp - 0x154]
inc esi
call fcn.00401e7e
pop ecx
cmp eax, 0xffffffff
jne 0x45d769
mov edi, dword [ebp - 0x154]
xor ebx, ebx
inc ebx
mov ecx, edi
call fcn.00475e84
push 0x1398
push str.Network.c
mov edx, 0x48d22c
lea ecx, [ebp - 0x120]
call fcn.00473c34
mov esi, eax
xor edi, edi
pop ecx
pop ecx
cmp esi, edi
jne 0x45d7ce
mov dword [0x5a8a30], edi
jmp 0x45d6e6
push esi
push ebx
lea eax, [ebp - 0x144]
push 4
push eax
mov dword [ebp - 0x144], edi
call fcn.0040257f
add esp, 0x10
mov ecx, esi
call fcn.00475e84
jmp 0x45d7c3
mov edi, dword [ebp - 0x154]
push edi
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0x130]
push 0x10
push eax
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jae 0x45d823
mov ecx, edi
call fcn.00475e84
and dword [0x5a8a30], 0
jmp 0x45d6e6
lea eax, [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov cx, word [ebp - 0x12e]
xor eax, eax
cmp cx, word [ebp - 0x13e]
push edi
setne al
push ebx
push 0x10
push 0x5a57a4
mov dword [ebp - 0x164], eax
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jb 0x45d810
push edi
push ebx
push 0x10
push 0x5a57b4
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jae 0x45d888
mov ecx, edi
call fcn.00475e84
xor eax, eax
and dword [0x5a8a30], 0
jmp 0x45d668
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x144], eax
jle 0x45da5a
xor eax, eax
push edi
push ebx
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x150]
push 4
push eax
call fcn.00402244
push edi
push ebx
mov esi, eax
lea eax, [ebp - 0x14c]
push 4
push eax
call fcn.00402244
push edi
push ebx
add esi, eax
lea eax, [ebp - 0x148]
push 4
push eax
call fcn.00402244
add eax, esi
add esp, 0x30
cmp eax, 3
jl 0x45da4b
xor esi, esi
cmp dword [ebp - 0x148], esi
je 0x45da54
cmp dword [ebp - 0x14c], esi
jl 0x45da54
cmp dword [ebp - 0x150], esi
jl 0x45da54
cmp dword [ebp - 0x14c], esi
jne 0x45d932
cmp dword [ebp - 0x150], esi
je 0x45da54
sub dword [ebp - 0x148], 0x309
mov ecx, dword [ebp - 0x148]
lea eax, [ebp - 0x18]
call fcn.0045a50e
lea ecx, [ebp - 0x18]
call fcn.0045b0fc
cmp eax, dword [ebp - 0x148]
jne 0x45d9bf
mov esi, dword [0x5a5384]
xor edi, edi
test esi, esi
jle 0x45d9e2
mov ebx, 0x5a57c8
mov ecx, ebx
call fcn.0045b0fc
mov esi, dword [0x5a5384]
cmp dword [ebp - 0x148], eax
je 0x45d988
inc edi
add ebx, 0x14
cmp edi, esi
jl 0x45d96b
cmp edi, 0xa
jge 0x45d9bc
cmp edi, esi
jge 0x45d9df
mov edx, dword [ebp - 0x150]
mov eax, edi
cmp edx, dword [eax*4 + 0x5a5890]
jle 0x45d9a9
mov dword [eax*4 + 0x5a5890], edx
mov ecx, dword [ebp - 0x14c]
lea eax, [eax*4 + 0x5a58b8]
cmp ecx, dword [eax]
jle 0x45d9bc
mov dword [eax], ecx
xor ebx, ebx
inc ebx
inc dword [ebp - 0x15c]
mov eax, dword [ebp - 0x15c]
mov edi, dword [ebp - 0x154]
cmp eax, dword [ebp - 0x144]
jl 0x45d8a2
jmp 0x45da5a
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x164], 0
je 0x45da0e
call fcn.0045d513
test eax, eax
je 0x45da08
lea esi, [ebp - 0x18]
call fcn.0045c3ca
test eax, eax
jne 0x45da08
mov dword [ebp - 0x160], ebx
jmp 0x45d9bf
mov esi, dword [0x5a5384]
lea eax, [ebp - 0x18]
push eax
mov eax, esi
imul eax, eax, 0x14
push 0x14
add eax, 0x5a57c8
pop ecx
call fcn.00435b27
mov eax, dword [ebp - 0x150]
mov dword [esi*4 + 0x5a5890], eax
mov eax, dword [ebp - 0x14c]
mov dword [esi*4 + 0x5a58b8], eax
inc esi
pop ecx
mov dword [0x5a5384], esi
jmp 0x45d9bf
and dword [ebp - 0x158], 0
jmp 0x45da5a
mov dword [ebp - 0x158], esi
mov ecx, edi
call fcn.00475e84
cmp dword [ebp - 0x160], 0
je 0x45da6f
call fcn.0045c935
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x45d87c
mov dword [0x5a8a2c], ebx
jmp 0x45d87c