Function at 0x404270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1498
call fcn.0040bad0
push edi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov al, byte [0x41ce84]
mov byte [ebp - 0x1454], al
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x1453]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov cl, byte [0x41ce88]
mov byte [ebp - 0x148c], cl
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x148b]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov dl, byte [0x41ce8c]
mov byte [ebp - 0x34], dl
mov ecx, 0xc
xor eax, eax
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov al, byte [0x41ce90]
mov byte [ebp - 0x13f0], al
xor ecx, ecx
mov dword [ebp - 0x13ef], ecx
mov dword [ebp - 0x1494], 0
mov dword [ebp - 0x1458], 0
mov dword [ebp - 0x13e8], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x1490], 0
mov dl, byte [0x41ce94]
mov byte [ebp - 0x48], dl
xor eax, eax
mov dword [ebp - 0x47], eax
mov dword [ebp - 0x43], eax
mov dword [ebp - 0x3f], eax
mov dword [ebp - 0x3b], eax
mov word [ebp - 0x37], ax
mov byte [ebp - 0x35], al
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x1498], 0
mov cl, byte [0x41ce98]
mov byte [ebp - 0x13e4], cl
mov ecx, 0x4e1
xor eax, eax
lea edi, [ebp - 0x13e3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x63
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x13f0]
push edx
call fcn.0040b8b0
add esp, 8
push 0x6c
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x13f0]
push eax
call fcn.0040b8c0
add esp, 8
push 0x73
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x13f0]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x57
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.0040b8b0
add esp, 8
push 0x72
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040b8c0
add esp, 8
push 0x6f
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x6e
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.0040b8c0
add esp, 8
push 0x67
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040b8c0
add esp, 8
push 0x20
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x50
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.0040b8c0
add esp, 8
push 0x61
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040b8c0
add esp, 8
push 0x73
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x73
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.0040b8c0
add esp, 8
push 0x77
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040b8c0
add esp, 8
push 0x6f
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x72
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x34]
push edx
call fcn.0040b8c0
add esp, 8
push 0x64
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0040b8c0
add esp, 8
push 0x50
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8b0
add esp, 8
push 0x72
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x6f
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x74
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x65
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x63
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x74
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x65
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x64
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x20
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x66
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x69
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x6c
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x65
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x2e
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x20
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x45
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x6e
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x74
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x65
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x72
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x20
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x50
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x61
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x73
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x73
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x77
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x6f
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x72
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
push 0x64
call fcn.00403dba
add esp, 4
push eax
lea eax, [ebp - 0x148c]
push eax
call fcn.0040b8c0
add esp, 8
push 0x3a
call fcn.00403dba
add esp, 4
push eax
lea ecx, [ebp - 0x148c]
push ecx
call fcn.0040b8c0
add esp, 8
push 0x20
call fcn.00403dba
add esp, 4
push eax
lea edx, [ebp - 0x148c]
push edx
call fcn.0040b8c0
add esp, 8
mov dword [ebp - 0x58], 1
jmp 0x404850
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 4
jge 0x404cc0
lea ecx, [ebp - 0x13f0]
push ecx
call fcn.0040b815
add esp, 4
push 0x415228
lea edx, [ebp - 0x48]
push edx
call fcn.0040b8b0
add esp, 8
mov dword [ebp - 0x50], 8
mov dword [ebp - 0x5c], 0x28
mov eax, dword [ebp - 0x50]
cdq
sub eax, edx
sar eax, 1
mov ecx, 0xc
sub ecx, eax
add ecx, 1
mov dword [ebp - 0x1458], ecx
mov eax, dword [ebp - 0x5c]
cdq
sub eax, edx
sar eax, 1
mov edx, 0x28
sub edx, eax
mov dword [ebp - 0x13e8], edx
push 1
mov eax, dword [ebp - 0x13e8]
push eax
mov ecx, dword [ebp - 0x1458]
push ecx
mov edx, dword [0xf14b60]
push edx
call fcn.0040b6d8
add esp, 0x10
push 1
push 9
lea eax, [ebp - 0x48]
push eax
call fcn.00403e7a
add esp, 0xc
push eax
push 0x41523c
call fcn.0040c1dc
add esp, 8
push 1
mov ecx, dword [ebp - 0x13e8]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1458]
lea ecx, [eax + edx - 1]
push ecx
mov edx, dword [0xf14b60]
push edx
call fcn.0040b6d8
add esp, 0x10
push 1
push 0xf
lea eax, [ebp - 0x48]
push eax
call fcn.00403e7a
add esp, 0xc
push eax
push 0x415240
call fcn.0040c1dc
add esp, 8
mov dword [ebp - 0x1490], 1
jmp 0x404951
mov ecx, dword [ebp - 0x1490]
add ecx, 1
mov dword [ebp - 0x1490], ecx
mov edx, dword [ebp - 0x5c]
sub edx, 1
cmp dword [ebp - 0x1490], edx
jge 0x4049f5
push 1
mov eax, dword [ebp - 0x13e8]
add eax, dword [ebp - 0x1490]
push eax
mov ecx, dword [ebp - 0x1458]
push ecx
mov edx, dword [0xf14b60]
push edx
call fcn.0040b6d8
add esp, 0x10
push 1
push 0xa
lea eax, [ebp - 0x48]
push eax
call fcn.00403e7a
add esp, 0xc
push eax
push 0x415244
call fcn.0040c1dc
add esp, 8
push 1
mov ecx, dword [ebp - 0x13e8]
add ecx, dword [ebp - 0x1490]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1458]
lea ecx, [eax + edx - 1]
push ecx
mov edx, dword [0xf14b60]
push edx
call fcn.0040b6d8
add esp, 0x10
push 1
push 0xa
lea eax, [ebp - 0x48]
push eax
call fcn.00403e7a
add esp, 0xc
push eax
push 0x415248
call fcn.0040c1dc
add esp, 8
jmp 0x404942
push 1
mov ecx, dword [ebp - 0x13e8]
add ecx, dword [ebp - 0x1490]
push ecx
mov edx, dword [ebp - 0x1458]
push edx
mov eax, dword [0xf14b60]
push eax
call fcn.0040b6d8
add esp, 0x10
push 1
push 0xb
lea ecx, [ebp - 0x48]
push ecx
call fcn.00403e7a
add esp, 0xc
push eax
push 0x41524c
call fcn.0040c1dc
add esp, 8
push 1
mov edx, dword [ebp - 0x13e8]
add edx, dword [ebp - 0x1490]
push edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x1458]
lea edx, [ecx + eax - 1]
push edx
mov eax, dword [0xf14b60]
push eax
call fcn.0040b6d8
add esp, 0x10
push 1
push 0xd
lea ecx, [ebp - 0x48]
push ecx
call fcn.00403e7a
add esp, 0xc
push eax
push 0x415250
call fcn.0040c1dc
add esp, 8
mov dword [ebp - 0x1490], 1
jmp 0x404a9b
mov edx, dword [ebp - 0x1490]
add edx, 1
mov dword [ebp - 0x1490], edx
mov eax, dword [ebp - 0x50]
sub eax, 1
cmp dword [ebp - 0x1490], eax
jge 0x404b3d
push 1
mov ecx, dword [ebp - 0x13e8]
push ecx
mov edx, dword [ebp - 0x1458]
add edx, dword [ebp - 0x1490]
push edx
mov eax, dword [0xf14b60]
push eax
call fcn.0040b6d8
add esp, 0x10
push 1
push 0xc
lea ecx, [ebp - 0x48]
push ecx
call fcn.00403e7a
add esp, 0xc
push eax
push 0x415254
call fcn.0040c1dc
add esp, 8
push 1
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x13e8]
lea ecx, [eax + edx - 1]
push ecx
mov edx, dword [ebp - 0x1458]
add edx, dword [ebp - 0x1490]
push edx
mov eax, dword [0xf14b60]
push eax
call fcn.0040b6d8
add esp, 0x10
push 1
push 0xc
lea ecx, [ebp - 0x48]
push ecx
call fcn.00403e7a
add esp, 0xc
push eax
push 0x415258
call fcn.0040c1dc
add esp, 8
jmp 0x404a8c
push 1
push 0x18
push 0xb
mov edx, dword [0xf14b60]
push edx
call fcn.0040b6d8
add esp, 0x10
lea eax, [ebp - 0x148c]
push eax
call fcn.0040c1dc
add esp, 4
push 1
push 0x18
push 0xd
mov ecx, dword [0xf14b60]
push ecx
call fcn.0040b6d8
add esp, 0x10
push 0x41525c
call fcn.0040c1dc
add esp, 4
push 0x41ce9c
lea edx, [ebp - 0x13e4]
push edx
call fcn.0040b8b0
add esp, 8
mov byte [ebp - 0x1498], 0
mov dword [ebp - 0x4c], 0
movsx eax, byte [ebp - 0x1498]
cmp eax, 0xd
je 0x404c66
call fcn.0041305a
mov byte [ebp - 0x1498], al
movsx ecx, byte [ebp - 0x1498]
test ecx, ecx
je 0x404c61
movsx edx, byte [ebp - 0x1498]
cmp edx, 8
jne 0x404c15
cmp dword [ebp - 0x4c], 0
jle 0x404c13
push 8
call fcn.00413016
add esp, 4
push 0x20
call fcn.00413016
add esp, 4
push 8
call fcn.00413016
add esp, 4
mov eax, dword [ebp - 0x4c]
sub eax, 1
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov byte [ebp + ecx - 0x13e4], 0
jmp 0x404c61
movsx edx, byte [ebp - 0x1498]
cmp edx, 0xd
je 0x404c61
cmp dword [ebp - 0x4c], 0
jne 0x404c3b
push 0x41cea0
lea eax, [ebp - 0x13e4]
push eax
call fcn.0040b8b0
add esp, 8
mov ecx, dword [ebp - 0x4c]
mov dl, byte [ebp - 0x1498]
mov byte [ebp + ecx - 0x13e4], dl
push 0x415264
call fcn.0040c1dc
add esp, 4
mov eax, dword [ebp - 0x4c]
add eax, 1
mov dword [ebp - 0x4c], eax
jmp 0x404ba5
lea ecx, [ebp - 0x13e4]
push ecx
call fcn.0040409d
add esp, 4
push eax
lea edx, [ebp - 0x1454]
push edx
call fcn.0040b8b0
add esp, 8
mov dword [ebp - 0x1494], 0
push 0x41c968
lea eax, [ebp - 0x1454]
push eax
call fcn.0040bd90
add esp, 8
mov dword [ebp - 0x1494], eax
cmp dword [ebp - 0x1494], 0
jne 0x404cbb
mov dword [ebp - 0x54], 1
jmp 0x404cc0
jmp 0x404847
lea ecx, [ebp - 0x13f0]
push ecx
call fcn.0040b815
add esp, 4
cmp dword [ebp - 0x54], 0
jne 0x404d21
push 0xd
lea edx, [ebp - 0x34]
push edx
mov eax, dword [0xf14b60]
push eax
call fcn.0040b3fa
add esp, 0xc
push 0x7d0
call fcn.0040b733
add esp, 4
lea ecx, [ebp - 0x13f0]
push ecx
call fcn.0040b815
add esp, 4
push 1
push 1
push 1
mov edx, dword [0xf14b60]
push edx
call fcn.0040b6d8
add esp, 0x10
push 1
call fcn.0040c107
push 1
push 1
push 1
mov eax, dword [0xf14b60]
push eax
call fcn.0040b6d8
add esp, 0x10
pop edi
mov esp, ebp
pop ebp
ret