Function at 0x420e10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
push ebx
push esi
mov esi, edx
push edi
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x1d0], ecx
mov dword [ebp - 0x4f0], 2
mov edx, 1
jmp 0x420e43
mov edx, dword [ebp - 8]
cmp edx, 0x62
jge 0x4211a7
mov ecx, dword [ebp + edx*4 - 0x1d4]
mov eax, dword [ebp + edx*4 - 0x364]
mov edi, dword [ebp + edx*4 - 0x4f4]
sub edx, 1
mov dword [ebp - 8], edx
mov edx, ecx
sub edx, eax
cmp edx, 0x14
jl 0x421171
cmp edi, 0xe
jg 0x421171
lea edx, [esi + eax*4]
add eax, ecx
mov ecx, dword [esi + ecx*4]
sar eax, 1
mov ebx, dword [esi + eax*4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov edx, dword [edx]
add ebx, edi
mov bl, byte [ebx + eax]
add ecx, edi
mov cl, byte [ecx + eax]
add edx, edi
mov al, byte [edx + eax]
call fcn.00420df0
movzx eax, al
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + eax*4 - 0x360]
mov eax, dword [ebp + eax*4 - 0x1d0]
mov edx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
cmp ecx, eax
jg 0x420f49
lea ecx, [ecx]
mov edx, dword [esi + ecx*4]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
add edx, edi
movzx edx, byte [edx + ebx]
sub edx, dword [ebp - 0xc]
jne 0x420f02
mov edx, dword [ebp - 4]
mov ebx, dword [esi + edx*4]
mov dword [esi + ecx*4], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [esi + edx*4], ebx
add edx, 1
add ecx, 1
cmp ecx, eax
mov dword [ebp - 4], edx
jle 0x420ed0
jmp 0x420f49
test edx, edx
jle 0x420f84
cmp ecx, eax
jg 0x420f46
mov edi, edi
mov edx, dword [esi + eax*4]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
add edx, edi
movzx edx, byte [edx + ebx]
sub edx, dword [ebp - 0xc]
jne 0x420f3b
mov edx, dword [ebp - 0x10]
mov ebx, dword [esi + edx*4]
mov dword [esi + eax*4], ebx
mov ebx, dword [ebp - 0x1c]
mov dword [esi + edx*4], ebx
sub edx, 1
mov dword [ebp - 0x10], edx
jmp 0x420f3f
test edx, edx
jl 0x420f66
sub eax, 1
cmp ecx, eax
jle 0x420f10
mov edx, dword [ebp - 4]
cmp dword [ebp - 0x10], edx
jge 0x420f8f
mov eax, dword [ebp - 8]
add edi, 1
mov dword [ebp + eax*4 - 0x4f0], edi
add eax, 1
mov dword [ebp - 8], eax
jmp 0x421196
cmp ecx, eax
jg 0x420f46
mov edx, dword [esi + ecx*4]
mov ebx, dword [esi + eax*4]
mov dword [esi + ecx*4], ebx
mov dword [esi + eax*4], edx
mov edx, dword [ebp - 4]
add ecx, 1
sub eax, 1
jmp 0x420ec5
mov edx, dword [ebp - 4]
add ecx, 1
jmp 0x420ec5
mov ebx, ecx
sub ebx, edx
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 8]
sub edx, dword [ebp + ebx*4 - 0x360]
mov ebx, dword [ebp - 0x1c]
cmp edx, ebx
jl 0x420fa9
mov edx, ebx
test edx, edx
mov dword [ebp - 0xc], edx
jle 0x420feb
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 4], ebx
mov ebx, ecx
sub ebx, edx
lea edx, [esi + ebx*4]
mov dword [ebp - 0x18], edx
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
mov edx, dword [edx]
sub dword [ebp - 0xc], 1
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ebx], edx
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov dword [edx], ebx
add edx, 4
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x18], edx
jg 0x420fc0
mov ebx, dword [ebp - 0x10]
mov edx, ebx
sub edx, eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov edx, dword [ebp + edx*4 - 0x1d0]
sub edx, ebx
mov ebx, dword [ebp - 0x14]
cmp edx, ebx
jl 0x42100a
mov edx, ebx
test edx, edx
mov dword [ebp - 0x18], edx
jle 0x421045
mov ebx, dword [ebp - 8]
mov ebx, dword [ebp + ebx*4 - 0x1d0]
sub ebx, edx
lea ecx, [esi + ecx*4]
lea edx, [esi + ebx*4 + 4]
mov ebx, dword [ecx]
mov dword [ebp - 0x14], ebx
mov ebx, dword [edx]
mov dword [ecx], ebx
mov ebx, dword [ebp - 0x14]
mov dword [edx], ebx
mov ebx, dword [ebp - 0x18]
sub ebx, 1
add ecx, 4
add edx, 4
test ebx, ebx
mov dword [ebp - 0x18], ebx
jg 0x421024
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x360]
mov ecx, dword [ebp + ecx*4 - 0x1d0]
mov ebx, dword [ebp - 0x1c]
lea eax, [eax + ecx + 1]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov ecx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
lea ebx, [ebx + edx - 1]
lea eax, [ebx + 1]
mov dword [ebp - 0x38], eax
mov eax, ecx
add eax, 0xffffffff
mov dword [ebp - 0x20], eax
lea eax, [edi + 1]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
sub eax, ecx
sub ebx, edx
cmp ebx, eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
jge 0x4210b8
mov eax, dword [ebp - 0x14]
mov ebx, ecx
mov ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
jmp 0x4210bb
mov ebx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
sub edx, dword [ebp - 0x38]
sub eax, ecx
cmp eax, edx
jge 0x4210e7
mov edx, dword [ebp - 0x20]
mov eax, ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
sub edx, ecx
sub eax, ebx
cmp eax, edx
jge 0x42110c
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ebx, ecx
mov ecx, eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
jmp 0x421112
mov edi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x1d0], edx
mov edx, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x4f0], edx
mov edx, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x360], ebx
add eax, 1
mov dword [ebp + eax*4 - 0x360], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x1d0], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x4f0], edi
add eax, 1
mov dword [ebp + eax*4 - 0x360], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x1d0], ecx
mov dword [ebp + eax*4 - 0x4f0], edx
add eax, 1
mov dword [ebp - 8], eax
jmp 0x421196
mov edx, dword [ebp + 0x14]
push edx
mov edx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push edx
push esi
mov ebx, edi
call fcn.00420b80
mov eax, dword [ebp + 0x14]
add esp, 0x1c
cmp dword [eax], 0
jl 0x4211a0
cmp dword [ebp - 8], 0
jg 0x420e40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0x3e9
jmp 0x419e70