Function at 0x419580
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [0x56b086]
test eax, eax
je 0x419598
xor al, al
jmp 0x419abe
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00419360
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
add eax, 5
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 4
ja case.default.0x4195e2
mov ecx, dword [ebp - 0x44]
jmp dword [ecx*4 + 0x419ac2]
mov byte [0x568e88], 1
mov byte [0x568e9d], 1
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp + 0x14], edx
jl 0x419620
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
push 0x4d0b30
call fcn.0040cc80
add esp, 8
push 9
call fcn.004be6a3
mov eax, dword [ebp + 0x14]
add eax, 1
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 1
jmp case.default.0x4195e2
mov byte [0x568e88], 1
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp + 0x14], ecx
jl 0x419665
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
push 0x4d0b4c
call fcn.0040cc80
add esp, 8
push 9
call fcn.004be6a3
mov edx, dword [ebp + 0x14]
add edx, 1
mov dword [ebp + 0x14], edx
mov dword [ebp - 4], 1
jmp case.default.0x4195e2
mov byte [0x568e8a], 1
mov byte [0x568e9c], 1
mov eax, dword [ebp + 0x10]
sub eax, 1
cmp dword [ebp + 0x14], eax
jl 0x4196b1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + ecx*4]
push eax
push 0x4d0b68
call fcn.0040cc80
add esp, 8
push 9
call fcn.004be6a3
mov ecx, dword [ebp + 0x14]
add ecx, 1
mov dword [ebp + 0x14], ecx
mov dword [ebp - 4], 1
jmp case.default.0x4195e2
mov byte [0x568e8a], 1
mov edx, dword [ebp + 0x10]
sub edx, 1
cmp dword [ebp + 0x14], edx
jl 0x4196f3
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
push 0x4d0b84
call fcn.0040cc80
add esp, 8
push 9
call fcn.004be6a3
mov eax, dword [ebp + 0x14]
add eax, 1
mov dword [ebp + 0x14], eax
mov dword [ebp - 4], 1
jmp case.default.0x4195e2
mov byte [0x568e8a], 0
mov byte [0x568e88], 0
mov ecx, dword [ebp + 0x10]
sub ecx, 1
cmp dword [ebp + 0x14], ecx
jl case.default.0x4195e2
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
push str.missing_command_after__s_n
call fcn.0040cc80
add esp, 8
push 9
call fcn.004be6a3
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
push 1
push 0x4d0bbc
mov edx, dword [ebp - 0xc]
push edx
call fcn.004bebf0
add esp, 0xc
test eax, eax
jne 0x41976f
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0xfffffffb
jne 0x4197c0
cmp dword [ebp + 0x18], 0
je 0x419783
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ecx], edx
cmp dword [0x56afc8], 0
je 0x4197b9
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
movzx edx, byte [0x568e8a]
push edx
movzx eax, byte [0x568e88]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x4d0bc0
call fcn.0044d350
add esp, 0x1c
mov al, 1
jmp 0x419abe
cmp dword [ebp - 4], 0
jne 0x4197d0
cmp dword [ebp - 0x14], 0
je 0x419a22
cmp dword [ebp - 0x14], 0
je 0x4197dd
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x4197ef
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx*4 + 0x529350], 0
je 0x419a22
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x529350]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
movsx edx, byte [ecx]
sub edx, 0x30
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004be7f0
add esp, 4
push eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004bebf0
add esp, 0xc
test eax, eax
jne 0x419a1d
movzx ecx, byte [0x568e8a]
test ecx, ecx
jne 0x4199a0
movzx edx, byte [0x568e88]
test edx, edx
jne 0x4199a0
mov byte [ebp - 0x29], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x29]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.004194f0
add esp, 0x14
mov dword [ebp - 0x28], eax
cmp dword [0x56afc8], 0
je 0x4198b3
cmp dword [ebp - 0x24], 0
je 0x4198b3
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
push str._found_chain_type__d_at__s__n
call fcn.0044d350
add esp, 0xc
movzx ecx, byte [ebp - 0x29]
test ecx, ecx
jne 0x419982
cmp dword [ebp - 0x24], 0
je 0x419982
mov dword [ebp - 0x30], 0
jmp 0x4198db
mov edx, dword [ebp - 0x30]
add edx, 3
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
cmp dword [eax*4 + 0x529488], 0
je 0x419982
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx*4 + 0x529488]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax*4 + 0x52948c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx*4 + 0x529490]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.004be7f0
add esp, 4
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004bebf0
add esp, 0xc
test eax, eax
jne 0x41997d
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.004be7f0
add esp, 4
push eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.004bebf0
add esp, 0xc
test eax, eax
jne 0x41997d
mov ecx, dword [ebp - 0x34]
movsx edx, byte [ecx]
sub edx, 0x30
mov dword [ebp - 0x28], edx
cmp dword [0x56afc8], 0
je 0x41997b
mov eax, dword [ebp - 0x28]
push eax
push str._but_using_default_type_mapping__d__n
call fcn.0044d350
add esp, 8
jmp 0x419982
jmp 0x4198d2
mov ecx, dword [ebp - 0x28]
and ecx, 1
je 0x419991
mov byte [0x568e88], 1
mov edx, dword [ebp - 0x28]
and edx, 2
je 0x4199a0
mov byte [0x568e8a], 1
movzx eax, byte [0x568e8a]
test eax, eax
jne 0x4199d2
movzx ecx, byte [0x568e88]
test ecx, ecx
jne 0x4199d2
cmp dword [ebp - 0x20], 1
jne 0x4199c5
mov byte [0x568e88], 1
jmp 0x4199d2
cmp dword [ebp - 0x20], 2
jne 0x4199d2
mov byte [0x568e8a], 1
cmp dword [ebp + 0x18], 0
je 0x4199e0
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov dword [edx], eax
cmp dword [0x56afc8], 0
je 0x419a16
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
movzx eax, byte [0x568e8a]
push eax
movzx ecx, byte [0x568e88]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str._chain_from__s_to__s._collect_f_d_t_d__idir__d__p__n
call fcn.0044d350
add esp, 0x1c
mov al, 1
jmp 0x419abe
jmp 0x4197e6
cmp dword [ebp - 0x14], 0
je 0x419abc
push 0x4d0c78
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bfdc0
add esp, 8
test eax, eax
je 0x419a56
push 0x4d0c80
mov edx, dword [ebp + 8]
push edx
call fcn.004bfdc0
add esp, 8
test eax, eax
jne 0x419a5a
xor al, al
jmp 0x419abe
push 2
push 0x4d0c88
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.004bebf0
add esp, 0xc
test eax, eax
je 0x419a94
push 3
push 0x4d0c8c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
push edx
call fcn.004bebf0
add esp, 0xc
test eax, eax
jne 0x419a98
xor al, al
jmp 0x419abe
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
push eax
push 0x4d0c90
call fcn.0040cc80
add esp, 8
push 9
call fcn.004be6a3
xor al, al
mov esp, ebp
pop ebp
ret