Function at 0x4143f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
xor ebx, ebx
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov edx, dword [edi + 0xdc]
cmp edx, 2
jg 0x414426
nop
lea esi, [esi]
cmp ebx, 1
jg 0x41442e
mov eax, dword [esi + ebx*4 + 0x7e4]
test eax, eax
jne 0x414497
inc ebx
cmp edx, 2
jle 0x414410
cmp ebx, 0x10b
jle 0x414415
cmp edx, 2
jle 0x414441
mov eax, dword [esi + 0xbf4]
test eax, eax
jne 0x414722
mov ecx, dword [edi + 0xd0]
mov eax, dword [ecx]
mov dword [ecx + 0x410], eax
cmp edx, 2
jle 0x41445e
mov ebx, dword [esi + 0xbf8]
test ebx, ebx
jne 0x414466
mov eax, dword [ecx]
mov dword [ecx + 0x414], eax
mov eax, dword [ecx + 4]
cmp edx, 2
mov dword [esi + 0xb8], eax
jg 0x414579
mov eax, dword [ecx]
mov dword [ecx + 0x428], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 0x430], eax
mov dword [ecx + 0x434], eax
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], eax
lea eax, [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004062a0
test eax, eax
jne 0x4144e0
cmp ebx, 1
jle 0x414557
mov esi, dword [edi]
mov eax, dword [ebx*4 + 0x425240]
mov dword [esi + ebx*4 + 0x7e4], eax
mov eax, dword [esi + ebx*4 + 0x7e4]
test eax, eax
jne 0x414514
mov edx, dword [edi + 0xdc]
inc ebx
jmp 0x414421
mov ecx, dword [edi + 0xd0]
mov eax, dword [ebp - 0x28]
mov dword [ecx + ebx*4], eax
test ebx, ebx
mov esi, dword [edi]
mov eax, ebx
js 0x41450f
mov edx, eax
mov ecx, ebx
sar edx, 5
mov eax, edx
shl eax, 5
sub ecx, eax
mov eax, 1
shl eax, cl
or dword [esi + edx*4 + 0x14], eax
jmp 0x4144d2
lea eax, [ebx + 0x1f]
jmp 0x4144f4
mov dword [esp + 8], eax
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.004062a0
test eax, eax
jne 0x4144e0
cmp ebx, 0x103
je 0x414761
jle 0x41472d
cmp ebx, 0x104
je 0x414761
mov ecx, dword [edi + 0xd0]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
jmp 0x4144e9
test byte [edi + 0x80], 0x20
je 0x4144b7
cmp ebx, 1
mov esi, dword [edi]
sbb eax, eax
and eax, 4
mov eax, dword [eax + 0x425240]
jmp 0x4144c0
mov word [ebp - 0x50], 0xffff
mov eax, dword [ecx + 0x428]
mov ecx, str.White
mov word [ebp - 0x52], 0xffff
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x58]
mov word [ebp - 0x54], 0xffff
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004060f0
mov edx, 1
lea ecx, [ebp - 0x4c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov eax, dword [edi + 0xcc]
mov dword [esp + 4], eax
mov eax, dword [edi + 0x7c]
mov dword [esp], eax
call fcn.00420094
movzx eax, word [ebp - 0x48]
shr eax, 1
mov word [ebp - 0x3c], ax
movzx eax, word [ebp - 0x46]
shr eax, 1
mov word [ebp - 0x3a], ax
movzx eax, word [ebp - 0x44]
shr eax, 1
mov word [ebp - 0x38], ax
mov eax, str.Color_bottomShadow
mov dword [esp + 8], eax
lea eax, [ebp - 0x40]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.004060f0
test eax, eax
je 0x414750
mov ecx, dword [edi + 0xd0]
mov eax, dword [ebp - 0x40]
movzx esi, word [ebp - 0x54]
mov dword [ecx + 0x434], eax
mov ebx, 0xcccccccd
mov ecx, dword [ebp - 0x48]
mov word [ebp - 0x6a], cx
mov eax, esi
mul ebx
shr edx, 2
cmp cx, dx
jae 0x41463e
mov word [ebp - 0x6a], dx
movzx eax, word [ebp - 0x52]
movzx ecx, word [ebp - 0x46]
mov dword [ebp - 0x5c], eax
mul ebx
mov word [ebp - 0x6c], cx
shr edx, 2
cmp cx, dx
jae 0x41465b
mov word [ebp - 0x6c], dx
movzx eax, word [ebp - 0x50]
mov dword [ebp - 0x60], eax
mul ebx
mov ebx, dword [ebp - 0x44]
shr edx, 2
cmp bx, dx
jae 0x414671
mov ebx, edx
movzx edx, word [ebp - 0x6a]
mov eax, 0x66666667
lea ecx, [edx*8]
mov dword [ebp - 0x70], ecx
sub ecx, edx
imul ecx
mov eax, ecx
sar eax, 0x1f
sar edx, 1
sub edx, eax
cmp edx, esi
jle 0x414697
mov edx, esi
mov word [ebp - 0x48], dx
movzx edx, word [ebp - 0x6c]
mov eax, 0x66666667
lea esi, [edx*8]
sub esi, edx
imul esi
mov eax, esi
sar eax, 0x1f
sar edx, 1
sub edx, eax
cmp edx, dword [ebp - 0x5c]
jle 0x4146c0
mov edx, dword [ebp - 0x5c]
mov word [ebp - 0x46], dx
movzx edx, bx
lea ebx, [edx*8]
sub ebx, edx
mov eax, 0x66666667
imul ebx
mov eax, ebx
sar eax, 0x1f
sar edx, 1
sub edx, eax
cmp edx, dword [ebp - 0x60]
jle 0x4146e8
mov edx, dword [ebp - 0x60]
mov word [ebp - 0x44], dx
mov eax, str.Color_topShadow
lea edx, [ebp - 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.004060f0
test eax, eax
jne 0x414771
mov ecx, dword [edi + 0xd0]
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x4c], eax
mov dword [ecx + 0x430], eax
add esp, 0x7c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [edi + 0xd0]
jmp 0x41444f
cmp ebx, 1
ja 0x414549
mov dword [esp], str.aborting
call fcn.00412660
mov dword [esp], 1
call sub.cygwin1.dll_exit
nop
mov ecx, dword [edi + 0xd0]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x40], eax
jmp 0x414618
mov ecx, dword [edi + 0xd0]
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
jmp 0x4144e9
mov ecx, dword [edi + 0xd0]
mov eax, dword [ebp - 0x4c]
jmp 0x414714