Function at 0x411390
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov dword [ebp - 0x9c], eax
mov eax, ecx
mov dword [ebp - 0xa4], ecx
mov ecx, dword [ecx + 8]
mov dword [ebp - 0xa0], edx
mov ebx, ecx
add ebx, dword [eax + 0x10]
test ecx, ecx
jle 0x4113d2
mov esi, dword [eax + 4]
xor edx, edx
mov eax, dword [esi + edx*4]
cmp dword [eax + 0x14], 1
adc ebx, 0xffffffff
add edx, 1
cmp ecx, edx
jg 0x4113c1
mov edx, dword [ebp + 8]
mov dword [esp + 4], ebx
lea ebx, [ebx*8 + 8]
mov dword [esp], edx
call fcn.004013f0
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x94], 8
mov edx, dword [ecx + 8]
test edx, edx
jle 0x411cb7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
lea eax, [ecx + edx + 0x1c9ec]
sub eax, dword [0x454a40]
cmp eax, dword [0x454a30]
jg 0x4118ab
add ecx, 0xc
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xa0]
test eax, eax
jne 0x4118c8
movzx eax, byte [ebp - 0x40]
mov edx, dword [ebp - 0x48]
sub eax, 0x7f
mov byte [edx - 4], al
mov ecx, dword [ebp - 0x44]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004013c0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x9c]
add eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x98], eax
mov eax, dword [edx + 8]
shl ebx, 2
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ecx + 4]
mov ecx, dword [ebp - 0x98]
mov eax, dword [eax + ebx]
mov dword [ebp - 0x64], eax
mov edx, eax
mov eax, dword [eax + 0xc]
mov byte [ecx + 2], al
mov eax, dword [edx + 0x10]
mov byte [ecx + 3], al
mov dword [esp], edx
call fcn.004016b0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 8], edx
mov dword [esp], eax
call fcn.004011b0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
add eax, 4
mov dword [esp], eax
call fcn.004013c0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx]
test eax, eax
jle 0x41150c
xor edx, edx
mov ecx, dword [ebp - 0x5c]
mov eax, edx
shl eax, 5
mov eax, dword [ecx + eax + 0x64]
test eax, eax
je 0x411502
mov ecx, dword [ebp - 0x98]
sub eax, 1
or eax, 0xffffff80
mov byte [ecx + edx*2 + 0xc], al
mov eax, dword [ebp - 0x5c]
add edx, 1
cmp edx, dword [eax]
jl 0x4114e2
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
test eax, eax
jle 0x411564
mov edi, dword [ebp - 0x98]
xor esi, esi
add edi, 0x1c
mov eax, dword [ebp - 0x64]
mov ebx, edi
xor edx, edx
mov dword [ebp - 0x6c], 0
lea ecx, [eax + esi*4 + 0x34]
movzx eax, byte [ecx]
test al, al
js 0x4118b7
add edx, 1
add ecx, 1
add ebx, 1
cmp edx, 4
jne 0x411533
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x411556
or byte [edi], 0x80
mov edx, dword [ebp - 0x5c]
add esi, 1
add edi, 4
cmp esi, dword [edx + 4]
jl 0x411521
mov ecx, dword [ebp - 0x64]
xor ebx, ebx
mov edi, 0x108080
mov edx, dword [ebp - 0x98]
mov eax, dword [ecx + 0x18]
mov esi, edx
add esi, 0xa4
mov byte [edx + 0xa3], al
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + ebx*4 + 4]
mov dword [esp], esi
cmp eax, 0x1000000
cmovge eax, edi
add ebx, 1
mov dword [esp + 4], eax
add esi, 4
call fcn.004013c0
cmp ebx, 0x10
jne 0x411585
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0xa0]
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
add eax, 0xf4
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x10], eax
call fcn.00410ce0
mov edx, dword [ebp - 0x64]
add eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x10], eax
mov eax, dword [edx + 0x24]
test eax, eax
je 0x411af8
mov ecx, dword [ebp - 0xa0]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00407440
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4121a4
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x70], edx
test eax, eax
je 0x411655
mov edi, dword [0x41f02c]
test edi, edi
je 0x411b5d
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x411c14
mov dword [esp + 0x14], eax
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0x30]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], edx
mov dword [esp + 8], eax
call fcn.00407440
test eax, eax
mov dword [ebp - 0x10], eax
je 0x41217a
mov ecx, dword [ebp - 0x64]
mov eax, dword [ecx + 4]
test eax, eax
je 0x4116bb
mov esi, dword [0x41f02c]
test esi, esi
je 0x41193a
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x10]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ecx
call fcn.00406e60
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x10]
mov ebx, dword [edx]
mov dword [ebp - 0x74], eax
test ebx, ebx
jle 0x411789
mov edx, dword [edx + 0x1c]
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x38]
xor esi, esi
xor ebx, ebx
mov edi, dword [ebp - 0x38]
mov eax, dword [edx + ecx*4]
shl edi, 2
mov ecx, dword [eax + 4]
test ecx, ecx
jle 0x411777
mov eax, dword [eax + 8]
mov eax, dword [eax + ebx + 0x20]
test eax, eax
je 0x411769
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0x64]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x74]
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0x30]
mov dword [esp], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x10]
mov dword [esp + 4], eax
call fcn.00407440
test eax, eax
mov edx, eax
je 0x411a88
mov eax, dword [ebp - 0x10]
add eax, 8
cmp edx, eax
jne 0x411ac4
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 0x1c]
mov eax, dword [edx + edi]
add esi, 1
add ebx, 0x28
cmp esi, dword [eax + 4]
jl 0x411705
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
cmp eax, dword [ecx]
jl 0x4116ee
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], 0xec
add eax, 0xe4
mov dword [esp], eax
call fcn.004013f0
mov ebx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x10]
add ebx, 0xec
sub eax, ebx
cmp eax, 0x408
jg 0x412146
mov eax, dword [ebp - 0x70]
sub eax, dword [ebp - 0x60]
mov dword [esp], ebx
not ebx
test eax, eax
lea edx, [eax + 7]
cmovs eax, edx
sar eax, 3
mov dword [esp + 4], eax
call fcn.004013f0
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x70]
test eax, eax
lea edx, [eax + 7]
cmovs eax, edx
sar eax, 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
add eax, 0xee
mov dword [esp], eax
call fcn.004013f0
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x74]
test eax, eax
lea edx, [eax + 7]
cmovs eax, edx
sar eax, 3
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
add eax, 0xf0
mov dword [esp], eax
call fcn.004013f0
mov eax, dword [ebp - 0x98]
add ebx, dword [ebp - 0x10]
add eax, 0xf2
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.004013f0
mov eax, dword [ebp - 0x64]
mov edi, dword [ebp - 0x10]
sub edi, dword [ebp - 0x98]
mov esi, dword [eax]
test esi, esi
jne 0x411cff
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x40], 1
mov edx, dword [ebp - 0x40]
add dword [ebp - 0x44], edi
cmp dword [ecx + 8], edx
lea eax, [eax*8 + 0x10]
mov dword [ebp - 0x94], eax
jle 0x411cb7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
add dword [ebp - 0x48], 8
lea eax, [ecx + edx + 0x1c9ec]
sub eax, dword [0x454a40]
cmp eax, dword [0x454a30]
jle 0x411432
mov dword [ebp - 0x44], 0xffffffff
jmp 0x411cf1
and eax, 0x7f
mov byte [ebx], al
mov dword [ebp - 0x6c], 1
jmp 0x41153e
mov ecx, dword [ebp - 0x48]
mov byte [ecx - 4], 0
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x20], 2
mov eax, dword [edx + 4]
shl ebx, 2
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x14]
movzx ecx, byte [ebp - 0x20]
mov eax, edx
sar eax, cl
test al, 1
jne 0x411c65
add dword [ebp - 0x20], 1
cmp dword [ebp - 0x20], 8
jne 0x4118ee
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004013c0
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x44]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x98], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x5c], eax
jmp 0x411484
mov edx, dword [ebp - 0x10]
test eax, eax
mov dword [ebp - 0x78], edx
jle 0x411a65
mov eax, dword [ebp - 0x70]
xor edi, edi
add eax, 0x10
mov dword [ebp - 0x4c], eax
jmp 0x4119cd
mov eax, edx
sub eax, dword [ebp - 0x70]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
test eax, eax
lea edx, [eax + 7]
cmovs eax, edx
mov edx, dword [ebp - 0x4c]
sar eax, 3
add eax, 1
movzx eax, al
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
add edi, 1
movzx eax, al
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0xe
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xa1
mov dword [esp + 4], 0
mov dword [esp], edx
call fcn.00401380
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x4c], 8
mov dword [ebp - 0x10], esi
cmp edi, dword [ecx + 4]
jge 0x411a59
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x64]
lea ebx, [edi + edi*8]
mov eax, dword [ebp - 0xa0]
shl ebx, 4
add ebx, dword [ecx + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0x30]
mov ecx, dword [ebp - 0x9c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [esp + 8], ecx
mov dword [esp], eax
call fcn.00407440
test eax, eax
mov esi, eax
je 0x411c75
mov edx, dword [ebp - 0x10]
lea eax, [edx + 8]
cmp esi, eax
jne 0x411955
mov eax, dword [ebp - 0x4c]
add edi, 1
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x4c], 8
cmp edi, dword [ecx + 4]
jl 0x4119ca
mov eax, dword [ebp - 0x78]
cmp eax, dword [ebp - 0x10]
jne 0x4116bb
mov edx, dword [ebp - 0x70]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
jmp 0x4116bb
mov ecx, dword [ebp - 0xa0]
mov ebx, dword [ecx*4 + 0x417044]
call sub.cygwin1.dll___getreent
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], str.ERR:__in__s_pgc__d___cell__n
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 0x3b
mov dword [esp + 4], 1
mov dword [esp], str.ERR:__Cell_command_can_only_compile_to_one_VM_instruction._n
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_fwrite
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x70]
mov eax, dword [ecx + 4]
test eax, eax
je 0x411655
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x56
mov dword [esp], eax
call fcn.00401380
add dword [ebp - 0x10], 8
jmp 0x411637
mov dword [esp], edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0xf
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xe
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x61
call fcn.00401380
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
add eax, 8
mov dword [esp], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0xf
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x71
call fcn.00401380
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x64]
mov eax, dword [edx + 4]
lea eax, [eax*8 + 0x10]
add dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x28]
mov edx, dword [ebp - 0x10]
test eax, eax
jne 0x411663
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0x30
mov dword [esp], edx
call fcn.00401380
add dword [ebp - 0x10], 8
jmp 0x4116a3
mov edx, dword [ebp - 0x48]
mov eax, ecx
or eax, 0xffffff80
mov byte [edx - 4], al
jmp 0x411908
mov edx, dword [ebp - 0xa0]
mov ebx, dword [ebx]
mov esi, dword [edx*4 + 0x417044]
call sub.cygwin1.dll___getreent
mov ecx, dword [ebp - 0x40]
mov dword [esp + 0x10], ebx
mov dword [esp + 4], str.ERR:__in__s_pgc__d__button__s_n
mov dword [esp + 8], esi
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov esi, 2
mov edx, dword [ebp - 0xa4]
mov ecx, esi
mov eax, dword [edx + 0xc]
sar eax, cl
test al, 1
jne 0x4121ce
add esi, 1
cmp esi, 8
jne 0x411cbc
mov eax, dword [ebp - 0x44]
sub eax, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
add eax, 4
mov dword [esp], eax
call fcn.004013c0
mov eax, dword [ebp - 0x44]
add esp, 0xcc
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x98]
mov dword [esp + 4], edi
add eax, 0xe6
mov dword [esp], eax
call fcn.004013f0
mov edx, dword [ebp - 0x64]
mov ebx, dword [edx]
test ebx, ebx
jle 0x411daa
mov dword [ebp - 0x34], 0
mov esi, 1
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x80], eax
test ecx, ecx
jle 0x411d9c
xor ebx, ebx
mov ecx, dword [ebp - 0x80]
lea eax, [ebx + ebx*4]
shl eax, 3
mov edx, eax
mov dword [ebp - 0xa8], eax
add edx, dword [ecx + 8]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
cmp eax, ecx
je 0x411d91
mov edx, dword [edx + 0x10]
test edx, edx
je 0x411d8c
mov edx, dword [ebp - 0x98]
mov eax, esi
mov byte [edx + edi], al
mov ecx, dword [ebp - 0x80]
add edi, 1
mov eax, dword [ebp - 0xa8]
add eax, dword [ecx + 8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
lea esi, [ecx + esi]
sub esi, eax
mov eax, dword [ebp - 0x80]
add ebx, 1
cmp ebx, dword [eax + 4]
jl 0x411d47
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x34], 1
mov edx, dword [ebp - 0x34]
cmp edx, dword [ecx]
jl 0x411d2f
mov eax, edi
and eax, 1
add eax, edi
mov dword [ebp - 0x68], eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x98]
add eax, 0xe8
mov dword [esp], eax
call fcn.004013f0
mov eax, dword [ebp - 0x64]
mov esi, dword [eax]
test esi, esi
jle 0x412098
mov dword [ebp - 0x3c], 0
mov edi, 1
mov esi, 0xffffffff
mov dword [ebp - 0x7c], 1
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x1c]
mov eax, dword [eax + ecx*4]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x8c], eax
test ebx, ebx
jle 0x412086
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x50]
add eax, dword [edx + 8]
mov ecx, dword [eax + 0x18]
cmp ecx, dword [eax + 0x1c]
mov dword [ebp - 0x88], ecx
jge 0x412066
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x68]
lea eax, [edx + eax + 4]
mov dword [ebp - 0x54], eax
lea esi, [esi]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x5c]
mov eax, dword [edx + 0xc]
mov ecx, dword [ecx]
mov eax, dword [eax + 0xc]
shl eax, 8
add eax, dword [ebp - 0x88]
test ecx, ecx
mov dword [ebp - 0x30], eax
jle 0x411ec7
xor ebx, ebx
test esi, esi
js 0x411ebd
mov eax, dword [ebp - 0x5c]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00401350
test eax, eax
js 0x411ebd
mov edx, dword [ebp - 0x5c]
mov dword [esp + 4], ebx
mov dword [esp], edx
call fcn.00401350
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.0040bad0
mov edx, 1
test eax, eax
cmovne edi, edx
mov ecx, dword [ebp - 0x5c]
add ebx, 1
cmp ebx, dword [ecx]
jl 0x411e73
cmp edi, 1
sbb edx, edx
and edx, 8
lea eax, [esi + 1]
cmp dword [ebp - 0x30], eax
setne al
xor edi, edi
add eax, eax
or eax, edx
mov edx, dword [ebp - 0x54]
mov byte [edx - 4], al
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
mov dword [esp + 4], ecx
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.004014b0
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx + 0xc]
lea eax, [eax + eax*8]
shl eax, 4
add eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x38]
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
add eax, 4
mov dword [esp], eax
call fcn.004013c0
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x8c]
add eax, 1
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], eax
mov eax, dword [edx + 0xc]
mov dword [esp], eax
call fcn.004014b0
mov edx, dword [ebp - 0x50]
mov ecx, eax
mov eax, dword [ebp - 0x8c]
add edx, dword [eax + 8]
mov eax, dword [edx + 0x1c]
sub eax, 1
cmp dword [ebp - 0x88], eax
je 0x412020
mov edx, dword [ebp - 0x8c]
lea esi, [ecx + ecx*8 - 9]
mov ecx, ebx
shl esi, 4
sar ebx, 0x1f
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x18]
mov edx, dword [eax + esi + 0x44]
mov eax, dword [eax + esi + 0x40]
sub eax, ecx
mov ecx, dword [ebp - 0x5c]
sbb edx, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004011b0
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
mov dword [esp], eax
call fcn.004013c0
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + esi]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
add eax, 0xc
mov dword [esp], eax
call fcn.004013c0
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + esi + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x54]
add eax, 0x10
mov dword [esp], eax
call fcn.004013c0
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x50]
add dword [ebp - 0x68], 0x18
add dword [ebp - 0x54], 0x18
mov eax, dword [edx + 8]
mov edx, dword [ebp - 0x2c]
cmp edx, dword [eax + ecx + 0x1c]
jge 0x412063
mov dword [ebp - 0x88], edx
mov esi, dword [ebp - 0x30]
jmp 0x411e50
mov eax, dword [edx + 0x14]
xor edi, edi
test eax, eax
jle 0x412040
mov edx, dword [ebp - 0x54]
mov edi, 1
mov byte [edx - 2], al
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x50]
add edx, dword [eax + 8]
mov edx, dword [edx + 0x20]
test edx, edx
je 0x411f69
movzx edx, byte [ebp - 0x7c]
mov edi, 1
mov eax, dword [ebp - 0x54]
mov byte [eax - 1], dl
add dword [ebp - 0x7c], 1
jmp 0x411f69
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x8c]
add dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x84]
add dword [ebp - 0x50], 0x28
cmp eax, dword [ecx + 4]
jl 0x411e1e
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x3c], 1
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ecx]
jl 0x411df0
mov eax, dword [ebp - 0x98]
mov edi, dword [ebp - 0x68]
add eax, 0xea
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.004013f0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
test eax, eax
jle 0x41185f
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1c]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebx + 4]
test eax, eax
jle 0x412133
mov dword [ebp - 0x90], 0
xor esi, esi
mov eax, esi
add eax, dword [ebx + 8]
mov ecx, dword [eax + 0x18]
cmp dword [eax + 0x1c], ecx
jle 0x41211e
mov edx, dword [ebp - 0x98]
add edx, edi
lea esi, [esi]
mov eax, dword [ebx + 0xc]
add edi, 4
mov eax, dword [eax + 0xc]
mov byte [edx + 3], cl
add ecx, 1
mov byte [edx + 1], al
mov eax, dword [ebx + 8]
add edx, 4
cmp ecx, dword [eax + esi + 0x1c]
jl 0x412100
add dword [ebp - 0x90], 1
add esi, 0x28
mov eax, dword [ebp - 0x90]
cmp eax, dword [ebx + 4]
jl 0x4120e5
mov ecx, dword [ebp - 0x64]
add dword [ebp - 0x28], 1
mov edx, dword [ebp - 0x28]
cmp edx, dword [ecx]
jl 0x4120c6
jmp 0x41185f
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 0x43
mov dword [esp + 4], 1
mov dword [esp], str.ERR:__Can_only_have_128_commands_for_pre__post__and_cell_commands._n
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_fwrite
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov ecx, dword [ebp - 0xa0]
mov ebx, dword [ecx*4 + 0x417044]
call sub.cygwin1.dll___getreent
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], str.ERR:__in__s_pgc__d___post__n
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
jmp 0x411aad
mov eax, dword [ebp - 0xa0]
mov ebx, dword [eax*4 + 0x417044]
call sub.cygwin1.dll___getreent
mov edx, dword [ebp - 0x40]
mov dword [esp + 4], str.ERR:__in__s_pgc__d___pre__n
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
jmp 0x411aad
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x44]
lea eax, [ecx + edx + 0x1c9ec]
sub eax, dword [0x454a40]
cmp eax, dword [0x454a30]
jg 0x4118ab
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x58], 1
mov edi, dword [eax + 8]
test edi, edi
jle 0x412275
mov edx, dword [ebp - 0xa4]
mov ecx, esi
mov ebx, dword [edx + 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x14]
sar eax, cl
test al, 1
jne 0x4123a3
mov edx, 1
shl edx, cl
mov dword [ebp - 0xac], 0
jmp 0x41223e
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebx + ecx*4]
test dword [eax + 0x14], edx
jne 0x41224f
add dword [ebp - 0xac], 1
cmp dword [ebp - 0xac], edi
jl 0x412230
jmp 0x412269
mov edx, ecx
mov edx, dword [ebx + edx*4]
mov eax, 1
mov ecx, esi
shl eax, cl
sub eax, 1
test dword [edx + 0x14], eax
je 0x411cd1
mov eax, dword [ebp - 0xac]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp + 8]
mov eax, esi
mov edx, dword [ebp - 0x94]
or eax, 0xffffff80
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
lea eax, [ecx + edx + 4]
mov dword [esp], eax
call fcn.004013c0
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x9c]
mov edi, dword [ebp + 8]
add edi, dword [ebp - 0x44]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0xa0]
mov dword [esp], ecx
mov ecx, esi
lea eax, [edi + 0xf4]
call fcn.00410ce0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ebx, eax
movzx eax, byte [ebp - 0x58]
mov dword [esp + 8], 4
mov dword [esp + 4], 0x20
mov dword [esp + 0x20], eax
lea eax, [edi + ebx + 0xf4]
mov dword [esp], eax
call fcn.00401380
lea eax, [ebx + 0xfc]
mov edx, ebx
add edx, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x17]
cmovs edx, eax
sar edx, 3
lea eax, [edx - 1]
cmp eax, 0x80
jg 0x41236f
mov byte [edi + 0xed], al
lea eax, [eax*8 + 7]
mov byte [edi + 0xe5], 0xec
mov dword [esp + 4], eax
lea eax, [edi + 0xf2]
mov dword [esp], eax
call fcn.004013f0
mov edx, dword [ebp - 0x24]
add dword [ebp - 0x44], edx
add dword [ebp - 0x94], 8
jmp 0x411cd1
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], 0x6c
mov dword [esp + 4], 1
mov dword [esp], str.ERR:__Too_many_titlesets_titles_menus_etc_for_jumppad_to_handle.__Reduce_complexity_and_or_disable_njumppad._n
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_fwrite
mov dword [esp], 1
call sub.cygwin1.dll_exit
xor edx, edx
mov dword [ebp - 0xac], 0
jmp 0x412251