Function at 0x4013f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
nop
mov eax, 0x32
mov dword [ebp - 0x6c], eax
mov eax, 0x34
mov dword [ebp - 0x68], eax
mov eax, 0x36
mov dword [ebp - 0x64], eax
mov eax, 0x37
mov dword [ebp - 0x60], eax
mov eax, 0x38
mov dword [ebp - 0x5c], eax
mov eax, 0x39
mov dword [ebp - 0x58], eax
mov eax, 0x42
mov dword [ebp - 0x54], eax
mov eax, 0x43
mov dword [ebp - 0x50], eax
mov eax, 0x44
mov dword [ebp - 0x4c], eax
mov eax, 0x45
mov dword [ebp - 0x48], eax
mov eax, 0x46
mov dword [ebp - 0x44], eax
mov eax, 0x47
mov dword [ebp - 0x40], eax
mov eax, 0x48
mov dword [ebp - 0x3c], eax
mov eax, 0x4a
mov dword [ebp - 0x38], eax
mov eax, 0x4b
mov dword [ebp - 0x34], eax
mov eax, 0x4d
mov dword [ebp - 0x30], eax
mov eax, 0x4e
mov dword [ebp - 0x2c], eax
mov eax, 0x50
mov dword [ebp - 0x28], eax
mov eax, 0x52
mov dword [ebp - 0x24], eax
mov eax, 0x54
mov dword [ebp - 0x20], eax
mov eax, 0x56
mov dword [ebp - 0x1c], eax
mov eax, 0x57
mov dword [ebp - 0x18], eax
mov eax, 0x58
mov dword [ebp - 0x14], eax
mov eax, 0x5a
mov dword [ebp - 0x10], eax
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0x60
jge 0x4014f5
jmp 0x4014de
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x4014c2
mov eax, dword [ebp - 4]
shl eax, 2
lea ecx, [ebp - 0x1ec]
add ecx, eax
mov eax, 0xff
mov dword [ecx], eax
jmp 0x4014d3
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0x17
jg 0x40153e
jmp 0x401519
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x4014fd
mov eax, dword [ebp - 4]
shl eax, 2
lea ecx, [ebp - 0x6c]
add ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 2
lea ecx, [ebp - 0x1ec]
add ecx, eax
mov eax, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x40150e
mov eax, 0
push eax
call sub.msvcrt.dll_time
add esp, 4
push eax
call sub.msvcrt.dll_srand
add esp, 4
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0x10
jge 0x4016a3
jmp 0x401579
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x40155d
call sub.msvcrt.dll_rand
mov ecx, 2
cdq
idiv ecx
cmp edx, 0
jne 0x4015bd
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
mov dword [ebp - 0x218], ecx
call sub.msvcrt.dll_rand
mov ecx, 8
cdq
idiv ecx
add edx, 0x32
mov eax, dword [ebp - 0x218]
mov byte [eax], dl
jmp 0x4015e6
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
mov dword [ebp - 0x21c], ecx
call sub.msvcrt.dll_rand
mov ecx, 0x19
cdq
idiv ecx
add edx, 0x42
mov eax, dword [ebp - 0x21c]
mov byte [eax], dl
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x33
je 0x401579
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x35
je 0x401579
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x49
je 0x401579
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x4c
je 0x401579
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x4f
je 0x401579
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x51
je 0x401579
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x53
je 0x401579
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x1fc]
add ecx, eax
movzx eax, byte [ecx]
cmp eax, 0x59
je 0x401579
jmp 0x40156e
mov eax, 0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0x10
jge 0x4016e4
jmp 0x4016c7
mov eax, dword [ebp - 4]
mov ecx, eax
inc eax
mov dword [ebp - 4], eax
jmp 0x4016ab
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x20c]
add ecx, eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x1fc]
add edx, eax
movzx eax, byte [edx]
mov byte [ecx], al
jmp 0x4016bc
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x1ec]
push eax
lea eax, [ebp - 0x1fc]
push eax
call fcn.0040103b
add esp, 8
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
push eax
call fcn.00401144
add esp, 4
cmp eax, 0
jne 0x401555
mov eax, dword [ebp - 0x210]
push eax
call fcn.00401209
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [0x4037ac]
mov ecx, dword [ebp - 0xc]
cmp eax, ecx
jne 0x401555
mov eax, dword [ebp - 0x210]
push eax
call fcn.004012bd
add esp, 4
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
movzx ecx, byte [eax]
cmp ecx, 0x30
jne 0x401555
mov eax, dword [ebp - 0x210]
inc eax
movzx ecx, byte [eax]
mov eax, dword [ebp + 8]
cmp ecx, eax
je 0x40179d
mov eax, dword [ebp - 0x210]
inc eax
movzx ecx, byte [eax]
mov eax, dword [ebp + 0xc]
cmp ecx, eax
je 0x40179d
jmp 0x401555
mov eax, dword [ebp - 0x214]
leave
ret