Function at 0x417c60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push esi
push edi
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x4183e8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
sub edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0x14
ja case.default.0x417c9b
mov eax, dword [ebp - 0x80]
jmp dword [eax*4 + 0x4183fc]
jmp 0x418378
push 0x100
push 1
call fcn.00418450
add esp, 8
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x438]
push edx
call fcn.00415740
add esp, 8
cmp eax, 1
jne 0x417cd4
mov byte [ebp - 1], 1
jmp 0x417d33
push 0x100
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x438]
push ecx
call fcn.00415740
add esp, 8
test eax, eax
jne 0x417d08
mov edx, dword [ebp - 0x7c]
add edx, 0x418
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.00415510
movzx eax, al
test eax, eax
je 0x417d33
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
call fcn.00417390
mov ecx, eax
call fcn.00416470
movsx ecx, byte [eax]
xor edx, edx
cmp ecx, 0xa
setne dl
mov byte [ebp - 1], dl
jmp 0x418378
push 2
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x438]
push ecx
call fcn.00415740
add esp, 8
test eax, eax
jne 0x417d79
mov edx, dword [ebp - 0x7c]
add edx, 0x420
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.00415510
movzx eax, al
test eax, eax
je 0x417d7d
mov ecx, dword [ebp - 0x7c]
call fcn.00416470
movsx ecx, byte [eax]
cmp ecx, 0xa
je 0x417d7d
mov byte [ebp - 1], 1
jmp 0x418378
push 4
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x438]
push eax
call fcn.00415740
add esp, 8
test eax, eax
je 0x417db3
mov ecx, dword [ebp - 0x7c]
add ecx, 0x418
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00415540
movzx edx, al
test edx, edx
jne 0x417de4
push 8
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x438]
push ecx
call fcn.00415740
add esp, 8
test eax, eax
je 0x417dea
mov edx, dword [ebp - 0x7c]
add edx, 0x420
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.00415540
movzx eax, al
test eax, eax
je 0x417dea
mov byte [ebp - 0xe], 0
jmp 0x417e22
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00419880
movzx esi, al
push 0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00419880
movzx ecx, al
xor edx, edx
cmp esi, ecx
setne dl
mov byte [ebp - 0xe], dl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
and ecx, 1
neg ecx
sbb ecx, ecx
neg ecx
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xe]
movzx eax, byte [ebp - 0xd]
cmp edx, eax
jne 0x417e44
mov byte [ebp - 1], 1
jmp 0x418378
mov ecx, dword [ebp - 0x7c]
add ecx, 0x420
push ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00415540
movzx edx, al
test edx, edx
jne 0x417e82
mov ecx, dword [ebp - 0x7c]
call fcn.00416470
movsx eax, byte [eax]
cmp eax, 0xa
je 0x417e82
mov ecx, dword [ebp - 0x7c]
call fcn.00416470
movsx ecx, byte [eax]
cmp ecx, 0xd
jne 0x417e88
mov byte [ebp - 1], 1
jmp 0x417e90
mov ecx, dword [ebp - 0x7c]
call fcn.004154b0
jmp 0x418378
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x18]
call fcn.00414010
push 0x80
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x438]
push ecx
call fcn.00415740
add esp, 8
test eax, eax
setne dl
movzx eax, dl
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x434]
push edx
mov eax, dword [ebp - 0x7c]
add eax, 0x440
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
call fcn.00417470
mov esi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
call fcn.00404c00
add esi, eax
push esi
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
call fcn.00417470
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x424]
push edx
mov eax, dword [ecx + 0x420]
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ecx]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.00418460
add esp, 0x28
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00415510
movzx edx, al
test edx, edx
je 0x417f52
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 4], edx
jmp 0x417f56
mov byte [ebp - 1], 1
jmp 0x418378
mov eax, dword [ebp - 0x7c]
add eax, 0x420
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00415540
movzx ecx, al
test ecx, ecx
jne 0x417f92
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.00419960
movzx eax, al
test eax, eax
je 0x417f92
mov dword [ebp - 0x84], 0
jmp 0x417f9c
mov dword [ebp - 0x84], 1
mov cl, byte [ebp - 0x84]
mov byte [ebp - 1], cl
jmp 0x418378
jmp 0x418378
jmp 0x418378
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp + 8]
xor eax, eax
cmp dword [edx + 4], 0xb
sete al
mov byte [ebp - 0x1d], al
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], edx
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], eax
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00417c60
movzx ecx, al
neg ecx
sbb ecx, ecx
neg ecx
movzx edx, byte [ebp - 0x1d]
cmp ecx, edx
jne 0x418017
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00419490
mov byte [ebp - 1], 1
jmp 0x418025
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x28]
mov dword [ecx], edx
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
jmp 0x418378
mov dword [ebp + 8], 0
jmp 0x418378
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 0x14]
shl edx, 4
mov esi, dword [ebp - 0x7c]
mov dword [esi + edx + 0xc], eax
mov dword [esi + edx + 0x10], ecx
jmp 0x418378
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x7c]
movzx ecx, byte [eax + 0x43d]
test ecx, ecx
jne 0x418083
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x14], 0
je 0x4180b8
mov eax, dword [ebp - 0x3c]
mov edx, 1
mov ecx, dword [eax + 0x14]
shl edx, cl
mov eax, dword [ebp - 0x7c]
or edx, dword [eax + 8]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 8], edx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x3c]
mov edx, dword [edx + 0x14]
shl edx, 4
mov esi, dword [ebp - 0x7c]
mov dword [esi + edx + 0x14], eax
mov dword [esi + edx + 0x18], ecx
jmp 0x418378
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, 1
mov ecx, dword [ecx + 0x14]
shl edx, cl
mov eax, dword [ebp - 0x7c]
and edx, dword [eax + 8]
je 0x4181d2
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x14]
shl edx, 4
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + edx + 0xc]
mov edx, dword [eax + edx + 0x10]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x14]
shl ecx, 4
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + ecx + 0x14]
mov ecx, dword [edx + ecx + 0x18]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], ecx
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00415510
movzx eax, al
test eax, eax
je 0x4181c4
push 0x80
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 0x438]
push edx
call fcn.00415740
add esp, 8
test eax, eax
setne al
movzx ecx, al
push ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x434]
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0x440
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x424]
push ecx
mov edx, dword [eax + 0x420]
push edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.00419d60
add esp, 0x30
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x54]
call fcn.00415540
movzx ecx, al
test ecx, ecx
je 0x4181c4
mov byte [ebp - 1], 1
jmp 0x4181d2
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x54]
mov dword [edx], eax
mov ecx, dword [ebp - 0x50]
mov dword [edx + 4], ecx
jmp 0x418378
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.004194f0
movzx eax, al
test eax, eax
jne 0x4181f0
mov byte [ebp - 1], 1
jmp 0x4181f7
mov dword [ebp + 8], 0
jmp 0x418378
jmp 0x418378
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
and edx, 2
setne al
movzx ecx, al
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.004195b0
movzx eax, al
test eax, eax
jne 0x41822a
mov byte [ebp - 1], 1
jmp 0x418231
mov dword [ebp + 8], 0
jmp 0x418378
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx + 0x448]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 0x14]
je 0x418261
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x60], edx
jmp 0x418248
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0
je 0x418283
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x64]
call fcn.00415540
movzx eax, al
test eax, eax
je 0x41828c
mov dword [ebp + 8], 0
jmp 0x4182a3
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x64]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x60]
mov byte [edx + 8], 1
jmp 0x418378
jmp 0x418378
push 0x2000
push 0x20
call fcn.00418450
add esp, 8
push eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x438]
push ecx
call fcn.00415740
add esp, 8
test eax, eax
je 0x4182ec
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x7c]
add ecx, 0x418
call fcn.00415540
movzx eax, al
test eax, eax
jne 0x418312
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ecx + 0x444]
test edx, edx
je 0x418318
mov eax, dword [ebp - 0x7c]
add eax, 0x420
push eax
mov ecx, dword [ebp - 0x7c]
call fcn.00415510
movzx ecx, al
test ecx, ecx
je 0x418318
mov byte [ebp - 1], 1
jmp 0x418352
mov edx, dword [ebp - 0x7c]
movzx eax, byte [edx + 0x43c]
test eax, eax
je 0x418335
mov ecx, dword [ebp - 0x7c]
call fcn.00419bc0
movzx ecx, al
test ecx, ecx
je 0x418352
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x7c]
add edi, 0x20c
mov ecx, 0x83
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x7c]
mov byte [edx + 0x43c], 1
mov dword [ebp + 8], 0
jmp 0x418378
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
push str.invalid__N_type:__d_n
call dword [sym.imp.MSVCR90.dll_printf]
add esp, 8
push 1
call dword [sym.imp.MSVCR90.dll_exit]
movzx edx, byte [ebp - 1]
test edx, edx
je 0x4183d4
mov dword [ebp + 8], 0
push 0x80
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 0x438]
push ecx
call fcn.00415740
add esp, 8
test eax, eax
je 0x4183d2
mov edx, dword [ebp - 0x7c]
add edx, 0x420
push edx
mov ecx, dword [ebp - 0x7c]
call fcn.00415540
movzx eax, al
test eax, eax
je 0x4183d2
mov byte [ebp - 1], 0
mov esi, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x7c]
add edi, 0x20c
mov ecx, 0x83
rep movsd dword es:[edi], dword [esi]
jmp 0x4183e3
cmp dword [ebp + 8], 0
je 0x4183e3
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp + 8], edx
jmp 0x417c72
movzx eax, byte [ebp - 1]
neg eax
sbb eax, eax
add eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4